]> sourceware.org Git - glibc.git/blame - ChangeLog
tile: add inhibit_loop_to_libcall to string functions
[glibc.git] / ChangeLog
CommitLineData
f627ca82
CM
12014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
2
3 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
4 inhibit_loop_to_libcall to avoid recursive calls.
5 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
6 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
7
7f296942
AZ
82014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
9
10 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
11 prototype.
12
d0276e18
SE
132014-12-11 Steve Ellcey <sellcey@imgtec.com>
14
15 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
16 integer value instead of boolean.
17
fc56e970
SE
182014-12-11 Steve Ellcey <sellcey@imgtec.com>
19
20 * malloc/malloc.c: Fix powerof2 check.
21
40e53917
SL
222014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
23
24 * locale/programs/locfile.h (maybe_swap_uint32):
25 Remove inline and add unused attribute.
26
1ea166df
SL
272014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
28
29 sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
30 Truncating assembler expression to a .long expression.
31
acf869f4
AS
322014-12-11 Andreas Schwab <schwab@suse.de>
33
34 * elf/rtld.c (struct map_args): Constify str member.
35 (do_preload): Constify fname argument.
36
9d969099
AZ
372014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38
39 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
40 constants definition.
41
da5bcaa4
AS
422014-12-11 Andreas Schwab <schwab@suse.de>
43
b0a3c164
AS
44 [BZ #16657]
45 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
46 FORCE_ELISION instead of DO_ELISION.
47 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
48 Remove.
49 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
50 Likewise.
51
da5bcaa4
AS
52 * iconvdata/gconv-modules: Remove duplicate entry.
53
6d248857
WN
542014-12-11 Will Newton <will.newton@linaro.org>
55
56 Merge gettext 0.19.3 into intl/.
57
58 This involves a number of cosmetic changes to comments
59 and ANSI function definitions and prototypes throughout
60 all the files. The gettext copyright header is used but
61 with the date ranges taken from the glibc copy.
62
63 * NEWS: Add gettext merge to 2.21.
64 * intl/bindtextdom.c: Switch to gettext copyright.
65 Use ANSI definitions and prototypes.
66 Use gl_* locking primitives rather than __libc_* ones.
67 Use __builtin_expect rather than __glibc_likely/unlikely.
68 * intl/dcgettext.c: Switch to gettext copyright.
69 Use ANSI definitions and prototypes.
70 * intl/dcigettext.c: Switch to gettext copyright.
71 Use ANSI definitions and prototypes.
72 (INTDIV0_RAISES_SIGFPE): New define.
73 Use gl_* locking primitives rather than __libc_* ones.
74 Include eval-plural.h instead of plural-eval.c.
75 Use __builtin_expect rather than __glibc_likely/unlikely.
76 * intl/dcngettext.c: Switch to gettext copyright.
77 Use ANSI definitions and prototypes.
78 * intl/dgettext.c: Likewise.
79 * intl/dngettext.c: Likewise.
80 * intl/plural-eval.c: Renamed to...
81 * intl/eval-plural.h: ...this.
82 * intl/explodename.c: Switch to gettext copyright.
83 Use ANSI definitions and prototypes.
84 (_nl_explode_name): Use strchr instead of __rawmemchr.
85 * intl/finddomain.c: Switch to gettext copyright.
86 Use ANSI definitions and prototypes.
87 Use gl_* locking primitives rather than __libc_* ones.
88 (_nl_find_domain): Use malloc rather than alloca for
89 allocation of temporary locale name.
90 * intl/gettext.c: Switch to gettext copyright.
91 Use ANSI definitions and prototypes.
92 * intl/gettextP.h: Switch to gettext copyright.
93 Use ANSI definitions and prototypes.
94 Use gl_* locking primitives rather than __libc_* ones.
95 * intl/gmo.h: Switch to gettext copyright.
96 (struct sysdep_string): Move struct segment_pair outside of
97 struct definition.
98 * intl/hash-string.c: Use ANSI definitions and prototypes.
99 * intl/hash-string.h: Switch to gettext copyright.
100 Use ANSI definitions and prototypes.
101 * intl/l10nflist.c: Switch to gettext copyright.
102 Use ANSI definitions and prototypes.
103 (_nl_normalize_codeset): Avoid integer overflow.
104 * intl/loadinfo.h: Switch to gettext copyright.
105 Use ANSI definitions and prototypes.
106 (LIBINTL_DLL_EXPORTED): New define.
107 (PATH_SEPARATOR): New define.
108 * intl/loadmsgcat.c: Switch to gettext copyright.
109 * intl/localealias.c: Switch to gettext copyright.
110 Use ANSI definitions and prototypes.
111 (_nl_expand_alias): Use PATH_SEPARATOR.
112 * intl/ngettext.c: Switch to gettext copyright.
113 Use ANSI definitions and prototypes.
114 * intl/plural-exp.c: Likewise.
115 * intl/plural-exp.h: Switch to gettext copyright.
116 Use ANSI definitions and prototypes.
117 (struct expression): Move definition of enum operator outside
118 of struct definition.
119 * intl/plural.c: Regenerate.
120 * intl/plural.y: Switch to gettext copyright.
121 Use ANSI definitions and prototypes.
122 Port to bison 3.0.
123 * intl/textdomain.c: Switch to gettext copyright.
124 Use ANSI definitions and prototypes.
125 Use gl_* locking primitives rather than __libc_* ones.
126
48c43298
SE
1272014-12-10 Steve Ellcey <sellcey@imgtec.com>
128
129 * debug/warning-nop.c: Add used atrribute.
130
2b89bce9
JM
1312014-12-10 Joseph Myers <joseph@codesourcery.com>
132
c153ac9f
JM
133 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
134
2b89bce9
JM
135 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
136 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
137 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
138
2cfbdb9a
JM
1392014-12-10 Joseph Myers <joseph@codesourcery.com>
140 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
141
142 [BZ #17634]
143 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
144 Undefine after defining function. Define as weak alias of
145 __wcschr. Use libc_hidden_weak.
146 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
147 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
148 (libc_hidden_def): Also define __GI___wcschr alias.
149 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
150 __wcschr and define as weak alias of __wcschr.
151 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
152 __wcschr.
153 [!WCSCHR] (DEFAULT_WCSCHR): Define.
154 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
155 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
156 libc_hidden_weak. Do not use libc_hidden_def.
157 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
158 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
159 __GI___wcschr alias.
160 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
161 [IS_IN (libc)] (wcschr): Define as macro expanding to
162 __redirect_wcschr.
163 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
164 [IS_IN (libc)] (__wcschr_power6): Likewise.
165 [IS_IN (libc)] (__wcschr_power7): Likewise.
166 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
167 instead of wcschr.
168 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
169 __libc_wcschr.
170 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
171 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
172 __wcschr and define as weak alias of __wcschr. Use
173 libc_hidden_builtin_def.
174 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
175 as weak alias of __wcschr. Use libc_hidden_weak.
176 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
177 wcschr.
178 * time/era.c (_nl_init_era_entries): Likewise.
179 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
180 variable.
181 (test-xfail-XPG3/time.h/linknamespace): Likewise.
182 (test-xfail-XPG4/time.h/linknamespace): Likewise.
183
1b8bf351
JM
1842014-12-10 Joseph Myers <joseph@codesourcery.com>
185
186 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
187 format for long int variable.
188
f5f46d51
AK
1892014-12-10 Anders Kaseorg <andersk@MIT.EDU>
190
191 [BZ #10672]
07008f7d 192 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
193 qsort stable.
194
217a74a8
AS
1952014-12-10 Andreas Schwab <schwab@suse.de>
196
197 [BZ #12847]
198 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
199 user-controlled locks.
200
aa76a5c7
RE
2012014-12-10 Richard Earnshaw <rearnsha@arm.com>
202
203 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
204 register.
205
2084e7ca
JM
2062014-12-10 Joseph Myers <joseph@codesourcery.com>
207
a4ecc9eb
JM
208 * configure.ac (--disable-werror): New configure option.
209 (enable_werror): New AC_SUBST.
210 * configure: Regenerated.
211 * config.make.in (enable-werror): New variable.
212 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
213 -Wno-error=undef.
214 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
215 * manual/install.texi (Configuring and compiling): Document
216 --disable-werror.
217 * INSTALL: Regenerated.
218 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
219 (CFLAGS-tst-chk2.c): Likewise.
220 (CFLAGS-tst-chk3.c): Likewise.
221 (CFLAGS-tst-chk4.cc): Likewise.
222 (CFLAGS-tst-chk5.cc): Likewise.
223 (CFLAGS-tst-chk6.cc): Likewise.
224 (CFLAGS-tst-lfschk1.c): Likewise.
225 (CFLAGS-tst-lfschk2.c): Likewise.
226 (CFLAGS-tst-lfschk3.c): Likewise.
227 (CFLAGS-tst-lfschk4.cc): Likewise.
228 (CFLAGS-tst-lfschk5.cc): Likewise.
229 (CFLAGS-tst-lfschk6.cc): Likewise.
230
0f88636c
JM
231 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
232 (main): Disable -Wdeprecated-declarations around calls to
233 register_printf_function.
234
c81e9deb
JM
235 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
236 (do_test): Disable -Wdiv-by-zero around some calls to
237 fwrite_unlocked and fread_unlocked.
238
2084e7ca
JM
239 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
240 (DIAG_POP_NEEDS_COMMENT): Likewise.
241 (_DIAG_STR1): Likewise.
242 (_DIAG_STR): Likewise.
243 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
244 * stdio-common/bug21.c: Include <libc-internal.h>.
245 (do_test): Disable -Wformat around call to sscanf.
246 * stdio-common/scanf14.c: Include <libc-internal.h>.
247 (main): Disable -Wformat around some calls to scanf functions.
248
df7ecc6b
TR
2492014-12-09 Torvald Riegel <triegel@redhat.com>
250
251 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
252
2aa3862e
AZ
2532014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
254
255 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
256 stack variable alignment.
257
c5c2b7c3
JM
2582014-12-06 Joseph Myers <joseph@codesourcery.com>
259
260 [BZ #17682]
261 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
262 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
263 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
264 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
265 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
266 __getrlimit instead of getrlimit.
267 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
268 __gettimeofday instead of gettimeofday.
269 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
270 Likewise.
271 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
272 Likewise.
273 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
274 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
275 Remove variable.
276 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
277 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
278
9752c3cd
AZ
2792014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
280
281 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
282 for wide-character tests.
283
4bee4cd9
RM
2842014-12-04 Roland McGrath <roland@hack.frob.com>
285
286 * io/openat64.c: #include <libc-internal.h>
287 (__openat64): Prototypify. Use ignore_value on MODE.
288 * io/openat.c: Likewise.
289 * misc/reboot.c: #include <libc-internal.h>
290 (reboot): Prototypify. Use ignore_value on HOWTO.
291 * misc/ptrace.c: #include <libc-internal.h>
292 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
293
84dbedb6
JM
2942014-12-04 Joseph Myers <joseph@codesourcery.com>
295
296 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
297 XPG4, UNIX98 and XOPEN2K.
298 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
299 Remove variable.
300 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
301
b7a3e1c4 3022014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 303
af50dfc1 304 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
305 * libio/iofopen.c: Likewise.
306 * libio/wfileops.c: Likewise.
307
fe8b4d98
SP
308 [BZ #17653]
309 * libio/fileops.c (_IO_new_file_underflow): Unset cached
310 offset on EOF.
311 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
312 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
313 (fgets_func): Function pointer to fgets and fgetws.
314 (do_ftell_test): Add test to verify ftell value after read
315 EOF.
316 (do_test): Set fgets_func.
317
61b4f792
SP
318 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
319 O_TRUNC flag for w and w+ modes.
320 (do_rewind_test): Likewise.
321 (do_ftell_test): Likewise.
322 (do_write_test): Likewise.
323
be349d70
SP
324 [BZ #17647]
325 * libio/fileops.c (do_ftell): Seek only when there are
326 unflushed writes.
327 * libio/wfileops.c (do_ftell_wide): Likewise.
328 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
329 test case.
330 (do_one_test): Call it.
331
e3d6dba5
JM
3322014-12-03 Joseph Myers <joseph@codesourcery.com>
333
334 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
335 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
336 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
337 Remove variable.
338 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
339 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
340 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
341
7f994279
JM
3422014-12-02 Joseph Myers <joseph@codesourcery.com>
343
28a91e8f
JM
344 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
345 Remove variable.
346 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
347
7f994279
JM
348 [BZ #17668]
349 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
350 as weak alias of __getifaddrs. Use libc_hidden_weak.
351 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
352 __freeifaddrs. Use libc_hidden_weak.
353 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
354 define as weak alias of __getifaddrs. Use libc_hidden_weak.
355 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
356 __freeifaddrs. Use libc_hidden_weak.
357 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
358 __getifaddrs and define as weak alias of __getifaddrs. Use
359 libc_hidden_weak.
360 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
361 __freeifaddrs. Use libc_hidden_weak.
362 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
363 Remove variable.
364 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
365 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
366
bbe4c142
PJ
3672014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
368
369 [BZ #17601]
370 * sysdeps/mips/start.S (__start): Use indirect jump to call
371 __libc_start_main.
372
66cadc05
JM
3732014-12-02 Joseph Myers <joseph@codesourcery.com>
374
909e16d9
JM
375 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
376
4e0b9016
JM
377 * nptl/tst-mutex1.c: Include <stdbool.h>.
378 [!ATTR] (ATTR_NULL): New macro.
379 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
380 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
381 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
382
b1aff6a4
JM
383 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
384 to char *.
385
266865c0
JM
386 [BZ #17665]
387 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
388 Change conditional to [__USE_MISC].
389
84e5e756
JM
390 [BZ #17664]
391 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
392 fgets_unlocked.
393 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
394 __fgets_unlocked.
395 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
396 fgets_unlocked.
397 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
398 Remove variable.
399 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
400 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
401 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
402 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
403 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
404 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
405 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
406 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
407 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
408
66cadc05
JM
409 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
410
2e8a2de2 4112014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
412
413 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
414 Remove strpbrk objects.
415 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
416 (__libc_ifunc_impl_list): Remove strpbrk implementation.
417 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
418 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
419 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
420 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
421
bb2542e0
AZ
422 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
423 Remove strcspn objects.
424 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
425 (__libc_ifunc_impl_list): Remove strcspn implementation.
426 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
427 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
428 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
429 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
430
431 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
432 Remove strspn objetcs.
433 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
434 (__libc_ifunc_impl_list): Remove strspn implementation.
435 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
436 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
437 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
438 * sysdeps/powerpc/powerpc64/strspn.S: New file.
439
08f1e1d2
JL
4402014-12-01 James Lemke <jwlemke@codesourcery.com>
441
442 [BZ #17581]
443 * malloc/hooks.c
444 (mem2mem_check): Add a terminator to the chain of checking blocks.
445 (malloc_check_get_size): Use it here.
446 (mem2chunk_check): Ditto.
447
a8a7d7d2
RS
4482014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
449
450 * sysdeps/powerpc/powerpc64/strtok.S: New file.
451 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
452
97114a38
CD
4532014-11-29 Carlos O'Donell <carlos@redhat.com>
454
c8dc1727
CD
455 * bits/ioctl-types.h: Indent preprocessor directives correctly.
456
6d03458e
CD
457 * nptl/nptl-init.c: Include libc-internal.h.
458 (__pthread_initialize_minimal_internal): Use ROUND_UP.
459
97114a38
CD
460 * elf/ldconfig.c (search_dir): Expand comment.
461
0e7e69ba
JM
4622014-11-29 Joseph Myers <joseph@codesourcery.com>
463
464 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
465 variable.
466 (linknamespace-symlist-stdlibs-tests): Likewise.
467 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
468 instead of $(objpfx)symlist-stdlibs.
469 (linknamespace-libs-isoc): New variable.
470 (linknamespace-libs): Use $(linknamespace-libs-isoc).
471 (linknamespace-libs-ISO): New variable.
472 (linknamespace-libs-ISO99): Likewise.
473 (linknamespace-libs-ISO11): Likewise.
474 (linknamespace-libs-XPG3): Likewise.
475 (linknamespace-libs-XPG4): Likewise.
476 (linknamespace-libs-POSIX): Likewise.
477 (linknamespace-libs-UNIX98): Likewise.
478 (linknamespace-libs-XOPEN2K): Likewise.
479 (linknamespace-libs-POSIX2008): Likewise.
480 (linknamespace-libs-XOPEN2K8): Likewise.
481 ($(objpfx)symlist-stdlibs): Replace by
482 $(linknamespace-symlist-stdlibs-tests). Use
483 $(linknamespace-libs-$*) as set of libraries.
484 ($(linknamespace-header-tests)): Update dependencies. Use
485 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
486 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
487 * conform/linknamespace.pl: Remove comment about considering
488 definitions of symbols from irrelevant libraries.
489
d8dd0080
L
4902014-11-28 H.J. Lu <hongjiu.lu@intel.com>
491
492 [BZ #13862]
493 * elf/dl-tls.c: Include <atomic.h>.
494 (oom): Remove #ifdef SHARED/#endif.
495 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
496 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
497 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
498 big enough.
499 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
500 * nptl/Makefile (tests): Add tst-stack4.
501 (modules-names): Add tst-stack4mod.
502 ($(objpfx)tst-stack4): New.
503 (tst-stack4mod.sos): Likewise.
504 ($(objpfx)tst-stack4.out): Likewise.
505 ($(tst-stack4mod.sos)): Likewise.
506 (clean): Likewise.
507 * nptl/tst-stack4.c: New file.
508 * nptl/tst-stack4mod.c: Likewise.
509
167da422
B
5102014-11-27 J. Brown <jb999@gmx.de>
511
512 * sysdeps/x86/bits/string.h: Add recent CPUs.
513
9114625b
JM
5142014-11-27 Joseph Myers <joseph@codesourcery.com>
515
6b5189eb
JM
516 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
517 sigblock.
518
49051f8e
JM
519 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
520 feof.
521
9114625b
JM
522 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
523 variable.
524
e7300fef
SL
5252014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
526
527 * nscd/connections.c: Include libc-internal.h because of macro
528 usage ignore_value.
529
1721f0a4
SP
5302014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
531
532 * string/bits/string3.h (__warn_memset_zero_len): Don't
533 declare for gcc newer than 5.0.
534 (memset): Don't test for zero-length __LEN for gcc newer than
535 5.0.
536
be970916
JM
5372014-11-27 Joseph Myers <joseph@codesourcery.com>
538
d88548f4
JM
539 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
540 size_t for %zu format.
541
be970916
JM
542 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
543 difference, not %ju.
544
3b20fd5c
JM
5452014-11-26 Joseph Myers <joseph@codesourcery.com>
546
8915eace
JM
547 * include/libc-internal.h (ignore_value): New macro.
548 * nscd/connections.c (restart): Wrap calls to setuid and setgid
549 with ignore_value.
550
f1a5a0e3
JM
551 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
552 definition.
553
59ef1715
JM
554 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
555 pthread_cleanup_push to void *.
556
a6f3079b
JM
557 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
558 Undefine.
559
706688aa
JM
560 [BZ #16619]
561 [BZ #16740]
562 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
563 instead of 1L << 52.
564
12da14a5
JM
565 * libio/bug-rewind.c (do_test): Check fwscanf return values.
566 * libio/bug-rewind2.c (do_test): Likewise.
567
bd5dadac
JM
568 * debug/test-stpcpy_chk-ifunc.c: Remove file.
569 * debug/test-strcpy_chk-ifunc.c: Likewise.
570 * wcsmbs/test-wcschr-ifunc.c: Likewise.
571 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
572 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
573 * wcsmbs/test-wcslen-ifunc.c: Likewise.
574 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
575 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
576 * Rules [$(multi-arch) = no] (tests): Do not filter out
577 $(tests-ifunc).
578 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
579 * debug/Makefile (tests-ifunc): Remove variable.
580 (tests): Do not add $(tests-ifunc).
581 * wcsmbs/Makefile (tests-ifunc): Remove variable.
582 (tests): Do not add $(tests-ifunc).
583 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
584 [TEST_IFUNC]: Remove conditionals.
585 * string/test-string.h (TEST_IFUNC): Remove macro.
586 [TEST_IFUNC]: Remove conditionals.
587
3b20fd5c
JM
588 * string/test-strchr.c [!WIDE] (L): New macro.
589 [WIDE] (L): Likewise.
590 (check1): Use CHAR instead of char. Use L on string and character
591 constants.
592
704f7947
AZ
5932014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
594
595 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
596 tests.
597 * sysdeps/powerpc/bits/atomic.h
598 (__arch_atomic_exchange_and_add_32_acq): Add definition.
599 (__arch_atomic_exchange_and_add_32_rel): Likewise.
600 (atomic_exchange_and_add_acq): Likewise.
601 (atomic_exchange_and_add_rel): Likewise.
602 * sysdeps/powerpc/powerpc32/bits/atomic.h
603 (__arch_atomic_exchange_and_add_64_acq): Add definition.
604 (__arch_atomic_exchange_and_add_64_rel): Likewise.
605 * sysdeps/powerpc/powerpc64/bits/atomic.h
606 (__arch_atomic_exchange_and_add_64_acq): Add definition.
607 (__arch_atomic_exchange_and_add_64_rel): Likewise.
608
cdcb42d7
TR
6092014-11-26 Torvald Riegel <triegel@redhat.com>
610
611 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
612 Change synchronization of __sched_fifo_min_prio and
613 __sched_fifo_max_prio.
614 * nptl/pthread_mutexattr_getprioceiling.c
615 (pthread_mutexattr_getprioceiling): Likewise.
616 * nptl/pthread_mutexattr_setprioceiling.c
617 (pthread_mutexattr_setprioceiling): Likewise.
618 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
619 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
620 Likewise.
621
c82f5c0c
JM
6222014-11-26 Joseph Myers <joseph@codesourcery.com>
623
624 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
625 void.
626
439e1ad6
JM
6272014-11-25 Joseph Myers <joseph@codesourcery.com>
628
629 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
630 third argument const.
631
b1eda10e
PE
6322014-11-25 Paul Eggert <eggert@cs.ucla.edu>
633
634 fnmatch: work around GCC compiler warning bug with uninit var
635 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
636 This works around a bug with x86-64 GCC 4.9.2 and earlier
637 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
638 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
639 used uninitialized in this function [-Wmaybe-uninitialized]".
640
bde2667a
JM
6412014-11-25 Joseph Myers <joseph@codesourcery.com>
642
643 * posix/bug-regex31.c (main): Return RES not 0.
644
5fbb5691
AB
6452014-11-25 Anton Blanchard <anton@samba.org>
646
647 * sysdeps/powerpc/bits/atomic.h
648 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
649
467fec0b
BM
6502014-11-24 Sterling Augustine <saugustine@google.com>
651
652 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
653
e9ff8efb
RC
6542014-11-24 Ryan Cumming <etaoins@gmail.com>
655
656 [BZ #17608]
657 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
658
9744496f
JM
6592014-11-24 Joseph Myers <joseph@codesourcery.com>
660
661 [BZ #17633]
662 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
663 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
664 variable.
665 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
666 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
667
6423d475
WD
6682014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
669
670 * string/strncpy.c (strncpy): Improve performance by using memset.
671
6722014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
673
674 * string/strcpy.c (strcpy):
675 Improve performance by using strlen and memcpy.
676
5d178c37
LH
6772014-11-24 Leonhard Holz <leonhard.holz@web.de>
678
679 * string/strcoll_l.c (get_next_seq): __always_inline.
680 * string/strcoll_l.c (do_compare): __always_inline.
681
279bc5b3
SP
6822014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
683
7a9ebfa1
SP
684 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
685 defined.
686 * include/mqueue.h: Likewise.
687 * include/stdlib.h: Likewise.
688
4f41c682
SP
689 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
690 (get_null_defines): Adjust.
691 * sunrpc/Makefile: Adjust comment.
692 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
693 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
694 (CFLAGS-interp.c): Likewise.
695 (CFLAGS-ldconfig.c): Likewise.
696 (CPPFLAGS-.os): Likewise.
697 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
698 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
699 * extra-modules.mk (extra-modules.mk): Likewise.
700 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
701 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
702 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
703 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
704 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
705 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
706 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
707 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
708 * iconvdata/Makefile (CPPFLAGS): Likewise.
709 (cpp-srcs-left): Add libof for all iconvdata routines.
710 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
711 * include/assert.h: Likewise.
712 * include/ctype.h: Likewise.
713 * include/errno.h: Likewise.
714 * include/libc-symbols.h: Likewise.
715 * include/math.h: Likewise.
716 * include/netdb.h: Likewise.
717 * include/resolv.h: Likewise.
718 * include/stdio.h: Likewise.
719 * include/stdlib.h: Likewise.
720 * include/string.h: Likewise.
721 * include/sys/stat.h: Likewise.
722 * include/wctype.h: Likewise.
723 * intl/l10nflist.c: Likewise.
724 * libidn/idn-stub.c: Likewise.
725 * libio/libioP.h: Likewise.
726 * nptl/libc_multiple_threads.c: Likewise.
727 * nptl/pthreadP.h: Likewise.
728 * posix/regex_internal.h: Likewise.
729 * resolv/res_hconf.c: Likewise.
730 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
731 * sysdeps/arm/memmove.S: Likewise.
732 * sysdeps/arm/sysdep.h: Likewise.
733 * sysdeps/generic/_itoa.h: Likewise.
734 * sysdeps/generic/symbol-hacks.h: Likewise.
735 * sysdeps/gnu/errlist.awk: Likewise.
736 * sysdeps/gnu/errlist.c: Likewise.
737 * sysdeps/i386/i586/memcpy.S: Likewise.
738 * sysdeps/i386/i586/memset.S: Likewise.
739 * sysdeps/i386/i686/memcpy.S: Likewise.
740 * sysdeps/i386/i686/memmove.S: Likewise.
741 * sysdeps/i386/i686/mempcpy.S: Likewise.
742 * sysdeps/i386/i686/memset.S: Likewise.
743 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
744 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
745 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
746 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
747 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
748 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
749 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
750 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
751 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
752 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
753 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
754 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
755 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
756 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
757 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
758 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
759 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
760 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
761 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
762 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
763 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
764 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
765 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
766 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
767 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
768 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
769 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
770 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
771 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
772 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
773 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
774 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
775 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
776 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
777 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
778 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
779 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
780 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
781 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
782 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
783 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
784 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
785 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
786 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
787 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
788 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
789 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
790 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
791 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
792 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
793 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
794 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
795 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
796 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
797 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
798 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
799 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
800 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
801 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
802 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
803 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
804 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
805 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
806 * sysdeps/nptl/bits/libc-lock.h: Likewise.
807 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
808 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
809 * sysdeps/posix/closedir.c: Likewise.
810 * sysdeps/posix/opendir.c: Likewise.
811 * sysdeps/posix/readdir.c: Likewise.
812 * sysdeps/posix/rewinddir.c: Likewise.
813 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
814 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
815 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
816 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
817 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
818 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
819 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
820 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
821 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
822 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
823 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
824 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
825 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
826 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
827 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
828 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
829 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
830 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
831 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
832 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
833 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
834 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
835 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
836 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
837 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
838 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
839 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
840 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
841 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
842 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
843 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
844 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
845 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
846 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
847 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
848 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
849 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
850 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
851 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
852 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
853 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
854 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
855 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
856 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
857 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
858 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
859 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
860 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
861 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
862 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
863 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
864 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
865 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
866 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
867 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
868 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
869 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
870 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
871 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
872 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
873 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
874 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
875 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
876 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
877 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
878 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
879 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
880 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
881 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
882 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
883 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
884 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
885 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
886 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
887 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
888 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
889 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
890 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
891 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
892 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
893 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
894 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
895 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
896 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
897 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
898 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
899 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
900 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
901 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
902 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
903 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
904 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
905 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
906 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
907 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
908 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
909 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
910 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
911 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
912 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
913 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
914 * sysdeps/unix/alpha/sysdep.S: Likewise.
915 * sysdeps/unix/alpha/sysdep.h: Likewise.
916 * sysdeps/unix/make-syscalls.sh: Likewise.
917 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
918 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
919 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
920 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
921 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
922 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
923 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
924 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
925 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
926 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
927 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
928 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
929 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
930 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
931 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
932 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
933 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
934 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
935 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
936 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
937 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
938 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
939 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
940 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
941 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
942 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
943 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
946 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
947 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
948 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
949 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
950 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
951 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
952 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
953 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
954 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
955 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
956 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
957 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
958 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
959 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
960 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
961 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
962 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
963 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
964 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
965 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
966 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
967 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
968 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
969 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
970 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
971 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
972 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
973 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
974 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
975 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
976 * sysdeps/x86_64/memcpy.S: Likewise.
977 * sysdeps/x86_64/memmove.c: Likewise.
978 * sysdeps/x86_64/memset.S: Likewise.
979 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
980 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
981 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
982 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
983 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
984 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
985 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
986 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
987 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
988 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
989 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
990 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
991 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
992 * sysdeps/x86_64/multiarch/memset.S: Likewise.
993 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
994 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
995 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
996 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
997 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
998 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
999 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
1000 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1001 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1002 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1003 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1004 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1005 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1006 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
1007 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
1008 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1009 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
1010 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1011 * sysdeps/x86_64/strcmp.S: Likewise.
1012
76ca86a5
SP
1013 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
1014
a3848485
SP
1015 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
1016 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
1017 * elf/rtld-Rules: Likewise.
1018 * elf/setup-vdso.h: Likewise.
1019 * include/assert.h: Likewise.
1020 * include/bits/stdlib-float.h: Likewise.
1021 * include/errno.h: Likewise.
1022 * include/sys/stat.h: Likewise.
1023 * include/unistd.h: Likewise.
1024 * sysdeps/aarch64/setjmp.S: Likewise.
1025 * sysdeps/alpha/setjmp.S: Likewise.
1026 * sysdeps/arm/__longjmp.S: Likewise.
1027 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
1028 * sysdeps/arm/setjmp.S: Likewise.
1029 * sysdeps/arm/sysdep.h: Likewise.
1030 * sysdeps/generic/_itoa.h: Likewise.
1031 * sysdeps/generic/dl-sysdep.h: Likewise.
1032 * sysdeps/generic/ldsodefs.h: Likewise.
1033 * sysdeps/i386/dl-tls.h: Likewise.
1034 * sysdeps/i386/setjmp.S: Likewise.
1035 * sysdeps/m68k/setjmp.c: Likewise.
1036 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
1037 * sysdeps/mach/hurd/opendir.c: Likewise.
1038 * sysdeps/posix/getcwd.c: Likewise.
1039 * sysdeps/posix/opendir.c: Likewise.
1040 * sysdeps/posix/profil.c: Likewise.
1041 * sysdeps/powerpc/dl-procinfo.h: Likewise.
1042 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1043 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1044 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1045 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1046 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
1047 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1048 * sysdeps/s390/dl-tls.h: Likewise.
1049 * sysdeps/s390/s390-32/setjmp.S: Likewise.
1050 * sysdeps/s390/s390-64/setjmp.S: Likewise.
1051 * sysdeps/sh/sh3/setjmp.S: Likewise.
1052 * sysdeps/sh/sh4/setjmp.S: Likewise.
1053 * sysdeps/unix/alpha/sysdep.h: Likewise.
1054 * sysdeps/unix/arm/sysdep.S: Likewise.
1055 * sysdeps/unix/i386/sysdep.S: Likewise.
1056 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1057 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1058 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1059 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1060 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1061 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1062 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1063 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1064 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1065 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1066 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1067 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1068 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1071 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1072 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1073 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1074 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1075 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1076 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1077 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1078 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1079 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1080 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1081 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1082 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1083 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1084 * sysdeps/x86_64/setjmp.S: Likewise.
1085
a109996e
SP
1086 * include/math.h: Use IS_IN instead of IS_IN_libm.
1087 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
1088 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1089 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1090 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1091 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1092 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1093 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1094 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1095 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1096 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1097 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
1098 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
1099 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
1100 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
1101 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
1102 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
1103 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
1104 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
1105 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
1106 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
1107 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
1108 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
1109 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
1110 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
1111 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
1112 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1113 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
1114 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
1115 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
1116 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
1117 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
1118 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1119 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1121 Likewise.
1122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
1123 Likewise.
1124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
1125 Likewise.
1126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
1127 Likewise.
1128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
1129 Likewise.
1130 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1131 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1132 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1133 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1134 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1135 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
1141 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1142 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
1143 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1144 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1145 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1146 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1147 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1148 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1149 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1150 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1151 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1152 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1153 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1154 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
1155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1156 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
1157
ce9f10f7
SP
1158 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
1159 * nptl/pthreadP.h: Likewise.
1160 * nptl_db/structs.def: Likewise.
1161 * sysdeps/arm/sysdep.h: Likewise.
1162 * sysdeps/nptl/bits/libc-lock.h: Likewise.
1163 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1164 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
1165 * sysdeps/unix/alpha/sysdep.h: Likewise.
1166 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1167 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1168 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1169 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1170 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1171 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1172 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1173 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1174 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1175 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1176 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1177 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1178 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1179 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1182 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1183 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1184 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1185 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1186 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1187 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1188 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1189 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1190 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
1191 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1192
016afc75
SP
1193 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
1194 * nptl/pthreadP.h: Likewise.
1195 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1196 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1197 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1198 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1199 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1200 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1201 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1202 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1203 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1204 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1205 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1206 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1208 Likewise.
1209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1210 Likewise.
1211 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1212 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1213 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1214 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1215 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1216 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1217 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1218 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1219
9b42a0b3
SP
1220 * dlfcn/dladdr.c: Use IS_IN.
1221 * dlfcn/dladdr1.c: Likewise.
1222 * dlfcn/dlclose.c: Likewise.
1223 * dlfcn/dlerror.c: Likewise.
1224 * dlfcn/dlinfo.c: Likewise.
1225 * dlfcn/dlmopen.c: Likewise.
1226 * dlfcn/dlopen.c: Likewise.
1227 * dlfcn/dlsym.c: Likewise.
1228 * dlfcn/dlvsym.c: Likewise.
1229
85f36372
SP
1230 * include/ifaddrs.h: Use IS_IN.
1231 * inet/check_pf.c: Likewise.
1232 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1233 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
1234
fb6784e3
SP
1235 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
1236 IS_IN_ldconfig.
1237 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
1238 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
1239
2886d2d1
SP
1240 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
1241 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
1242 IS_IN (libc).
1243
9a484857
SP
1244 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
1245
a10178bd
SP
1246 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
1247 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1248 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1249 * include/libc-symbols.h (IS_IN_LIB): New macro.
1250 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
1251 * include/netdb.h: Likewise.
1252 * include/stap-probe.h: Remove all uses of IN_LIB.
1253
279bc5b3
SP
1254 * Makeconfig (module-cppflags-real): Define MODULE_NAME
1255 instead of IN_MODULE.
1256 * include/libc-symbols.h (IN_MODULE): Define using
1257 MODULE_NAME.
1258 (PASTE_NAME, PASTE_NAME1): New macros.
1259 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
1260 of IN_LIB.
1261 (STAP_PROBE_ASM): Likewise.
1262
e0cfa510
ST
12632014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
1264
1265 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
1266 __mach_init in dlopened libc.
1267
34d97d87
MF
12682014-11-22 Mike Frysinger <vapier@gentoo.org>
1269
1270 * sysdeps/arm/preconfigure.ac: Delete EABI check.
1271 * sysdeps/arm/preconfigure: Regenerate.
1272
33cd1f74
RM
12732014-11-21 Roland McGrath <roland@hack.frob.com>
1274
1275 * nptl/pthread_create.c (__pthread_create_2_1): Set
1276 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
1277 when copying values from IATTR into PD.
1278
8c230039
WN
12792014-11-21 Will Newton <will.newton@linaro.org>
1280 Andrew Pinski <andrew.pinski@caviumnetworks.com>
1281
6d3db89b
AP
1282 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
1283 Refactor inline-asm. Also add comment.
1284
01194ba1
WN
1285 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
1286 ElfW macro instead of hardcoded Elf64 types.
1287 (la_aarch64_gnu_pltenter): Likewise.
1288 * sysdeps/aarch64/dl-machine.h
1289 (elf_machine_runtime_setup): Use ElfW(Addr).
1290
8c230039
WN
1291 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
1292 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
1293 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
1294 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
1295 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
1296 (R_AARCH64_TLS_DTPMOD64): Rename to ..
1297 (R_AARCH64_TLS_DTPMOD): This.
1298 (R_AARCH64_TLS_DTPREL64): Rename to ...
1299 (R_AARCH64_TLS_DTPREL): This.
1300 (R_AARCH64_TLS_TPREL64): Rename to ...
1301 (R_AARCH64_TLS_TPREL): This.
1302 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
1303 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
1304 R_AARCH64_TLS_TPREL64.
1305 (elf_machine_rela): Likewise.
1306
0d79fa53
TR
13072014-11-21 Torvald Riegel <triegel@redhat.com>
1308
1309 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
1310 by setting it to 0. 64b atomics are not supported currently.
1311
b59d114b
AO
13122014-11-21 Alexandre Oliva <aoliva@redhat.com>
1313
1314 [BZ #16469]
1315 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
1316 search domain names.
1317
f3d945d5
AO
13182014-11-21 Alexandre Oliva <aoliva@redhat.com>
1319
1320 [BZ #16469]
1321 * NEWS: Update.
1322 * resolv/res_query.c (__libc_res_nquerydomain): Retain
1323 trailing dot.
1324 * posix/tst-getaddrinfo5.c: New.
1325 * posix/Makefile (tests): Add it.
1326
49698902
AO
13272014-11-21 Alexandre Oliva <aoliva@redhat.com>
1328
1329 [BZ #14498]
1330 * NEWS: Fixed.
1331 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
1332 after parsing line but before break_if_match.
1333 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
1334 if there is a protocol mismatch.
1335
81959214
MS
13362014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
1337
1338 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
1339 because the potential race is on the user-supplied stream.
1340
7729e0e9
AO
13412014-11-21 Alexandre Oliva <aoliva@redhat.com>
1342
1343 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
1344 string literal if not passed a buffer.
1345 * manual/job.texi (ctermid): Update reasoning, note deviation
1346 from posix, suggest mtasurace when not passed a buffer, for
1347 future non-preliminary safety notes.
1348
a4ea5e28
AO
13492014-11-21 Alexandre Oliva <aoliva@redhat.com>
1350
1351 * manual/users.texi (cuserid): Fix MT-Safety note for the case
1352 of not passing it a buffer.
1353 Reported by Peng Haitao.
1354
a2b581cb
AO
13552014-11-21 Alexandre Oliva <aoliva@redhat.com>
1356
1357 * manual/Makefile ($(objpfx)stamp-summary): Require
1358 check-safety.sh to pass.
1359 * manual/check-safety.sh: Wish for verification that every
1360 @deftypefn and @deftypefun is followed by a @safety remark.
1361
f214ff74
RM
13622014-11-20 Roland McGrath <roland@hack.frob.com>
1363
7f0dfae0
RM
1364 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
1365
2f531bbb
RM
1366 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
1367 PTHREAD_CANCEL_ASYNCHRONOUS.
1368 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
1369 send SIGCANCEL.
1370
f214ff74
RM
1371 * nptl/default-sched.h: New file.
1372 * sysdeps/unix/sysv/linux/default-sched.h: New file.
1373 * nptl/pthread_create.c: Include it.
1374 (__pthread_create_2_1): Use collect_default_sched instead of making
1375 Linux syscalls here directly.
1376
e37c91d4
TR
13772014-11-20 Torvald Riegel <triegel@redhat.com>
1378
1379 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
1380 __pthread_once): Use C11 atomics.
1381
1eccfecd
TR
13822014-11-20 Torvald Riegel <triegel@redhat.com>
1383
1384 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
1385
ff871426
TR
13862014-11-20 Torvald Riegel <triegel@redhat.com>
1387
1388 * include/atomic.h (__atomic_link_error, __atomic_check_size,
1389 atomic_thread_fence_acquire, atomic_thread_fence_release,
1390 atomic_thread_fence_seq_cst, atomic_load_relaxed,
1391 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
1392 atomic_compare_exchange_weak_relaxed,
1393 atomic_compare_exchange_weak_acquire,
1394 atomic_compare_exchange_weak_release,
1395 atomic_exchange_acquire, atomic_exchange_release,
1396 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
1397 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
1398 atomic_fetch_and_acquire,
1399 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
1400
1ea339b6
TR
14012014-11-20 Torvald Riegel <triegel@redhat.com>
1402
1403 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
1404 USE_ATOMIC_COMPILER_BUILTINS): Define.
1405 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
1406 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1407 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
1408 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1409 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
1410 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1411 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
1412 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1413 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
1414 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1415 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
1416 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1417 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
1418 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1419 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
1420 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1421 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1422 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1423 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1424 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1425 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
1426 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1427 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1428 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1429 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
1430 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1431 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1432 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1433 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
1434 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1435 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
1436 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1437 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
1438 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1439 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1440 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1441 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
1442 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1443 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
1444 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1445
cbd463e2
RM
14462014-11-19 Roland McGrath <roland@hack.frob.com>
1447
d960211f
RM
1448 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
1449 the sched_priority value here. It was already checked when the user
1450 called pthread_attr_setschedparam.
1451
cbd463e2
RM
1452 * nptl/tst-bad-schedattr.c: New file.
1453 * nptl/Makefile (tests): Add it.
1454
a39208bd
CD
14552014-11-19 Carlos O'Donell <carlos@redhat.com>
1456 Florian Weimer <fweimer@redhat.com>
1457 Joseph Myers <joseph@codesourcery.com>
1458 Adam Conrad <adconrad@0c3.net>
1459 Andreas Schwab <schwab@suse.de>
1460 Brooks <bmoses@google.com>
1461
1462 [BZ #17625]
1463 * wordexp-test.c (__dso_handle): Add prototype.
1464 (__register_atfork): Likewise.
1465 (__app_register_atfork): New function.
1466 (registered_forks): New global.
1467 (register_fork): New function.
1468 (test_case): Add 3 new tests for WRDE_CMDSUB.
1469 (main): Call __app_register_atfork.
1470 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
1471 fork count is non-zero fail the test.
1472 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
1473 is set.
1474 (parse_dollars): Remove check for WRDE_NOCMD.
1475 (parse_dquote): Likewise.
1476
9cd47470
SP
14772014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1478
130ac68c
SP
1479 * Makeconfig (built-modules): List non-library modules to be
1480 built.
1481 (module-cppflags): Include libc-modules.h for
1482 everything except shlib-versions.v.i.
1483 (CPPFLAGS): Use it.
1484 (before-compile): Add libc-modules.h.
1485 ($(common-objpfx)libc-modules.h,
1486 $(common-objpfx)libc-modules.stmp): New targets.
1487 (common-generated): Add libc-modules.h and libc-modules.stmp.
1488 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
1489 * include/libc-symbols.h: Don't include libc-modules.h.
1490 * include/libc-modules.h: Remove file.
1491 * scripts/gen-libc-modules.awk: New script to generate
1492 libc-modules.h.
1493 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
1494 Depend on libc-modules.stmp.
1495
286663c3
SP
1496 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
1497
9cd47470
SP
1498 * Makeconfig (in-module): Get value of libof set for the
1499 translation unit.
1500 (CPPFLAGS): Use $(in-module).
1501 * Makerules: Don't suffix routine names for nonlib.
1502 * include/libc-modules.h: New file.
1503 * include/libc-symbols.h: Include libc-modules.h
1504 (IS_IN): New macro to replace IS_IN_* macros.
1505 * elf/Makefile: Set libof-* for each routine.
1506 * elf/rtld-Rules: Likewise.
1507 * extra-modules.mk: Likewise.
1508 * iconv/Makefile: Likewise.
1509 * iconvdata/Makefile: Likewise.
1510 * locale/Makefile: Likewise.
1511 * malloc/Makefile: Likewise.
1512 * nss/Makefile: Likewise.
1513 * sysdeps/gnu/Makefile: Likewise.
1514 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
1515 * sysdeps/unix/sysv/linux/Makefile: Likewise.
1516 * sysdeps/s390/s390-64/Makefile: Likewise.
1517 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
1518 CPPFLAGS for nscd instead of nonlib.
1519
32fed10f
RM
15202014-11-18 Roland McGrath <roland@hack.frob.com>
1521
d71035bd
RM
1522 * nptl/createthread.c: New file.
1523
6540b991
RM
1524 * nptl/createthread.c: Moved ...
1525 * sysdeps/unix/sysv/linux/createthread.c: ... here.
1526
32fed10f
RM
1527 * nptl/createthread.c: Add proper top-line comment.
1528 (do_clone): Folded into ...
1529 (create_thread): ... here. Take new arguments STOPPED_START and
1530 THREAD_RAN. Always set PD->stopped_start to something here. Don't
1531 increment __nptl_threads, do event-reporting logic, do
1532 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
1533 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
1534 resource cleanup if sched_setaffinity or sched_setscheduler fails,
1535 just send SIGCANCEL.
1536 * nptl/pthread_create.c: Forward-declare create_thread before
1537 including createthread.c.
1538 (start_thread): Use new macro START_THREAD_DEFN to replace defining
1539 declaration, and new macro START_THREAD_SELF to replace argument.
1540 Remove return statement.
1541 (report_thread_creation): New function.
1542 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
1543 synchronization logic, and __nptl_nthreads increment here, around
1544 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
1545 PD->parent_cancelhandling here, before create_thread. When
1546 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
1547 __deallocate_stack, and ENOMEM translation here.
1548
107a5bf0
JM
15492014-11-18 Joseph Myers <joseph@codesourcery.com>
1550
1551 [BZ #17616]
1552 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
1553 (mptwo): Rename to __mptwo.
1554 (__inv): Use __mptwo instead of mptwo.
1555 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
1556 (mptwo): Rename to __mptwo.
1557 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
1558 of mpone and __mptwo instead of mptwo.
1559 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
1560 instead of mpone.
1561 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1562 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
1563 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
1564 of mpone and __mptwo instead of mptwo.
1565 (__mpranred): Use __mpone instead of mpone.
1566 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
1567 variable.
1568 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1569 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1570 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1571 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1572 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1573 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1574 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1575 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1576 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1577 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1578 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1579 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1580 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1581 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1582 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1583 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1584 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1585 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1586 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1587
3b679ab3
TV
15882014-11-18 Tom de Vries <tom@codesoucery.com>
1589
1590 * manual/signal.texi (Primitives Interrupted by Signals): In section,
1591 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
1592
15932014-11-17 Richard Henderson <rth@redhat.com>
1594
1595 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
1596 (_FP_PACK_RAW_2): Remove.
1597 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
1598 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
1599 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
1600 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
1601 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
1602 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
1603 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
1604 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
1605 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
1606 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
1607 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
1608 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
1609 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
1610 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
1611 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
1612 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
1613
0781a777
RM
16142014-11-14 Roland McGrath <roland@hack.frob.com>
1615
1616 * signal/signal.h [__USE_MISC]
1617 (struct sigvec): Remove type.
1618 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
1619 (sigvec): Remove declaration.
1620 * sysdeps/posix/sigvec.c: Moved ...
1621 * signal/sigvec.c: ... here, replacing old file.
1622 (struct sigvec): New type, copied from old signal.h definition.
1623 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
1624 (__sigvec): Convert definition to prototype.
1625 (sigvec): Replace weak_alias with compat_symbol.
1626 * signal/Versions (libc: GLIBC_2.21): New version set.
1627 * include/signal.h: Remove __sigvec declaration.
1628 * sysdeps/unix/bsd/sigvec.c: Remove file.
1629 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
1630 * manual/signal.texi (BSD Handler): Remove subsection.
1631 Move siginterrupt up to ...
1632 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
1633 (Blocking in BSD): Fold subsection into its parent.
1634 * NEWS: Mention sigvec removal.
1635
a4733812
JM
16362014-11-14 Joseph Myers <joseph@codesourcery.com>
1637
5ae4fe60
JM
1638 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
1639 (DLA_FMS): Make definition conditional only on [__FMA4__].
1640 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
1641 definition.
1642
6a0dd472
JM
1643 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
1644 Make definition conditional only on [PROF].
1645 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
1646 definition.
1647 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
1648 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
1649
a4733812
JM
1650 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
1651 !__GNUC__].
1652 * include/signal.h (__sigpause): Move declaration above call to
1653 libc_hidden_proto.
1654 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
1655 variable.
1656 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1657 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1658
cf7246dd
DM
16592014-11-14 David S. Miller <davem@davemloft.net>
1660
1661 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
1662 Define before including <string/memcpy.c> and <string/mempcpy.c>.
1663
c1b0aadc
JM
16642014-11-14 Joseph Myers <joseph@codesourcery.com>
1665
4863355a
JM
1666 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
1667 * configure: Regenerated.
1668 * manual/install.texi (Tools for Compilation): Document a
1669 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
1670 compiler verified to work.
1671 * INSTALL: Regenerated.
1672
c1b0aadc
JM
1673 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
1674 redeclare with asm name.
1675 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
1676 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
1677 including <string.h>.
1678 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1679 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1680 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1681 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1682 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1683 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1684 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1685
2a1cfd94
JM
16862014-11-13 Joseph Myers <joseph@codesourcery.com>
1687
bf438382
JM
1688 * stdlib/strtol.c (__strtol): Use prototype definition.
1689
2a1cfd94
JM
1690 [BZ #17594]
1691 * stdlib/strtol.c (SYM__): New macro.
1692 (SYM__1): Likewise.
1693 (__strtol): Likewise.
1694 (strtol): Rename to __strtol and define as weak alias of
1695 __strtol. Use libc_hidden_weak.
1696
20ed0d26
SL
16972014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1698
1699 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
1700 Use numbered labels in inline assembly.
1701
53244a4e
SL
17022014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1703
1704 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
1705 Add setjmp LIBC_PROBE.
1706 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
1707 Likewise.
1708 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
1709 Add longjmp, longjmp_target LIBC_PROBE.
1710 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
1711 Likewise.
1712
47df8251
SL
17132014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1714
1715 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1716 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
1717 to get rid of unused variable warning.
1718
618cebef
SL
17192014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1720
1721 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
1722 Check for unwind_backtrace == NULL only in SHARED case.
1723 (__backchain_backtrace): Compile only in SHARED case.
1724 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
1725 Likewise.
1726 (__backchain_backtrace): Declare as static.
1727
c6aab2cb
RM
17282014-11-12 Roland McGrath <roland@hack.frob.com>
1729
1730 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
1731 (__libc_multiple_threads_ptr): Variable moved ...
1732 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
1733
5a6fa4d7
JM
17342014-11-12 Joseph Myers <joseph@codesourcery.com>
1735
24f4f825
JM
1736 * conform/GlibcConform.pm: New file.
1737 * conform/conformtest.pl: Use GlibcConform module.
1738 * conform/linknamespace.pl: New file.
1739 * conform/list-header-symbols.pl: Likewise.
1740 * conform/Makefile (linknamespace-symlists-base): New variable.
1741 (linknamespace-symlists-tests): Likewise.
1742 (linknamespace-header-base): Likewise.
1743 (linknamespace-header-tests): Likewise.
1744 (tests-special): Add new tests.
1745 ($(linknamespace-symlists-tests)): New rule.
1746 (linknamespace-libs): New variable.
1747 ($(objpfx)symlist-stdlibs): New rule.
1748 ($(linknamespace-header-tests)): Likewise.
1749 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
1750 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
1751 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
1752 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
1753 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
1754 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
1755 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
1756 (test-xfail-ISO/math.h/linknamespace): Likewise.
1757 (test-xfail-ISO/signal.h/linknamespace): Likewise.
1758 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
1759 (test-xfail-ISO/time.h/linknamespace): Likewise.
1760 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1761 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
1762 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1763 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1764 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1765 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1766 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1767 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1768 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1769 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1770 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1771 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1772 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1773 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
1774 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
1775 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1776 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
1777 (test-xfail-XPG3/search.h/linknamespace): Likewise.
1778 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
1779 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1780 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
1781 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1782 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1783 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
1784 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1785 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1786 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
1787 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
1788 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1789 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
1790 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1791 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1792 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1793 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1794 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
1795 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
1796 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
1797 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
1798 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1799 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
1800 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1801 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
1802 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1803 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1804 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1805 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
1806 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
1807 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1808 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1809 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
1810 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1811 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1812 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
1813 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1814 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1815 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1816 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1817 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1818 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1819 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1820 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1821 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1822 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
1823 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1824 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1825 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1826 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
1827 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1828 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1829 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
1830 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1831 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1832 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1833 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1834 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1835 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1836 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
1837 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
1838 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1839 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
1840 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1841 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
1842 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1843 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1844 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1845 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
1846 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1847 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1848 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1849 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
1850 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
1851 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
1852 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1853 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1854 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1855 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1856 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
1857 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
1858 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1859 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1860 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1861 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1862 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1863 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1864 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1865 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1866 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1867 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1868 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
1869 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1870 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1871 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
1872 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1873 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1874 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1875 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1876 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1877 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1878 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1879 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1880 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1881 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1882 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1883 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1884 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1885 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1886 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
1887 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1888 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1889 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1890 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1891 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1892 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
1893 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1894 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1895 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1896 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1897 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1898 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1899 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1900 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1901 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1902 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1903 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1904 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1905 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1906 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
1907 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1908 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1909 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1910
cc67478e
JM
1911 [BZ #17589]
1912 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
1913 of fgets_unlocked.
1914
9975e3d3
JM
1915 [BZ #17585]
1916 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
1917 (memmem): Rename to __memmem and define as weak alias of
1918 __memmem. Use libc_hidden_weak.
1919 (__memmem): Use libc_hidden_def.
1920 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
1921 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
1922 memmem.
1923
c4eae752
JM
1924 [BZ #17582]
1925 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
1926 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
1927 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
1928 and define as weak alias of __fgets_unlocked. Use
1929 libc_hidden_weak.
1930 (__fgets_unlocked): Use libc_hidden_def.
1931 * include/stdio.h (__fgets_unlocked): Declare. Use
1932 libc_hidden_proto.
1933 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
1934 __fgets_unlocked instead of fgets_unlocked.
1935 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
1936 (GET_NPROCS_CONF_PARSER): Likewise.
1937 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
1938 (GET_NPROCS_CONF_PARSER): Likewise.
1939
01cad84e
JM
1940 [BZ #17574]
1941 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
1942 weak alias of __wmemset. Use libc_hidden_weak.
1943 (__wmemset): Use libc_hidden_def.
1944 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
1945 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
1946 of wmemset.
1947
939da411
JM
1948 [BZ #17573]
1949 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
1950 with asm name __mempcpy.
1951 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
1952
293d9a41
JM
1953 [BZ #17572]
1954 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
1955 and define as weak alias of __rawmemchr.
1956 (__rawmemchr): Do not define as strong alias of rawmemchr.
1957
bef8fd60
JM
1958 [BZ #17571]
1959 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
1960 alias of __qsort_r.
1961 (qsort): Call __qsort_r instead of qsort_r.
1962 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
1963 (__qsort_r): Declare. Call libc_hidden_proto.
1964 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
1965 instead of qsort_r.
1966 * nscd/gai.c (__qsort_r): Define to qsort_r.
1967 * posix/tst-rfc3484.c (__qsort_r): Likewise.
1968 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
1969 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
1970
c52ff39e
JM
1971 [BZ #17570]
1972 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
1973 define as weak alias of __malloc_info.
1974
2f5c1b00
JM
1975 [BZ #17584]
1976 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
1977 as weak alias of __rewinddir. Don't use libc_hidden_def.
1978 (__rewinddir): Use libc_hidden_def.
1979 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
1980 as weak alias of __rewinddir. Don't use libc_hidden_def.
1981 (__rewinddir): Use libc_hidden_def.
1982 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
1983 weak alias of __rewinddir. Don't use libc_hidden_def.
1984 (__rewinddir): Use libc_hidden_def.
1985 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
1986 (__rewinddir): Use libc_hidden_proto.
1987 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
1988 rewinddir.
1989 (__getcwd): Use __rewinddir instead of rewinddir.
1990
5a6fa4d7
JM
1991 [BZ #17583]
1992 * libio/fileno.c (fileno): Rename to __fileno and define as weak
1993 alias of __fileno. Use libc_hidden_weak.
1994 (__fileno): Use libc_hidden_def.
1995 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
1996 * libio/ftello.c (ftello): Rename to __ftello and define as weak
1997 alias of __ftello.
1998 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
1999 __ftello.
2000 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
2001 (__fread_unlocked): Define as strong alias of _IO_fread. Use
2002 libc_hidden_def.
2003 (fread_unlocked): Don't use libc_hidden_ver.
2004 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
2005 and define as weak alias of __fread_unlocked. Don't use
2006 libc_hidden_def.
2007 (__fread_unlocked): Use libc_hidden_def.
2008 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
2009 (ftello): Don't use libc_hidden_proto.
2010 (__ftello): Declare. Use libc_hidden_proto.
2011 (fread_unlocked): Don't use libc_hidden_proto.
2012 (__fread_unlocked): Declare. Use libc_hidden_proto.
2013 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
2014 and __ftello instead of fileno, fread_unlocked and ftello.
2015
2581b98e
SP
20162012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2017
2018 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
2019 GOT12.
2020 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2021 Likewise.
2022 (_dl_start_user): Likewise.
2023 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
2024
533bb7c2
SP
20252014-11-12 Carlos O'Donell <carlos@redhat.com>
2026 Siddhesh Poyarekar <siddhesh@redhat.com>
2027
2028 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
2029 Move argv and envp down instead of moving argc up.
2030 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
2031
fffa1cf8
LH
20322014-11-12 Leonhard Holz <leonhard.holz@web.de>
2033
2034 [BZ #17506]
2035 * test-skeleton.c (main): Return successful if one of
2036 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
2037 * string/tst-strcoll-overflow.c: Define expected status.
2038
fb89b46d
TU
20392014-11-12 Tatiana Udalova <t.udalova@samsung.com>
2040
2041 [BZ #17475]
2042 * locale/iso-639.def: Define Bhili and Tulu language codes.
2043
5c40c3ba
AH
20442014-11-11 Alan Hayward <alan.hayward@arm.com>
2045
2046 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
2047
b17fe01b 20482014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
2049
2050 [BZ #17555]
2051 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
2052
bd805071
AS
20532014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2054
2055 * configure.ac: Updated check of minimal required version to
2056 2.22.
2057 * manual/install.texi (Tools for Compilation): Updated version
2058 number.
2059 * configure: Regenerated.
2060 * INSTALL: Likewise.
2061
1400983e
AS
20622014-11-07 Andreas Schwab <schwab@linux-m68k.org>
2063
2064 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
2065 __tls_get_addr.
2066
2c46a66a
JM
20672014-11-07 Joseph Myers <joseph@codesourcery.com>
2068
2069 * include/sys/wait.h (__libc_waitpid): Remove declaration.
2070 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
2071 (__waitpid): Don't define as alias. Use libc_hidden_def not
2072 libc_hidden_weak.
2073 (waitpid): Define as alias of __waitpid.
2074 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
2075 __waitpid.
2076 (__waitpid): Don't define as alias. Use libc_hidden_def not
2077 libc_hidden_weak.
2078 (waitpid): Define as alias of __waitpid.
2079 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
2080 __libc_waitpid alias.
2081 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
2082 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
2083 Likewise.
2084 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
2085 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
2086 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
2087 alias.
2088 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
2089 __waitpid.
2090 (__waitpid): Don't define as alias. Use libc_hidden_def not
2091 libc_hidden_weak.
2092 (waitpid): Define as alias of __waitpid.
2093
da53d6db
CD
20942014-11-06 Carlos O'Donell <carlos@redhat.com>
2095
a2887bdb
CD
2096 * manual/llio.texi: Add comment that write safety has been
2097 fixed in Linux.
2098
da53d6db
CD
2099 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
2100 (localplt-build-dso): Add elf/ld.so.
2101 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
2102 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
2103 and free for ld.so.
2104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
2105 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
2106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
2107 Likewise.
2108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2109 Likewise.
2110 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
2111 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
2112 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
2113 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
2114 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2115 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
2116 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
2117 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
2118 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2119 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
2120 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2121
9cf27b8d
JM
21222014-11-05 Joseph Myers <joseph@codesourcery.com>
2123
2124 [BZ #14132]
2125 * include/libc-symbols.h (INTUSE): Remove macro.
2126 (INTDEF): Likewise.
2127 (INTVARDEF): Likewise.
2128 (_INTVARDEF): Likewise.
2129 (INTDEF2): Likewise.
2130 (INTVARDEF2): Likewise.
2131 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
2132 rtld_hidden_def instead of INTVARDEF.
2133 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
2134 (_dl_starting_up_internal): Remove declaration.
2135 (_dl_starting_up): Use rtld_hidden_proto.
2136 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
2137 declaration.
2138 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
2139 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
2140 _dl_starting_up.
2141 * elf/dl-writev.h (_dl_writev): Likewise.
2142 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
2143 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
2144 _dl_starting_up_internal.
2145
af83568d
AZ
21462014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2147
2148 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2149 test-skeleton.c.
2150
b01ee67c
WN
21512014-11-05 Will Newton <will.newton@linaro.org>
2152
2153 * benchtests/Makefile: (bench-malloc): Add malloc thread
2154 scalability benchmark.
2155 * benchtests/bench-malloc-threads.c: New file.
2156
be9d4ccc
RE
21572014-11-05 Richard Earnshaw <rearnsha@arm.com>
2158
2159 * sysdeps/aarch64/strchrnul.S: New file.
2160
7110166d
AZ
21612014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2162
2163 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
2164 definition.
2165 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2166 Likwise.
2167 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2168 Likewise.
2169 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2170 Likewise.
2171 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2172 Likewise.
2173 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2174 Likewise.
2175
21762014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
2177
2178 * catgets/test-gencat.c: Use test-skeleton.c.
2179 * catgets/tst-catgets.c: Likewise.
2180 * csu/tst-empty.c: Likewise.
2181 * elf/tst-audit2.c: Likewise.
2182 * elf/tst-global1.c: Likewise.
2183 * elf/tst-pathopt.c: Likewise.
2184 * elf/tst-piemod1.c: Likewise.
2185 * elf/tst-tls10.c: Likewise.
2186 * elf/tst-tls11.c: Likewise.
2187 * elf/tst-tls12.c: Likewise.
2188 * gnulib/tst-gcc.c: Likewise.
2189 * iconvdata/tst-e2big.c: Likewise.
2190 * iconvdata/tst-loading.c: Likewise.
2191 * iconv/tst-iconv1.c: Likewise.
2192 * iconv/tst-iconv2.c: Likewise.
2193 * inet/test-inet6_opt.c: Likewise.
2194 * inet/tst-gethnm.c: Likewise.
2195 * inet/tst-network.c: Likewise.
2196 * inet/tst-ntoa.c: Likewise.
2197 * intl/tst-codeset.c: Likewise.
2198 * intl/tst-gettext2.c: Likewise.
2199 * intl/tst-gettext3.c: Likewise.
2200 * intl/tst-ngettext.c: Likewise.
2201 * intl/tst-translit.c: Likewise.
2202 * io/test-stat.c: Likewise.
2203 * libio/test-fmemopen.c: Likewise.
2204 * libio/tst-freopen.c: Likewise.
2205 * libio/tst-sscanf.c: Likewise.
2206 * libio/tst-ungetwc1.c: Likewise.
2207 * libio/tst-ungetwc2.c: Likewise.
2208 * libio/tst-widetext.c: Likewise.
2209 * localedata/tst-ctype.c: Likewise.
2210 * localedata/tst-digits.c: Likewise.
2211 * localedata/tst-leaks.c: Likewise.
2212 * localedata/tst-mbswcs1.c: Likewise.
2213 * localedata/tst-mbswcs2.c: Likewise.
2214 * localedata/tst-mbswcs3.c: Likewise.
2215 * localedata/tst-mbswcs4.c: Likewise.
2216 * localedata/tst-mbswcs5.c: Likewise.
2217 * localedata/tst-setlocale.c: Likewise.
2218 * localedata/tst-trans.c: Likewise.
2219 * localedata/tst-wctype.c: Likewise.
2220 * localedata/tst-xlocale1.c: Likewise.
2221 * login/tst-grantpt.c: Likewise.
2222 * malloc/tst-calloc.c: Likewise.
2223 * malloc/tst-malloc.c: Likewise.
2224 * malloc/tst-mallocstate.c: Likewise.
2225 * malloc/tst-mcheck.c: Likewise.
2226 * malloc/tst-mtrace.c: Likewise.
2227 * malloc/tst-obstack.c: Likewise.
2228 * math/atest-exp2.c: Likewise.
2229 * math/atest-exp.c: Likewise.
2230 * math/atest-sincos.c: Likewise.
2231 * math/test-matherr.c: Likewise.
2232 * math/test-misc.c: Likewise.
2233 * math/test-powl.c: Likewise.
2234 * math/tst-definitions.c: Likewise.
2235 * misc/tst-dirname.c: Likewise.
2236 * misc/tst-efgcvt.c: Likewise.
2237 * misc/tst-fdset.c: Likewise.
2238 * misc/tst-hsearch.c: Likewise.
2239 * misc/tst-mntent2.c: Likewise.
2240 * nptl/tst-sem7.c: Likewise.
2241 * nptl/tst-sem8.c: Likewise.
2242 * nptl/tst-sem9.c: Likewise.
2243 * nss/test-netdb.c: Likewise.
2244 * posix/tst-fnmatch.c: Likewise.
2245 * posix/tst-getlogin.c: Likewise.
2246 * posix/tst-gnuglob.c: Likewise.
2247 * posix/tst-mmap.c: Likewise.
2248 * pwd/tst-getpw.c: Likewise.
2249 * resolv/tst-inet_ntop.c: Likewise.
2250 * rt/tst-timer.c: Likewise.
2251 * stdio-common/test-fseek.c: Likewise.
2252 * stdio-common/test-popen.c: Likewise.
2253 * stdio-common/test-vfprintf.c: Likewise.
2254 * stdio-common/tst-cookie.c: Likewise.
2255 * stdio-common/tst-fileno.c: Likewise.
2256 * stdio-common/tst-gets.c: Likewise.
2257 * stdio-common/tst-obprintf.c: Likewise.
2258 * stdio-common/tst-perror.c: Likewise.
2259 * stdio-common/tst-sprintf2.c: Likewise.
2260 * stdio-common/tst-sprintf3.c: Likewise.
2261 * stdio-common/tst-sprintf.c: Likewise.
2262 * stdio-common/tst-swprintf.c: Likewise.
2263 * stdio-common/tst-tmpnam.c: Likewise.
2264 * stdio-common/tst-unbputc.c: Likewise.
2265 * stdio-common/tst-wc-printf.c: Likewise.
2266 * stdlib/tst-environ.c: Likewise.
2267 * stdlib/tst-fmtmsg.c: Likewise.
2268 * stdlib/tst-limits.c: Likewise.
2269 * stdlib/tst-rand48-2.c: Likewise.
2270 * stdlib/tst-rand48.c: Likewise.
2271 * stdlib/tst-random2.c: Likewise.
2272 * stdlib/tst-random.c: Likewise.
2273 * stdlib/tst-strtol.c: Likewise.
2274 * stdlib/tst-strtoll.c: Likewise.
2275 * stdlib/tst-tls-atexit.c: Likewise.
2276 * stdlib/tst-xpg-basename.c: Likewise.
2277 * string/test-ffs.c: Likewise.
2278 * string/tst-bswap.c: Likewise.
2279 * string/tst-inlcall.c: Likewise.
2280 * string/tst-strtok.c: Likewise.
2281 * string/tst-strxfrm.c: Likewise.
2282 * sysdeps/x86_64/tst-audit10.c: Likewise.
2283 * sysdeps/x86_64/tst-audit3.c: Likewise.
2284 * sysdeps/x86_64/tst-audit4.c: Likewise.
2285 * sysdeps/x86_64/tst-audit5.c: Likewise.
2286 * time/tst-ftime_l.c: Likewise.
2287 * time/tst-getdate.c: Likewise.
2288 * time/tst-mktime3.c: Likewise.
2289 * time/tst-mktime.c: Likewise.
2290 * time/tst-posixtz.c: Likewise.
2291 * time/tst-strptime2.c: Likewise.
2292 * time/tst-strptime3.c: Likewise.
2293 * wcsmbs/tst-btowc.c: Likewise.
2294 * wcsmbs/tst-mbrtowc.c: Likewise.
2295 * wcsmbs/tst-mbsrtowcs.c: Likewise.
2296 * wcsmbs/tst-wchar-h.c: Likewise.
2297 * wcsmbs/tst-wcpncpy.c: Likewise.
2298 * wcsmbs/tst-wcrtomb.c: Likewise.
2299 * wcsmbs/tst-wcsnlen.c: Likewise.
2300 * wcsmbs/tst-wcstof.c: Likewise.
2301
2004e7fb
JM
23022014-11-04 Joseph Myers <joseph@codesourcery.com>
2303
ab97ee8f
JM
2304 [BZ #14132]
2305 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
2306 INTDEF.
2307 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
2308 declaration.
2309 (_dl_mcount): Use rtld_hidden_proto.
2310 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
2311 _dl_mcount.
2312 * elf/rtld.c (_rtld_global_ro): Likewise.
2313
c5684fdb
JM
2314 [BZ #14132]
2315 * elf/dl-init.c (_dl_init): Don't use INTDEF.
2316 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
2317 of _dl_init_internal.
2318 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
2319 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
2320 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
2321 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
2322 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
2323 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
2324 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
2325 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
2326 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
2327 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
2328 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
2329 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
2330 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2331 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2332 * sysdeps/tile/dl-start.S (_start): Likewise.
2333 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
2334 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
2335
4243cbea
JM
2336 [BZ #14132]
2337 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
2338 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
2339 (rtld_progname): Make macro definition unconditional.
2340 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
2341 INTDEF.
2342 (dlmopen_doit): Do not use INTUSE with _dl_argv.
2343 (dl_main): Likewise.
2344 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2345 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
2346 instead of _dl_argv_internal.
2347 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2348 __GI__dl_argv instead of INTUSE(_dl_argv).
2349 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
2350 __GI__dl_argv instead of _dl_argv_internal.
2351
2004e7fb
JM
2352 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
2353 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
2354 macro.
2355 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
2356 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
2357 New macro.
2358 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
2359 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
2360 macro.
2361 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
2362 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
2363
97827bfc
AS
23642014-11-04 Andreas Schwab <schwab@suse.de>
2365
2366 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
2367
5e4df284
AZ
23682014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2369
2370 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
2371 mtvsrd instruction in binary form.
2372
04b76b5a
AS
23732014-11-03 Andreas Schwab <schwab@suse.de>
2374
2375 [BZ #17522]
2376 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
2377 for less than MB_LEN_MAX use a local buffer of that size.
2378 * libio/tst-fputws.c: New file.
2379 * libio/Makefile (tests): Add tst-fputws.
2380
4c6da7da
JM
23812014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
2382
2383 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
2384 the size of the fpu_fr.fpu_dregs[] array.
2385
1679ba8e
JM
23862014-11-01 Joseph Myers <joseph@codesourcery.com>
2387
2388 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
2389 (__nanosleep): Do not define as alias.
2390 (nanosleep): Define as alias of __nanosleep.
2391 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
2392 __libc_nanosleep name.
2393
2626c183
JM
23942014-10-31 Joseph Myers <joseph@codesourcery.com>
2395
2396 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
2397 install.texi in comment.
2398
7f981fc2
TR
23992014-10-31 Torvald Riegel <triegel@redhat.com>
2400
2401 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
2402 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
2403 ... add here and use lwsync or sync ...
2404 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
2405 ... and add here using lwsync.
2406
d6f373d2
MF
24072014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
2408
2409 * elf/dl-machine-reject-phdr.h: New file.
2410 * elf/dl-load.c: #include that.
2411 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
2412 if that returned true.
2413
67c37987
RM
24142014-10-31 Roland McGrath <roland@hack.frob.com>
2415
2416 [BZ #17496]
2417 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
2418 gen-as-const-headers chunk. Add a big scare comment after the last
2419 safe place to touch before-compile.
2420
94a42455 24212014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 2422
f3f5d895
JM
2423 * manual/install.texi (Tools for Compilation): Update autoconf
2424 version requirements.
2425 * INSTALL: Regenerated.
2426
f62ff286
JM
2427 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
2428 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
2429 (__libc_pselect): Likewise.
94a42455
JM
2430
2431 [BZ #14138]
2432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
2433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2436
ff9dbdc0
TR
24372014-10-31 Torvald Riegel <triegel@redhat.com>
2438
2439 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
2440 correct barrier instruction.
2441 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
2442 Likewise.
2443 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
2444 Likewise.
2445
b4f66884
RM
24462014-10-30 Roland McGrath <roland@hack.frob.com>
2447
2448 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
2449 after defining inlines. Instead, just use parens to defeat macro
2450 expansion of __isctype in its declaration.
2451
e19c95fd
JM
24522014-10-30 Joseph Myers <joseph@codesourcery.com>
2453
2454 * include/sys/uio.h (__libc_readv): Remove declaration.
2455 (__libc_writev): Likewise.
2456 * misc/readv.c (__libc_readv): Rename to __readv.
2457 (__readv): Do not define as alias.
2458 (readv): Define as alias of __readv.
2459 * misc/writev.c (__libc_writev): Rename to __writev.
2460 (__writev): Do not define as alias.
2461 (writev): Define as alias of __writev.
2462 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
2463 (__readv): Do not define as alias.
2464 (readv): Define unconditionally as alias of __readv.
2465 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
2466 (__writev): Do not define as alias.
2467 (writev): Define unconditionally as alias of __writev.
2468 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
2469 name.
2470 (writev): Do not define __libc_writev name.
2471
65b00b6c
RM
24722014-10-30 Roland McGrath <roland@hack.frob.com>
2473
2474 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
2475 (convert_charseq): New function, broken out of ...
2476 (use_from_charmap): ... here. Call it.
2477 (use_to_charmap): Use convert_charseq and free instead of duplicating
2478 its code with a variable-length stack struct.
2479
d4e157aa
JM
24802014-10-30 Joseph Myers <joseph@codesourcery.com>
2481
2482 * include/fcntl.h (__libc_creat): Remove declaration.
2483 * io/creat.c (__libc_creat): Rename to creat.
2484 (creat): Do not define as alias.
2485 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
2486 of creat instead of __libc_creat.
2487 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
2488 to creat.
2489 (creat): Do not define as alias.
2490 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
2491 __libc_creat.
2492 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
2493 __libc_creat name.
2494 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
2495 Likewise.
2496
0c6891a0
CD
24972014-10-29 Carlos O'Donell <carlos@redhat.com>
2498
2499 * manual/llio.texi: Add comments discussing why write() may be
2500 considered MT-unsafe on Linux.
2501
cc00cece
CD
25022014-10-28 Carlos O'Donell <carlos@redhat.com>
2503
2504 * dl-load.c (local_strdup): Remove.
2505 (expand_dynamic_string_token): Use __strdup.
2506 (decompose_rpath): Likewise.
2507 (_dl_map_object): Likewise.
2508
51e623f2
JM
25092014-10-28 Joseph Myers <joseph@codesourcery.com>
2510
2511 [BZ #14132]
2512 * sysdeps/generic/unwind-dw2-fde.c
2513 (__register_frame_info_bases_internal): Do not declare.
2514 (__register_frame_info_table_bases_internal): Likewise.
2515 (__deregister_frame_info_bases_internal): Likewise.
2516 (__register_frame_info_bases): Declare and use hidden_proto before
2517 definition. Use hidden_def instead of INTDEF.
2518 (__register_frame_info_table_bases): Likewise.
2519 (__deregister_frame_info_bases): Likewise.
2520 (__register_frame_info): Do not use INTUSE.
2521 (__register_frame): Likewise.
2522 (__register_frame_info_table): Likewise.
2523 (__register_frame_table): Likewise.
2524 (__deregister_frame_info): Likewise.
2525 (__deregister_frame): Likewise.
2526
03d41216
GC
25272014-10-27 Gratian Crisan <gratian.crisan@ni.com>
2528
2529 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2530 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
2531 not undefine.
2532 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
2533 Likewise.
2534 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
2535 Likewise.
2536
a4b3624d
JM
25372014-10-27 Joseph Myers <joseph@codesourcery.com>
2538
2539 [BZ #14138]
2540 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
2541 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
2542 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
2543 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
2544 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
2545 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
2546 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
2547 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
2548 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
2549 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
2550 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
2551 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
2552 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
2553 syscall.
2554 (setfsuid): Likewise.
2555 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
2556 (setfsuid): Likewise.
2557 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
2558 (setfsuid): Likewise.
2559 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
2560 Likewise.
2561 (setfsuid): Likewise.
2562 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
2563 (setfsuid): Likewise.
2564 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
2565 Likewise.
2566 (setfsuid): Likewise.
2567
3574f2fd
AS
25682014-10-27 Andreas Schwab <schwab@suse.de>
2569
2570 [BZ #17501]
2571 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
2572 check for Slow_SSE4_2 feature bit.
2573 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
2574 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2575 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
2576 Likewise. Fix check for Fast_Unaligned_Load feature bit.
2577
70996a37
RM
25782014-10-24 Roland McGrath <roland@hack.frob.com>
2579
461a7b1e
RM
2580 * configure.ac: Validate compiler version with a empirical test of
2581 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
2582 $CC -v output.
2583 * configure: Regenerated.
2584
70996a37
RM
2585 * inet/htons.c (htons): Prototypify.
2586 * inet/htonl.c (htonl): Likewise.
2587
e80514b5
WD
25882014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2589
2590 * string/strncat.c (strncat): Improve performance by using strlen.
2591
6e46de42
WD
25922014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2593
2594 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
2595
6a9ad2fa
WD
25962014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2597
2598 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
2599 Call libc_fetestexcept_aarch64.
2600
1c8810ed
WD
26012014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2602
2603 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
2604 Call libc_feholdexcept_aarch64.
2605
8b1af712
WD
26062014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2607
2608 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
2609 Call get_rounding_mode.
2610
a7b00c11
WD
26112014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2612
2613 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2614 Simplify logic.
2615
3a84f1a6
WD
26162014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2617
2618 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
2619 Simplify logic.
2620
48eb7a94
JM
26212014-10-24 Joseph Myers <joseph@codesourcery.com>
2622
c8bc4038
JM
2623 [BZ #14138]
2624 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
2625 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
2626 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
2627 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
2628 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
2629 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
2630 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
2631 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
2632 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
2633 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
2634 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2635 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
2636 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
2637 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
2638 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
2639 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
2640 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
2641 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
2642 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
2643 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
2644 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
2645 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
2646 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
2647 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
2648 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
2649 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
2650 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
2651 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
2652 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
2653 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
2654 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
2655 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
2656 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
2657 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
2658 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
2659 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
2660 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
2661 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
2662 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
2663 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
2664 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
2665 syscall.
2666 (geteuid): Likewise.
2667 (getgid): Likewise.
2668 (getuid): Likewise.
2669 (getresgid): Likewise.
2670 (getresuid): Likewise.
2671 (getgroups): Likewise.
2672 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
2673 (geteuid): Likewise.
2674 (getgid): Likewise.
2675 (getuid): Likewise.
2676 (getresgid): Likewise.
2677 (getresuid): Likewise.
2678 (getgroups): Likewise.
2679 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
2680 (geteuid): Likewise.
2681 (getgid): Likewise.
2682 (getuid): Likewise.
2683 (getresgid): Likewise.
2684 (getresuid): Likewise.
2685 (getgroups): Likewise.
2686 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
2687 Likewise.
2688 (geteuid): Likewise.
2689 (getgid): Likewise.
2690 (getuid): Likewise.
2691 (getresgid): Likewise.
2692 (getresuid): Likewise.
2693 (getgroups): Likewise.
2694 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
2695 (geteuid): Likewise.
2696 (getgid): Likewise.
2697 (getuid): Likewise.
2698 (getresgid): Likewise.
2699 (getresuid): Likewise.
2700 (getgroups): Likewise.
2701 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
2702 Likewise.
2703 (geteuid): Likewise.
2704 (getgid): Likewise.
2705 (getuid): Likewise.
2706 (getgroups): Likewise.
2707
48eb7a94
JM
2708 [BZ #14138]
2709 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
2710 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
2711 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
2712 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2713 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
2714 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
2715 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
2716 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
2717 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
2718 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
2719 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
2720 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
2721 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
2722 __chown.
2723 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
2724 (lchown): Likewise.
2725 (fchown): Likewise.
2726 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
2727 Likewise.
2728 (lchown): Likewise.
2729 (fchown): Likewise.
2730 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
2731 (lchown): Likewise.
2732 (fchown): Likewise.
2733 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
2734 Likewise.
2735 (lchown): Likewise.
2736 (fchown): Likewise.
2737
ea9a7c8b
WD
27382014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2739
2740 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
2741 Simplify logic.
2742
e226de33
WD
27432014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2744
2745 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2746 Cleanup logic.
2747
6e3d8ed3
WD
27482014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2749
2750 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2751 Remove unused include.
2752
eb04247d
WD
27532014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2754
2755 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
2756 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
2757 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
2758 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
2759
13d84554
CD
27602014-10-23 Carlos O'Donell <carlos@systemhalted.org>
2761 Helge Deller <deller@gmx.de>
2762
2763 [BZ #17508]
2764 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
2765 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
2766 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
2767
15f9c5df
JM
27682014-10-23 Joseph Myers <joseph@codesourcery.com>
2769
2770 [BZ #14132]
2771 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
2772 Remove macro definition.
2773 (__ashrdi3_v_glibc20): Likewise.
2774 (__lshrdi3_v_glibc20): Likewise.
2775 (__cmpdi2_v_glibc20): Likewise.
2776 (__ucmpdi2_v_glibc20): Likewise.
2777 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
2778 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2779 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2780 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2781 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2782 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
2783
c6dfed24
RM
27842014-10-22 Roland McGrath <roland@hack.frob.com>
2785
2786 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
2787 old GNU extension [0] syntax.
2788 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
2789 alloca rather than an array member with variable length.
2790 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2791 * nscd/nscd.c (invalidate_db): New function, broken out of ...
2792 (parse_opt): ... here. Likewise use alloca there.
2793 Validate the -i argument before checking for rootness.
2794 (send_shutdown): New function, broken out of ...
2795 (parse_opt): ... here.
2796
8c2b1ed8
RM
27972014-10-22 Roland McGrath <roland@hack.frob.com>
2798
2799 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
2800 macro to get at the _rt_local_ro field.
2801 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
2802 ([PIC] case) or _dl_hwcap ([!PIC] case).
2803 * sysdeps/arm/setjmp.S: Likewise.
2804
2805 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
2806 * sysdeps/arm/configure.ac: New check to define it.
2807 * sysdeps/arm/configure: Regenerated.
2808 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
2809 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
2810 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
2811 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
2812 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
2813 Use move/movt pair instead of a load.
2814 (LDST_GLOBAL): Macro removed.
2815 (LDR_GLOBAL): New macro replaces it.
2816 (LDR_HIDDEN): New macro.
2817 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
2818 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
2819
2820 * setjmp/tst-setjmp-static.c: New file.
2821 * setjmp/Makefile (tests): Add it.
2822 (tests-static): New variable.
2823
b5af9297
MR
28242014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
2825
2826 [BZ #17485]
2827 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
2828
a13d0d74
JM
28292014-10-21 Joseph Myers <joseph@codesourcery.com>
2830
2831 [BZ #14132]
2832 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
2833
f05e73f6
RM
28342014-10-21 Roland McGrath <roland@hack.frob.com>
2835
2836 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
2837
6ab1d1ea
RM
28382014-10-20 Roland McGrath <roland@hack.frob.com>
2839
2840 * io/fts.c (dirent_not_directory): New function.
2841 (fts_build): Call it.
2842
ab49e763
RM
28432014-10-20 Roland McGrath <roland@hack.frob.com>
2844
e436eb79
RM
2845 * nptl/version.c (__nptl_main): Use normal __write rather than
2846 INTERNAL_SYSCALL.
2847 (banner): Update copyright years.
2848
6af246cf
RM
2849 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
2850 gettimeofday.
2851 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2852 * nptl/pthread_cond_timedwait.c: Likewise.
2853 * nptl/pthread_mutex_timedlock.c: Likewise.
2854 * nptl/sem_timedwait.c: Likewise.
2855
ab49e763
RM
2856 * sysdeps/nptl/bits/libc-lock.h
2857 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2858 (__libc_lock_init_recursive): Return void, not 0.
2859 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
2860 (__libc_rwlock_init): Likewise.
2861 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
2862
f50277c1
TR
28632014-10-20 Torvald Riegel <triegel@redhat.com>
2864
2865 [BZ #15215]
2866 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
2867 (__pthread_once_slow): ... here.
2868 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
2869 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
2870
63668b70
TR
28712014-10-20 Torvald Riegel <triegel@redhat.com>
2872
2873 [BZ #15215]
2874 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
2875 __PTHREAD_ONCE_FORK_GEN_INCR): New.
2876 * sysdeps/nptl/fork.c (__libc_fork): Use them.
2877 * nptl/pthread_once.c (__pthread_once): Likewise.
2878 Update comments.
2879
42b7f5d4
JM
28802014-10-20 Joseph Myers <joseph@codesourcery.com>
2881
2882 [BZ #14138]
2883 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
2884 name.
2885 (writev): Use __libc_writev as strong name.
2886 * sysdeps/unix/sysv/linux/readv.c: Remove file.
2887 * sysdeps/unix/sysv/linux/writev.c: Likewise.
2888
b0643088
RM
28892014-10-17 Roland McGrath <roland@hack.frob.com>
2890
114c4e09
RM
2891 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
2892
674b8978
RM
2893 * sysdeps/i386/nptl/tls.h
2894 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
2895 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
2896 New macros.
2897 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
2898 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
2899 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
2900 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
2901 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
2902 Call CHECK_THREAD_SYSINFO instead of doing an assert.
2903
184ee940
RM
2904 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2905 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
2906 on [__NR_futex].
2907 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
2908 broken out of ...
2909 (__pthread_mutex_init): ... here. Call it.
2910 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
2911 Conditionalize PI cases on [__NR_futex].
2912 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2913 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
2914 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2915
327ae257
RM
2916 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
2917 conditional on [SIGSETXID].
2918 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
2919 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
2920 is defined. Likewise for SIGSETXID.
2921 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
2922 Conditionalize definitions on [SIGSETXID].
2923 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
2924 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
2925 unblocking on [SIGCANCEL].
2926
b0643088
RM
2927 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
2928 [__NR_set_robust_list].
2929
33cc770b
SP
29302014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2931
2932 * string/strcoll_l.c (get_next_seq): Fix up formatting.
2933 (do_compare): Likewise.
2934
0742aef6
LH
29352014-10-17 Leonhard Holz <leonhard.holz@web.de>
2936
2937 [BZ #15884]
2938 * string/strcoll_l.c: Don't include stdio.h.
2939 (coll_seq): Remove members idxarr and rulearr.
2940 (get_next_seq_cached): Remove function.
2941 (get_next_seq): Likewise.
2942 (get_next_seq_nocache): Rename to get_next_seq.
2943 (do_compare): Remove function.
2944 (do_compare_nocache): Rename to do_compare.
2945 (STRCOLL): Remove weight and rules cache.
2946
ee54ce44
RM
29472014-10-16 Roland McGrath <roland@hack.frob.com>
2948
2949 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
2950 * sysdeps/arm/sfp-machine.h: ... to here.
2951 * sysdeps/arm/Implies: Remove arm/soft-fp.
2952
a75d3b02
JM
29532014-10-14 Joseph Myers <joseph@codesourcery.com>
2954
2955 * conform/data/sys/utsname.h-data (*_t): Allow.
2956 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
2957 [POSIX] (WEXITED): Do not expect constant.
2958 [POSIX] (WSTOPPED): Likewise.
2959 [POSIX] (WNOHANG): Likewise.
2960 [POSIX] (WNOWAIT): Likewise.
2961 [POSIX] (siginfo_t): Do not expect type or elements.
2962 [POSIX] (pid_t): Do not expect type.
2963 [POSIX] (signal.h): Do not allow header.
2964 [POSIX] (sys/resource.h): Likewise.
2965 [POSIX] (si_*): Do not allow pattern.
2966 [POSIX] (W*): Likewise.
2967 [POSIX] (P_*): Likewise.
2968 [POSIX] (BUS_*): Likewise.
2969 [POSIX] (CLD_*): Likewise.
2970 [POSIX] (FPE_*): Likewise.
2971 [POSIX] (ILL_*): Likewise.
2972 [POSIX] (POLL_*): Likewise.
2973 [POSIX] (SEGV_*): Likewise.
2974 [POSIX] (SI_*): Likewise.
2975 [POSIX] (TRAP_*): Likewise.
2976 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
2977 variable.
2978
fda389c8
SP
29792014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2980
2981 [BZ #12926]
2982 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
2983 infinite loop when __recvmsg returns 0.
2984
6bc6bd3b
JM
29852014-10-10 Joseph Myers <joseph@codesourcery.com>
2986
fcb32af1
JM
2987 * CANCEL-FCT-WAIVE: Remove file.
2988 * CANCEL-FILE-WAIVE: Likewise.
2989
6bc6bd3b
JM
2990 [BZ #14132]
2991 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
2992 instead of INTVARDEF.
2993 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2994 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
2995 rtld_hidden_data_def instead of INTVARDEF.
2996 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2997 * elf/dl-deps.c (expand_dst): Likewise.
2998 * elf/dl-load.c (_dl_dst_count): Likewise.
2999 (_dl_dst_substitute): Likewise.
3000 (decompose_rpath): Likewise.
3001 (_dl_init_paths): Likewise.
3002 (open_path): Likewise.
3003 (_dl_map_object): Likewise.
3004 * elf/rtld.c (dl_main): Likewise.
3005 (process_dl_audit): Likewise.
3006 (process_envvars): Likewise.
3007 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
3008 Remove declaration.
3009 (__libc_enable_secure): Use rtld_hidden_proto.
3010
b8c80a7e
KS
30112014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3012
3013 * elf/dl-load.c
3014 (add_path): New function broken out of _dl_rtld_di_serinfo.
3015 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
3016
ff12c11f
JM
30172014-10-09 Joseph Myers <joseph@codesourcery.com>
3018
5c0508a3
JM
3019 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
3020 parentheses around macro arguments.
3021 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
3022 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
3023 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
3024 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
3025 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
3026 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3027 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3028 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
3029 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
3030 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
3031 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
3032 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
3033 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
3034 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
3035 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
3036 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
3037 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
3038 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
3039 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
3040 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
3041 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
3042 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
3043 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
3044 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3045 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3046 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
3047 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
3048 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
3049 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
3050 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
3051 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
3052 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
3053 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
3054 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
3055 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
3056 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
3057 Likewise.
3058 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
3059 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3060 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3061 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
3062 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
3063 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
3064 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
3065 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
3066 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
3067 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
3068 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
3069 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
3070 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
3071 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
3072 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
3073 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3074 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3075 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
3076 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
3077 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
3078 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
3079 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
3080 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
3081 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
3082 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
3083 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
3084 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
3085 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
3086 (_FP_FRAC_SRS_1): Likewise.
3087 (_FP_FRAC_CLZ_1): Likewise.
3088 (_FP_MUL_MEAT_1_imm): Likewise.
3089 (_FP_MUL_MEAT_1_wide): Likewise.
3090 (_FP_MUL_MEAT_1_hard): Likewise.
3091 (_FP_SQRT_MEAT_1): Likewise.
3092 (_FP_FRAC_ASSEMBLE_1): Likewise.
3093 (_FP_FRAC_DISASSEMBLE_1): Likewise.
3094 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
3095 (__FP_CLZ_2): Likewise.
3096 (_FP_MUL_MEAT_2_wide): Likewise.
3097 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3098 (_FP_MUL_MEAT_2_gmp): Likewise.
3099 (_FP_MUL_MEAT_2_120_240_double): Likewise.
3100 (_FP_SQRT_MEAT_2): Likewise.
3101 (_FP_FRAC_ASSEMBLE_2): Likewise.
3102 (_FP_FRAC_DISASSEMBLE_2): Likewise.
3103 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
3104 (_FP_FRAC_CLZ_4): Likewise.
3105 (_FP_MUL_MEAT_4_wide): Likewise.
3106 (_FP_MUL_MEAT_4_gmp): Likewise.
3107 (_FP_SQRT_MEAT_4): Likewise.
3108 (_FP_FRAC_ASSEMBLE_4): Likewise.
3109 (_FP_FRAC_DISASSEMBLE_4): Likewise.
3110 * soft-fp/op-common.h (_FP_CMP): Likewise.
3111 (_FP_CMP_EQ): Likewise.
3112 (_FP_CMP_UNORD): Likewise.
3113 (_FP_TO_INT): Likewise.
3114 (_FP_FROM_INT): Likewise.
3115 [!__FP_CLZ] (__FP_CLZ): Likewise.
3116 (_FP_DIV_HELP_imm): Likewise.
3117 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
3118 Likewise.
3119 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
3120 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
3121 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
3122 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
3123 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
3124 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3125 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3126 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
3127 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
3128 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
3129 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
3130 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
3131 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
3132 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
3133 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
3134 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
3135 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
3136 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
3137 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
3138 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
3139 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
3140 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
3141 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
3142 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3143 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3144 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
3145 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
3146 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
3147 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
3148 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
3149 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
3150 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
3151 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
3152 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
3153 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
3154 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
3155 (FP_UNPACK_RAW_SP): Likewise.
3156 (FP_PACK_RAW_S): Likewise.
3157 (FP_PACK_RAW_SP): Likewise.
3158 (FP_UNPACK_S): Likewise.
3159 (FP_UNPACK_SP): Likewise.
3160 (FP_UNPACK_SEMIRAW_S): Likewise.
3161 (FP_UNPACK_SEMIRAW_SP): Likewise.
3162 (FP_PACK_S): Likewise.
3163 (FP_PACK_SP): Likewise.
3164 (FP_PACK_SEMIRAW_S): Likewise.
3165 (FP_PACK_SEMIRAW_SP): Likewise.
3166 (_FP_SQRT_MEAT_S): Likewise.
3167 (FP_CMP_S): Likewise.
3168 (FP_CMP_EQ_S): Likewise.
3169 (FP_CMP_UNORD_S): Likewise.
3170 (FP_TO_INT_S): Likewise.
3171 (FP_FROM_INT_S): Likewise.
3172
a736ec37
JM
3173 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
3174
ff12c11f
JM
3175 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
3176 (FP_EX_INVALID_IMZ): Likewise.
3177 (FP_EX_INVALID_IMZ_FMA): Likewise.
3178 (FP_EX_INVALID_ISI): Likewise.
3179 (FP_EX_INVALID_ZDZ): Likewise.
3180 (FP_EX_INVALID_IDI): Likewise.
3181 (FP_EX_INVALID_SQRT): Likewise.
3182 (FP_EX_INVALID_CVI): Likewise.
3183 (FP_EX_INVALID_VC): Likewise.
3184 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
3185 "invalid" exceptions.
3186 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
3187 (_FP_ADD_INTERNAL): Likewise.
3188 (_FP_MUL): Likewise.
3189 (_FP_FMA): Likewise.
3190 (_FP_DIV): Likewise.
3191 (_FP_CMP_CHECK_NAN): Likewise.
3192 (_FP_SQRT): Likewise.
3193 (_FP_TO_INT): Likewise.
3194 (FP_EXTEND): Likewise.
3195
b6dcfe8c
AM
31962014-10-09 Allan McRae <allan@archlinux.org>
3197
3198 * po/fr.po: Update French translation from translation project.
3199
2d6a47ba
JM
32002014-10-09 Joseph Myers <joseph@codesourcery.com>
3201
cb831245
JM
3202 [BZ #14132]
3203 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
3204 of INTDEF.
3205 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
3206 (__cxa_atexit): Use libc_hidden_proto.
3207 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
3208
5deeb190
JM
3209 [BZ #14132]
3210 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
3211 declaration.
3212 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
3213 [!_ISOMAC] (__iswspace_l_internal): Likewise.
3214 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
3215 [!_ISOMAC] (__iswctype_internal): Likewise.
3216 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
3217 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
3218 alias.
3219 (fcntl): Remove __fcntl_internal alias.
3220 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
3221 __connect_internal alias.
3222 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
3223 Likewise.
3224
454ac701
JM
3225 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
3226 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
3227 FP_DENORM_ZERO.
3228 (_FP_CHECK_FLUSH_ZERO): New macro.
3229 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
3230 (_FP_CMP): Likewise.
3231 (_FP_CMP_EQ): Likewise.
3232 (_FP_TO_INT): Do not set inexact for subnormal arguments if
3233 FP_DENORM_ZERO.
3234 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
3235 (FP_TRUNC): Likewise.
3236
0022e688
JM
3237 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
3238 treated as invalid conversion, not as normal exponent.
3239
73e28d9c
JM
3240 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
3241 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
3242 (_FP_CMP_EQ): Likewise.
3243 (_FP_CMP_UNORD): Likewise.
3244 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
3245 (FP_CMP_EQ_D): Likewise.
3246 (FP_CMP_UNORD_D): Likewise.
3247 * soft-fp/extended.h (FP_CMP_E): Likewise.
3248 (FP_CMP_EQ_E): Likewise.
3249 (FP_CMP_UNORD_E): Likewise.
3250 * soft-fp/quad.h (FP_CMP_Q): Likewise.
3251 (FP_CMP_EQ_Q): Likewise.
3252 (FP_CMP_UNORD_Q): Likewise.
3253 * soft-fp/single.h (FP_CMP_S): Likewise.
3254 (FP_CMP_EQ_S): Likewise.
3255 (FP_CMP_UNORD_S): Likewise.
3256 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
3257 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
3258 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
3259 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
3260 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
3261 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
3262 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
3263 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
3264 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
3265 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
3266 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
3267 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
3268 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
3269 to FP_CMP_Q.
3270 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
3271 FP_CMP_Q.
3272 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
3273 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
3274 FP_CMP_EQ_Q.
3275 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
3276 FP_CMP_Q.
3277 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
3278 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
3279 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
3280 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
3281 FP_CMP_EQ_Q.
3282 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
3283 FP_CMP_Q.
3284 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
3285 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
3286 FP_CMP_EQ_Q.
3287 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
3288 FP_CMP_Q.
3289 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
3290 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
3291 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
3292 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
3293 FP_CMP_EQ_Q.
3294
43059f42
JM
3295 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
3296 a subnormal result, set the underflow exception if trapping on
3297 underflow is enabled.
3298 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
3299 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
3300 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
3301 redefine to 0.
3302 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
3303 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3304 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3305 * soft-fp/extendxftf2.c (__extendxftf2): Use
3306 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
3307
2d6a47ba
JM
3308 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
3309 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
3310 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3311 FP_HANDLE_EXCEPTIONS.
3312 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
3313 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3314 FP_HANDLE_EXCEPTIONS.
3315 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
3316 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3317 FP_HANDLE_EXCEPTIONS.
3318 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
3319 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3320 FP_HANDLE_EXCEPTIONS.
3321
620f462e
JM
33222014-10-08 Joseph Myers <joseph@codesourcery.com>
3323
3324 [BZ #14132]
3325 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
3326 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
3327 use INTUSE.
3328 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
3329 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
3330 Remove alias.
3331 (__adjtimex): Define using libc_hidden_ver.
3332 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
3333 Remove declaration.
3334 (ntp_gettime): Call __adjtimex directly.
3335 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
3336 Remove declaration.
3337 (ntp_gettimex): Call __adjtimex directly.
3338 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
3339 __adjtimex_internal alias.
3340
c763c5d2
RM
33412014-10-08 Roland McGrath <roland@hack.frob.com>
3342
3343 [BZ #17460]
3344 * nscd/nscd.c (more_help): Rewrite list of tables collection
3345 using xstrdup and asprintf.
3346
3347 * nscd/nscd_conf.c: Remove local xstrdup declaration.
3348
7b8fb2b8
RM
33492014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3350 Roland McGrath <roland@hack.frob.com>
3351
3352 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
3353 (do_lookup_unique): ... local function 'enter' here; update callers.
3354
abb280f7
JM
33552014-10-06 Joseph Myers <joseph@codesourcery.com>
3356
f7b42517
JM
3357 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
3358 compat_symbol calls on [SHARED].
3359 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
3360 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
3361 Remove.
3362 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3363 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
3364 (oldsetrlimit): Remove.
3365 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3367 (lchown): New syscall entry.
3368 (oldsetrlimit): Remove.
3369 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3370 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
3371 (oldsetrlimit): Remove.
3372 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3373
abb280f7
JM
3374 [BZ #14138]
3375 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
3376 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
3377 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
3378 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
3379 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3380 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
3381 (fchown): Likewise.
3382 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
3383 (fchown): Likewise.
3384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
3385 Likewise.
3386
47d46237
AZ
33872014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3388
3389 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
3390 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
3391 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
3392 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
3393 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
3394 Likewise.
3395 (__old_sem_post): Likewise.
3396
33972014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 3398
845a7343
CM
3399 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
3400 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
3401 HAVE_CLOCK_GETTIME_VSYSCALL macros.
3402 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
3403 Use INLINE_VSYSCALL macro.
3404 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
3405 __vdso_clock_gettime.
3406 * sysdeps/unix/sysv/linux/tile/init-first.c
3407 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
3408 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
3409 __vdso_clock_gettime.
3410
83d641ef
CM
3411 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
3412 to set up frame more cleanly.
3413
d9cd52e6
CM
3414 * sysdeps/tile/memcmp.c: New file.
3415
4b68ea11
CM
3416 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
3417
c86f7b80
CM
3418 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
3419 * sysdeps/tile/tilegx/strcasestr.c: New file.
3420 * sysdeps/tile/tilegx/strnlen.c: New file.
3421 * sysdeps/tile/tilegx/strstr.c: New file.
3422
1c4c1a6f
CM
3423 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
3424
99d86ea3
AS
34252014-10-06 Arjun Shankar <arjun.is@lostca.se>
3426
3427 * nptl/tst-setuid3.c: Write errors to stdout.
3428
06210a44
KS
34292014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3430
3431 * elf/dl-deps.c
3432 (preload): New functions broken out of _dl_map_object_deps.
3433 (_dl_map_object_deps): Remove a nested function. Update call sites.
3434
6268f532
JM
34352014-10-01 Joseph Myers <joseph@codesourcery.com>
3436
3437 [BZ #14138]
3438 * sysdeps/unix/sysv/linux/execve.c: Remove file.
3439 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
3440
b925285f
SE
34412014-10-01 Steve Ellcey <sellcey@mips.com>
3442
3443 * sysdeps/mips/strcmp.S: New.
3444
754a15c6
JM
34452014-09-30 Joseph Myers <joseph@codesourcery.com>
3446
3447 [BZ #14138]
3448 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
3449 (linkat): Likewise.
3450 (mkdirat): Likewise.
3451 (readlinkat): Likewise.
3452 (renameat): Likewise.
3453 (symlinkat): Likewise.
3454 (unlinkat): Likewise.
3455 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
3456 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
3457 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
3458 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
3459 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
3460 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
3461 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
3462
85bb81c9
WN
34632014-09-30 Will Newton <will.newton@linaro.org>
3464
dc6fe23b
WN
3465 * math/math.h: Define long double math functions if
3466 _LIBC_TEST is defined.
3467 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
3468
85bb81c9
WN
3469 * localedata/Makefile: Move assignment to tests-special
3470 into an ifdef testing run-built-tests.
3471 * timezone/Makefile: Likewise.
3472
b7e02da4
JM
34732014-09-29 Joseph Myers <joseph@codesourcery.com>
3474
3475 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
3476 with $(BASH) not $(SHELL).
3477
62058ce6
CD
34782014-09-29 Carlos O'Donell <carlos@redhat.com>
3479 Matthew LeGendre <legendre1@llnl.gov>
3480
3481 [BZ #17411]
3482 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
3483 l_reloc_result.
3484
8e257a29
KS
34852014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3486
3487 * stdio-common/printf_fp.c
3488 (hack_digit): New function, broken out of ...
3489 (__printf_fp): ... local function here. Update call sites.
3490 hack_digit now takes an additional parameter that is a pointer
3491 to a struct of the referenced locals. Those locals moved inside
3492 the struct and references updated.
3493
f4a58f0d
L
34942014-09-29 H.J. Lu <hongjiu.lu@intel.com>
3495
3496 * aclocal.m4: Require autoconf 2.69.
3497 * configure: Regenerated.
3498 * sysdeps/aarch64/configure: Likewise.
3499 * sysdeps/alpha/configure: Likewise.
3500 * sysdeps/arm/armv7/configure: Likewise.
3501 * sysdeps/arm/configure: Likewise.
3502 * sysdeps/ia64/configure: Likewise.
3503 * sysdeps/mach/configure: Likewise.
3504 * sysdeps/mips/configure: Likewise.
3505 * sysdeps/s390/configure: Likewise.
3506 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
3507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
3508
3509 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
3510 file.
3511 * sysdeps/ia64/configure.ac: Likewise.
3512
93ae1eba
JM
35132014-09-26 Joseph Myers <joseph@codesourcery.com>
3514
1810d3ab
JM
3515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
3516 specify symbol version for ld.so. Do not include entry for
3517 libpthread.
3518 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3519 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3520 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3521
93ae1eba
JM
3522 [BZ #14171]
3523 * Makeconfig [$(build-shared) = yes]
3524 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
3525 makefiles.
3526 [$(build-shared) = yes && $(soversions.mk-done) = t]
3527 ($(common-objpfx)gnu/lib-names.h): Remove rule.
3528 [$(build-shared) = yes && $(soversions.mk-done) = t]
3529 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
3530 to Makerules.
3531 [$(build-shared) = yes && $(soversions.mk-done) = t]
3532 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
3533 here.
3534 [$(build-shared) = yes && $(soversions.mk-done) = t]
3535 (common-generated): Don't append gnu/lib-names.h and
3536 gnu/lib-names.stmp here.
3537 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
3538 (lib-names-h-abi): New variable.
3539 [$(build-shared) = yes && $(soversions.mk-done) = t]
3540 (lib-names-stmp-abi): Likewise.
3541 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3542 abi-variants] (before-compile): Append
3543 $(common-objpfx)$(lib-names-h-abi).
3544 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3545 abi-variants] (common-generated): Append gnu/lib-names.h.
3546 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3547 abi-variants] (install-others-nosubdir): Depend on
3548 $(inst_includedir)/$(lib-names-h-abi).
3549 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3550 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
3551 [$(build-shared) = yes && $(soversions.mk-done) = t]
3552 ($(common-objpfx)$(lib-names-h-abi)): New rule.
3553 [$(build-shared) = yes && $(soversions.mk-done) = t]
3554 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
3555 [$(build-shared) = yes && $(soversions.mk-done) = t]
3556 (common-generated): Append $(lib-names-h-abi) and
3557 $(lib-names-stmp-abi).
3558 * scripts/lib-names.awk: Do not handle multi being set.
3559 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
3560 Remove variable.
3561 (abi-lp64_be-ld-soname): Likewise.
3562 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
3563 Likewise.
3564 (abi-hard-ld-soname): Likewise.
3565 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
3566 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
3567 Remove variable.
3568 (abi-o32_hard-ld-soname): Likewise.
3569 (abi-o32_soft_2008-ld-soname): Likewise.
3570 (abi-o32_hard_2008-ld-soname): Likewise.
3571 (abi-n32_soft-ld-soname): Likewise.
3572 (abi-n32_hard-ld-soname): Likewise.
3573 (abi-n32_soft_2008-ld-soname): Likewise.
3574 (abi-n32_hard_2008-ld-soname): Likewise.
3575 (abi-n64_soft-ld-soname): Likewise.
3576 (abi-n64_hard-ld-soname): Likewise.
3577 (abi-n64_soft_2008-ld-soname): Likewise.
3578 (abi-n64_hard_2008-ld-soname): Likewise.
3579 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
3580 Likewise.
3581 (abi-64-v2-ld-soname): Likewise.
3582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
3583 ld.so entries.
3584 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
3585 variable.
3586 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
3587 entry.
3588 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
3589 variable.
3590 (abi-64-ld-soname): Likewise.
3591 (abi-x32-ld-soname): Likewise.
3592 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
3593 entry.
3594 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3595
68870f12
JM
35962014-09-23 Joseph Myers <joseph@codesourcery.com>
3597
3598 [BZ #14138]
3599 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
3600 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
3601 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
3602 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
3603 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
3604 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
3605 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
3606 syscall entry for GLIBC_2.2 symbol version.
3607 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
3608 Likewise.
3609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3610 (setrlimit): Likewise.
3611 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
3612 Likewise.
3613
ea58f202
WN
36142014-09-23 Will Newton <will.newton@linaro.org>
3615
3616 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
3617 _LINUX_ARM_SYSDEP_H include guard too.
3618 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
3619 define.
3620
69eb9a18
RV
36212014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3622
3623 * sysdeps/unix/sysv/linux/eventfd.c:
3624 Make first argument unsigned.
3625 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
3626 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
3627
20e5a5f7
OB
36282014-09-20 Ondřej Bílka <neleai@seznam.cz>
3629
3630 * socket/recvmmsg.c (recvmmsg): Drop const argument.
3631 * socket/sys/socket.h: Likewise
3632 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
3633
d3c827e7
AK
36342014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3635
3636 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
3637
fe1cc35a
AS
36382014-09-17 Arjun Shankar <arjun.is@lostca.se>
3639
3640 * time/tst-ftime.c: New test.
3641 * time/Makefile (tests): Add tst-ftime.
3642
4e8afe69
JM
36432014-09-17 Joseph Myers <joseph@codesourcery.com>
3644
c4fe3ea7
JM
3645 * soft-fp/extended.h: Fix comment formatting.
3646 * soft-fp/op-1.h: Likewise.
3647 * soft-fp/op-2.h: Likewise.
3648 * soft-fp/op-4.h: Likewise.
3649 * soft-fp/op-8.h: Likewise.
3650 * soft-fp/op-common.h: Likewise.
3651 * soft-fp/soft-fp.h: Likewise.
3652
4e8afe69
JM
3653 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
3654
af296fcd
JM
36552014-09-16 Joseph Myers <joseph@codesourcery.com>
3656
3657 [BZ #6652]
3658 * Makeconfig (soversions-default-setname): Remove variable.
3659 ($(common-objpfx)soversions.i): Don't pass default_setname to
3660 soversions.awk.
3661 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
3662 oldest_abi to abi-versions.awk.
3663 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
3664 * config.make.in (oldest-abi): Remove variable.
3665 * configure.ac (--enable-oldest-abi): Remove configure option.
3666 * configure: Regenerated.
3667 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
3668 text.
3669 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
3670 * scripts/soversions.awk: Do not handle default_setname variable.
3671 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
3672 variable.
3673 * sysdeps/mach/hurd/configure: Regenerated.
3674 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
3675 variable.
3676 * sysdeps/unix/sysv/linux/configure: Regenerated.
3677
545583d6
SP
36782014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3679
d330b980
SP
3680 * elf/Makefile (CFLAGS-interp.c): Remove.
3681 ($(elf-objpfx)runtime-linker.h): Generate header with linker
3682 path string.
3683 * elf/interp.c: Include generated runtime-linker.h
3684
02657da2
SP
3685 * Makerules (lib%.so): Don't include $(+interp) in
3686 prerequisites.
3687 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
3688 * dlfcn/eval.c: Remove file.
3689
653b1080
SP
3690 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
3691 macros.
3692
602f80ec
SP
3693 [BZ #17266]
3694 * misc/sys/cdefs.h: Define __extern_always_inline for clang
3695 4.2 and newer.
3696
545583d6
SP
3697 [BZ #17370]
3698 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
3699
884ddc50
SP
37002014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3701 Jakub Jelinek <jakub@redhat.com>
3702
3703 [BZ #17266]
3704 * libio/stdio.h: Check definition of __fortify_function
3705 instead of __extern_always_inline to include bits/stdio2.h.
3706 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
3707 check if __extern_always_inline is defined.
3708 [__USE_MISC || __USE_XOPEN]: Likewise.
3709 [__USE_ISOC99] Likewise.
3710 * misc/sys/cdefs.h (__fortify_function): Define only if
3711 __extern_always_inline is defined.
3712 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
3713 __extern_always_inline and __extern_inline only for g++-4.3
3714 and newer or a compatible gcc.
3715
a7b87268
AS
37162014-09-15 Andreas Schwab <schwab@linux-m68k.org>
3717
3718 [BZ #17371]
3719 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3720 last change to handle zero prefix length.
3721
3f41521d
SP
37222014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3723
61fe374a
SP
3724 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
3725 _SC_REGEX_VERSION.
3726
3f41521d
SP
3727 * posix/getconf.c (vars): Add _POSIX_IPV6 and
3728 _POSIX_RAW_SOCKETS.
3729
d8f879ee
AM
37302014-09-13 Allan McRae <allan@archlinux.org>
3731
3732 * po/ru.po: Update Russian translation from translation project.
3733
c079afb7
RM
37342014-09-12 Roland McGrath <roland@hack.frob.com>
3735
a62b3c15
RM
3736 * locale/programs/locale.c (show_locale_vars): Inline local function
3737 into its sole call site. Clean up some style nits.
3738 (print_item): New function, broken out of ...
3739 (show_info): ... local function here. Clean up style nits.
3740
d7e49b19
RM
3741 * locale/programs/ld-ctype.c (set_one_default): New function, broken
3742 out of ...
3743 (set_class_defaults): ... local function set_default here.
3744 Define set_default as a macro locally to pass constant parameters.
3745 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
3746 rather than a shared local.
3747
c079afb7
RM
3748 * stdlib/rpmatch.c (try): New function, broken out of ...
3749 (rpmatch): ... local function here. Also, prototypify definition.
3750
0bd72468
JM
37512014-09-12 Joseph Myers <joseph@codesourcery.com>
3752
ba90e050
JM
3753 * scripts/soversions.awk: Do not handle configuration names.
3754 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
3755 vendor and os variables to soversions.awk.
3756 * configure.ac: Do not modify gnu-* host_os.
3757 * configure: Regenerated
3758 * shlib-versions: Remove first column with configuration names.
3759 * nptl/shlib-versions: Likewise.
3760 * nptl_db/shlib-versions: Likewise.
3761 * sysdeps/hppa/shlib-versions: Likewise.
3762 * sysdeps/m68k/shlib-versions: Likewise.
3763 * sysdeps/mach/hurd/shlib-versions: Likewise.
3764 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
3765 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
3766 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
3767 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
3768 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
3769 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
3770 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
3771 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
3772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3773 Likewise.
3774 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3775 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3776 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3777 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3778 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3779 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
3780 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3781 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3782
73a39112
JM
3783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3784 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
3785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3786 Regenerated.
3787 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
3788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3789 Condition symbol version definitions on [HAVE_ELFV2_ABI].
3790
c729e7c1
JM
3791 * shlib-versions: Remove OS-specific entries. Moved to files in
3792 sysdeps.
3793 * sysdeps/mach/hurd/shlib-versions: New file.
3794 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3795
dc932a24
JM
3796 * nptl/shlib-versions: Remove architecture-specific entries.
3797 Moved to files in sysdeps.
3798 * shlib-versions: Likewise.
3799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
3800 file.
3801 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3802 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3803 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3804 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3805
0bd72468
JM
3806 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
3807 (UDP_NO_CHECK6_RX): Likewise.
3808
920238e0
SP
38092014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3810
3811 * sysdeps/posix/sysconf.c (__sysconf): Spell
3812 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
3813
ba7b4d29
FW
38142014-08-12 Florian Weimer <fweimer@redhat.com>
3815
3816 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
3817 loading.
3818 * iconv/Versions (__gconv_transliterate): Export for use from
3819 gconv modules.
3820 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
3821 (struct __gconv_trans_data, __gconv_trans_fct,
3822 __gconv_trans_context_fct, __gconv_trans_query_fct,
3823 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
3824 definitions.
3825 (struct __gconv_step_data): Remove __trans member.
3826 (__gconv_transliterate): Declaration moved from gconv_int.h. No
3827 longer hidden. Remove unused trans_data argument.
3828 * iconv/gconv_int.h (struct trans_struct): Remove definition.
3829 (__gconv_translit_find): Remove declaration.
3830 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
3831 prototype.
3832 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
3833 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
3834 trans_data argument. Add hidden definition.
3835 (__gconv_translit_find): Remove.
3836 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
3837 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
3838 * iconv/skeleton.c: Remove transliteration initialization.
3839 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
3840 __gconv_step_data initialization.
3841 * libio/iofwide.c (__libio_translit_): Remove.
3842 (_IO_fwide): Adjust struct __gconv_step_data initialization.
3843 * wcsmbs/btowc.c (__btowc): Likewise.
3844 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3845 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3846 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3847 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3848 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
3849 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3850 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3851 * wcsmbs/wctob.c (wctob): Likewise.
3852
5379aebd
SP
38532014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3854
3855 [BZ #16194]
3856 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
3857 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
3858 register usage.
3859 * sysdeps/x86/Makefile: Adjust.
3860
8c0ab919
RM
38612014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3862 Roland McGrath <roland@hack.frob.com>
3863
3864 * locale/weight.h: Add include guard.
3865 (findidx): Make static rather than auto; take new parameters
3866 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
3867 * locale/weightwc.h: Likewise.
3868 * posix/fnmatch_loop.c
3869 (FCT): Change type of EXTRA from int32_t to wint_t.
3870 Don't include either header inside the function.
3871 Call FINDIDX rather than findidx, and pass new arguments.
3872 #undef FINDIDX at the end of the file.
3873 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
3874 FINDIDX before including fnmatch_loop.c for the non-wide version.
3875 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
3876 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
3877 for the wide version.
3878 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
3879 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
3880 Pass new arguments to findidx.
3881 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
3882 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
3883 Don't #include it inside the function. Pass new arguments to findidx.
3884 * posix/regex_internal.h
3885 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
3886 (re_string_elem_size_at): Don't #include it inside the function.
3887 Pass new arguments to findidx.
3888 * string/strcoll_l.c: #include WEIGHT_H at top level.
3889 (get_next_seq): Don't #include it inside the function.
3890 Pass new arguments to findidx.
3891 (get_next_seq_nocache): Likewise.
3892 * string/strxfrm_l.c: #include WEIGHT_H at top level.
3893 (STRXFRM): Don't #include it inside the function.
3894 Pass new arguments to findidx.
3895
52ffbdf2
FW
38962014-09-11 Florian Weimer <fweimer@redhat.com>
3897
3898 [BZ #17344]
3899 * malloc/malloc.c (unlink): Turn asserts into a call to
3900 malloc_printerr.
3901
984c0ea9
TL
39022014-09-11 Tim Lammens <tim.lammens@gmail.com>
3903
3904 [BZ #17370]
3905 * libio/wfileops (do_ftell_wide): Free OUT.
3906
3daee107
CM
39072014-09-10 Chris Metcalf <cmetcalf@tilera.com>
3908
3909 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
3910
58b930ae
SP
39112014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3912
3913 [BZ #17363]
3914 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
3915 group if the current group is empty.
3916
3b473fec
AZ
39172014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3918
71ae8647
AZ
3919 * benchtests/bench-memset.c (test_main): Add more test from size
3920 from 32 to 512 bytes.
3921 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3922 Add POWER8 memset object.
3923 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3924 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
3925 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
3926 implementation.
3927 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
3928 Likewise.
3929 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
3930 multiarch POWER8 memset optimization.
3931 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
3932 POWER8 memset optimization.
3933
3b473fec
AZ
3934 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3935 Remove bzero multiarch objects.
3936 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
3937 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
3938 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
3939 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
3940 Remove define.
3941 [__bzero]: Redefine to specific name.
3942 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
3943 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
3944 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
3945 define.
3946 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3947 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3948
e6fb9587
FW
39492014-09-10 Florian Weimer <fweimer@redhat.com>
3950
3951 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
3952 warnings into errors.
3953
3954 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
3955 __cxa_thread_atexit_impl prototype.
3956
9d3a350b
SE
39572014-09-09 Steve Ellcey <sellcey@mips.com>
3958
3959 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
3960 Fix capitalization of error message.
3961
0febba23
SE
39622014-09-09 Steve Ellcey <sellcey@mips.com>
3963
3964 * sysdeps/mips/preconfigure: Modify ABI tests.
3965
645a0e9c
CD
39662014-09-07 Carlos O'Donell <carlos@systemhalted.org>
3967
3968 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
3969
d83f0734
CD
39702014-09-07 Roland McGrath <roland@hack.frob.com>
3971 Carlos O'Donell <carlos@systemhalted.org>
3972
3973 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
3974 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
3975 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
3976 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
3977 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
3978 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
3979 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
3980 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
3981 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
3982 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
3983 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
3984 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
3985 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
3986 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
3987 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
3988 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
3989 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
3990 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
3991 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
3992 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
3993 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
3994 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
3995 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
3996 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
3997 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
3998 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
3999 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
4000 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
4001 Deconditionalize the code that was previously under [RESET_PID].
4002 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
4003 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
4004 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
4005 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
4006 include sysdep.h.
4007
21c83793
AM
40082014-09-08 Allan McRae <allan@archlinux.org>
4009
4010 * version.h (RELEASE): Set to "development".
4011 (VERSION): Set to "2.20.90"
4012
1cd9b65c
AM
40132014-09-07 Allan McRae <allan@archlinux.org
4014
b8079dd0
AM
4015 * version.h (RELEASE): Set to "stable".
4016 (VERSION): Set to "2.20"
4017 * include/features.h (__GLIBC_MINOR__): Set to 20.
4018
c46303ef
AM
4019 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
4020 Liebler.
4021
1cd9b65c
AM
4022 * po/ko.po: Update Korean translation from translation project.
4023
8622092d
CM
40242014-09-06 Chris Metcalf <cmetcalf@tilera.com>
4025
4026 [BZ #17354]
4027 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
4028 macro for handling signed relocations.
4029
41488498
FW
40302014-09-03 Florian Weimer <fweimer@redhat.com>
4031
4032 [BZ #17325]
4033 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
4034 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
4035 assert.
4036 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
4037 * iconvdata/ibm935.c (BODY): Likewise.
4038 * iconvdata/ibm937.c (BODY): Likewise.
4039 * iconvdata/ibm939.c (BODY): Likewise.
4040 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
4041 assert.
4042 * iconvdata/Makefile (iconv-test.out): Pass module list to test
4043 script.
4044 * iconvdata/run-iconv-test.sh: New test loop for checking for
4045 decoder crashers.
4046
a78b712d
KR
40472014-09-02 Khem Raj <raj.khem@gmail.com>
4048
4049 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
4050 libm_hidden_ver.
4051
cb08abc6
AM
40522014-09-01 Allan McRae <allan@archlinux.org>
4053
2c31e102
AM
4054 * po/eo.po: Update Esperanto translation from translation project.
4055
cb08abc6
AM
4056 * po/ca.po: Update Catalan translation from translation project.
4057
17a62de1
ST
40582014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
4059
4060 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
4061 __proc_dostop call.
4062
9570bc53
MW
40632014-08-27 Mark Wielaard <mjw@redhat.com>
4064
4065 [BZ #17319]
4066 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
4067 to call set_thread_area instead of hand written asm.
4068 (__NR_set_thread_area): Removed define.
4069 (TLS_FLAG_WRITABLE): Likewise.
4070 (__ASSUME_SET_THREAD_AREA): Remove check.
4071 (TLS_EBX_ARG): Remove define.
4072 (TLS_LOAD_EBX): Likewise.
4073
b0f955c9
ST
40742014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
4075
4076 Simplify atomicity of socket creation in bind.
4077
4078 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
4079 looking up the name after linking the file.
4080
529bf515
AM
40812014-08-27 Allan McRae <allan@archlinux.org>
4082
4083 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4084
a1a6a401
FW
40852014-08-26 Florian Weimer <fweimer@redhat.com>
4086
4087 [BZ #17187]
4088 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
4089 trans_compare, open_translit, __gconv_translit_find):
4090 Remove module loading code.
4091
686ab290
AM
40922014-08-26 Allan McRae <allan@archlinux.org>
4093
e4e7cfd2
AM
4094 * po/vi.po: Update Vietnamese translation from translation project.
4095
6aa09f71
AM
4096 * po/uk.po: Update Ukrainian translation from translation project.
4097
edc0660e
AM
4098 * po/fr.po: Update French translation from translation project.
4099
7eea72ac
AM
4100 * po/ru.po: Update Russian translation from translation project.
4101
93c49eff
AM
4102 * po/pl.po: Update Polish translation from translation project.
4103
46acaf63
AM
4104 * po/cs.po: Update Czech translation from translation project.
4105
a9f5ce98
AM
4106 * po/de.po: Update German translation from translation project.
4107
373f2b78
AM
4108 * po/bg.po: Update Bulgarian translation from translation project.
4109
e7548bd8
AM
4110 * po/sv.po: Update Sweedish translation from translation project.
4111
c526bf4d
AM
4112 * po/nl.po: Update Dutch translation from translation project.
4113
686ab290
AM
4114 * po/es.po: Update Spanish translation from translation project.
4115
eb72478a
SP
41162014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4117
dd763fdb
SP
4118 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
4119
318c7a58
SP
4120 * catgets/Makefile (CPPFLAGS-gencat): Remove.
4121 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
4122 (CPPFLAGS-iconvconfig): Likewise.
4123 * timezone/Makefile (CPPFLAGS-zic): Likewise.
4124
eb72478a
SP
4125 * include/libc-symbols.h: Remove unnecessary check for
4126 NOT_IN_libc.
4127 * nptl/pthreadP.h: Likewise.
4128 * sysdeps/aarch64/setjmp.S: Likewise.
4129 * sysdeps/alpha/setjmp.S: Likewise.
4130 * sysdeps/arm/sysdep.h: Likewise.
4131 * sysdeps/i386/setjmp.S: Likewise.
4132 * sysdeps/m68k/setjmp.c: Likewise.
4133 * sysdeps/posix/getcwd.c: Likewise.
4134 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4135 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4136 * sysdeps/s390/s390-32/setjmp.S: Likewise.
4137 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4138 * sysdeps/sh/sh3/setjmp.S: Likewise.
4139 * sysdeps/sh/sh4/setjmp.S: Likewise.
4140 * sysdeps/unix/alpha/sysdep.h: Likewise.
4141 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4142 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4143 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4144 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4147 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4148 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4149 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4150 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4151 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4152 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4153 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4154 * sysdeps/x86_64/setjmp.S: Likewise.
4155
d44a052c
JM
41562014-08-13 Joseph Myers <joseph@codesourcery.com>
4157
4158 [BZ #17263]
4159 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
4160 <stdint.h>.
4161 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
4162 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
4163
508ce3ac
SP
41642014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4165
e44c8b0e
SP
4166 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
4167
508ce3ac
SP
4168 [BZ #17262]
4169 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
4170 and __x86_64__ when disabling x87 inline functions.
4171
b4acef1f
L
41722014-08-12 H.J. Lu <hongjiu.lu@intel.com>
4173
4174 [BZ #17259]
4175 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
4176 asm statement with __cpuid_count.
4177
61b1ef6e
MF
41782014-08-12 Mike Frysinger <vapier@gentoo.org>
4179
4180 * configure.ac: Change __ehdr_start code to dereference the struct.
4181 Run readelf on the output to look for relocations.
4182 * configure: Regenerated.
4183
898c62f4
JM
41842014-08-12 Joseph Myers <joseph@codesourcery.com>
4185
4186 [BZ #17261]
4187 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
4188 value to 0.
4189 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
4190
9a8a5720
RM
41912014-08-12 Roland McGrath <roland@hack.frob.com>
4192
4193 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
4194
4e75751c
BO
41952014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
4196
4197 [BZ #16892]
4198 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
4199 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
4200
bb2ce416
SA
42012014-08-12 Sean Anderson <seanga2@gmail.com>
4202
4203 * malloc/malloc.c: Fix typo in comment.
4204
7950a4ee
AM
42052014-08-09 Allan McRae <allan@archlinux.org>
4206
4207 * Regenerate libc.po.
4208
f469c49f
MF
42092014-08-08 Mike Frysinger <vapier@gentoo.org>
4210
4211 * intl/tst-gettext2.sh: Check every lang file for creation.
4212
656b84c2
WD
42132014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
4214
4215 * sysdeps/aarch64/fpu/math_private.h
4216 (libc_feholdsetround_noex_aarch64_ctx): New function.
4217
538e9e45
W
42182014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
4219
4220 * sysdeps/arm/armv6/strcpy.S (strcpy):
4221 Fix performance issue in misaligned cases.
4222
d4795e4a
AZ
42232014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4224
4225 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
4226 Move definition from termios.h.
4227 (struct termio): Likewise.
4228 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4229 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4230 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4231 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4232 Likewise.
4233 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
4234 Move definition to ioctl-types.h
4235 (struct termio): Likewise.
4236 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4237 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4238 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4239 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4240 Likewise.
4241
64accb62
RH
42422014-08-05 Richard Henderson <rth@redhat.com>
4243
27bb6dc0
RH
4244 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
4245 exceptions.
4246 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
4247 Add fraiseexcpt.
4248 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4249 Use __feraiseexcept.
4250 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
4251 Protect libm symbols with IS_IN_libm.
4252
64accb62
RH
4253 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
4254
e5292691
BO
42552014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
4256
4257 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
4258
5b4bd2d4
WN
42592014-08-04 Will Newton <will.newton@linaro.org>
4260
4261 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
4262 file.
4263
fcadaeef
MF
42642014-08-04 Mike Frysinger <vapier@gentoo.org>
4265
4266 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
4267 variants for each function.
4268
43a94c64
RM
42692014-08-04 Roland McGrath <roland@hack.frob.com>
4270
4271 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
4272 appended ...
4273 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
4274 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
4275 appended ...
4276 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
4277 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
4278 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
4279 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
4280 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
4281 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
4282 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
4283 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
4284 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
4285 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
4286 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
4287 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
4288 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
4289 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
4290 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
4291 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
4292 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
4293 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
4294 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
4295 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
4296 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
4297 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
4298 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
4299 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
4300 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
4301 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
4302 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
4303 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
4304 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
4305 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
4306 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
4307 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
4308 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
4309 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
4310 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
4311 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
4312 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
4313 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
4314 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
4315 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
4316 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
4317 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
4318 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
4319 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
4320 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
4321 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
4322 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
4323 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
4324 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
4325 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
4326 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
4327 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
4328 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
4329 Update #include.
4330 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
4331 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
4332
8f3c1fa4
RM
43332014-08-04 Roland McGrath <roland@hack.frob.com>
4334
4335 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
4336 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
4337 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
4338 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
4339 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
4340 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
4341
ca08746f
RM
43422014-08-04 Roland McGrath <roland@hack.frob.com>
4343
4344 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
4345 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
4346 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4347 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
4348
9c925ff9
RM
43492014-08-04 Roland McGrath <roland@hack.frob.com>
4350
4351 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
4352 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
4353 (__libc_vfork): Define function under this name.
4354 (__vfork): Define as an alias.
4355 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
4356 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
4357
e641054c
RM
43582014-08-04 Roland McGrath <roland@hack.frob.com>
4359
4360 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
4361 that was previously under [RESET_PID].
4362 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
4363
dacdc867
AS
43642014-08-04 Andreas Schwab <schwab@suse.de>
4365
4366 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
4367
41f725ff
MF
43682014-08-03 Mike Frysinger <vapier@gentoo.org>
4369
4370 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
4371 (main): Likewise.
4372
277cfb31
RM
43732014-08-01 Roland McGrath <roland@hack.frob.com>
4374
4375 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
4376
4896f049
RH
43772014-08-01 Richard Henderon <rth@redhat.com>
4378
4379 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
4380 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
4381 typo in exact zero test.
4382 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4383 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4384 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4385
6f64e7d7
RM
43862014-08-01 Roland McGrath <roland@hack.frob.com>
4387
4388 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
4389 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
4390 * sysdeps/arm/sysdep.h: ... here.
4391 [!__ASSEMBLER__]: Include <stdint.h>.
4392
3f3dd810
SP
43932014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4394
a476ac4b
SP
4395 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
4396 (HAVE_WCTYPE_H): Likewise.
4397 (HAVE_ISWCTYPE): Likewise.
4398 (ENABLE_NLS): Likewise.
4399 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
4400 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
4401
78dd658a
SP
4402 * posix/regex_internal.c: Check if DEBUG is defined and is
4403 set.
4404
3f3dd810
SP
4405 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
4406 (HAVE_MBSRTOWCS): Likewise.
4407 * posix/fnmatch.c: Include string.h unconditionally.
4408
95ee7fb1
SL
44092014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4410
4411 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
4412 reversal.
4413
23fe486b
RM
44142014-07-31 Roland McGrath <roland@hack.frob.com>
4415
f61a113f
RM
4416 * sysdeps/generic/safe-fatal.h: New file.
4417 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
4418 * nptl/forward.c: Include it.
4419 (__pthread_unwind): Use __safe_fatal as default action, rather
4420 than a bogus use of INTERNAL_SYSCALL that could never work.
4421
9fe7e787
RM
4422 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
4423 * configure.ac (libc_cv_builtin_trap): New test.
4424 * configure: Regenerated.
4425 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
4426 (ABORT_INSTRUCTION): Define using __builtin_trap.
4427
23fe486b
RM
4428 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
4429 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
4430 * sysdeps/nptl/nptl-signals.h: New file.
4431 * nptl/pthreadP.h: Include <nptl-signals.h>.
4432
f349489e
SL
44332014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4434
4435 * sysdeps/s390/s390-64/utf16-utf32-z9.c
4436 (ONE_DIRECTION): Define.
4437 * sysdeps/s390/s390-64/utf8-utf16-z9.c
4438 (ONE_DIRECTION): Define.
4439 * sysdeps/s390/s390-64/utf8-utf32-z9.c
4440 (ONE_DIRECTION): Define.
4441
2f438e20
SL
44422014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4443
4444 * sysdeps/s390/Makefile: Delete file.
4445 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
4446 * sysdeps/s390/__longjmp.c: Delete file.
4447 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
4448 Remove fields __flags and __reserved.
4449 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
4450 and add versioning.
4451 * sysdeps/s390/rtld-__longjmp.c: Delete file.
4452 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
4453 * sysdeps/s390/rtld-setjmp.S: Likewise.
4454 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
4455 * sysdeps/s390/s390-32/__longjmp.c: ... here.
4456 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
4457 * sysdeps/s390/s390-32/setjmp.S: ... here.
4458 Add versioning.
4459 (__sigsetjmp): Remove setting __flags field.
4460 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
4461 * sysdeps/s390/s390-64/__longjmp.c: ... here.
4462 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
4463 * sysdeps/s390/s390-64/setjmp.S: ... here.
4464 Add versioning.
4465 (__sigsetjmp): Remove setting __flags field.
4466 * sysdeps/s390/setjmp.S: Delete file.
4467 * sysdeps/s390/sigjmp.c: Likewise.
4468 * sysdeps/s390/v1-longjmp.c: Likewise.
4469 * sysdeps/s390/v1-setjmp.h: Likewise.
4470 * sysdeps/s390/v1-sigjmp.c: Likewise.
4471 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
4472 Remove v1-longjmp_chk.
4473 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
4474 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
4475 Include debug/longjmp_chk.c and add versioning.
4476 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
4477 Include nptl/pt-longjmp.c and add versioning.
4478 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
4479 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
4480 Include __longjmp.c.
4481 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4482 Move to ...
4483 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
4484 (__getcontext): Remove setting __flags field.
4485 Add versioning.
4486 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4487 Don't restore upper high grps.
4488 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
4489 Likewise.
4490 (__swapcontext): Remove setting uc_flags field.
4491 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
4492 Delete file.
4493 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4494 Include __longjmp.c.
4495 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4496 Move to ...
4497 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
4498 (__getcontext): Remove setting __flags field.
4499 Add versioning.
4500 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
4501 (__swapcontext): Remove setting uc_flags field.
4502 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
4503 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
4504 Remove fields uc_high_gprs and __reserved.
4505 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
4506 New file with reverted content.
4507 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
4508 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
4509 Regenerated.
4510 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
4511 Regenerated.
4512
6c9578a2
AS
45132014-07-31 Andreas Schwab <schwab@suse.de>
4514
4515 * config.h.in (HAVE_IFUNC): Define to 0.
4516 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
4517 definedness.
4518
05f3633d
LM
45192014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
4520
4521 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4522 memmove-avx-unaligned, memcpy-avx-unaligned and
4523 mempcpy-avx-unaligned.
4524 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4525 Add tests for AVX memcpy functions.
4526 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
4527 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
4528 memcpy_chk.
4529 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
4530 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
4531 memmove_chk.
4532 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
4533 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
4534 mempcpy_chk.
4535 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
4536 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
4537 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
4538
a53fbd8e
AZ
45392013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4540
4541 [BZ #17213]
4542 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
4543 powerpc64le.
4544
0961f7e1
JL
45452014-07-29 Jeff Layton <jlayton@poochiereds.net>
4546
4547 [BZ #16839]
4548 * manual/llio.texi: Add section about open file description locks.
4549 * manual/examples/ofdlocks.c: Example of open file description
4550 lock usage.
4551 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
4552 F_OFD_SETLK, and F_OFD_SETLKW.
4553
cc5fb300
AM
45542014-07-23 Allan McRae <allan@archlinux.org>
4555
4556 * po/es.po: Update Spanish translation from translation project.
4557
23329dca
AS
45582014-07-18 Andreas Schwab <schwab@linux-m68k.org>
4559
4560 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
4561
9c82da17
MR
45622014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
4563
4564 [BZ #17078]
4565 * sysdeps/arm/dl-machine.h (elf_machine_rela)
4566 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
4567 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
4568
29c4f53e
JM
45692014-07-17 Joseph Myers <joseph@codesourcery.com>
4570
831b9896
JM
4571 [BZ #17088]
4572 * math/fesetenv.c (__fesetenv)
4573 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
4574 * math/feupdateenv.c (__feupdateenv)
4575 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
4576
b21c2d50
JM
4577 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
4578 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4579 (__ASSUME_SOCKETCALL): Do not define.
4580
067764ef
JM
4581 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
4582 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
4583 (__ASSUME_SOCKETCALL): Do not define.
4584 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
4585 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4586 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4587 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4588 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4589 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
4590 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4591 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4592
642530c1
JM
4593 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
4594 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
4595 (__ASSUME_SOCKETCALL): Do not define.
4596 (__ASSUME_IPC64): Define unconditionally.
4597 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4598 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4599 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4600 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4601 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
4602 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4603 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
4604 Likewise.
4605
03f77315
JM
4606 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
4607 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
4608 (__ASSUME_SOCKETCALL): Do not define.
4609 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
4610 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4611 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4612 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4613 (__ASSUME_REQUEUE_PI): Define unconditionally.
4614 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
4615 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4616 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4617 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
4618 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4619 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4620
083b1f7c
JM
4621 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
4622 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
4623 (__ASSUME_SOCKETCALL): Do not define.
4624 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
4625 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4626 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4627 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
4628 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4629 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4630
5be44ea6
JM
4631 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
4632 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
4633 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4634 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
4635 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4636 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
4637 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4638 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
4639 (__ASSUME_GETCPU_SYSCALL): Likewise.
4640
d95ffd4c
JM
4641 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
4642 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
4643 cases for individual architectures.
4644 * sysdeps/gnu/configure: Regenerated.
4645 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
4646 LIBC_SLIBDIR_RTLDDIR.
4647 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
4648 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
4649 LIBC_SLIBDIR_RTLDDIR.
4650 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
4651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
4652 LIBC_SLIBDIR_RTLDDIR.
4653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4654 Regenerated.
4655 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
4656 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
4657 file.
4658 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
4659 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
4660 file.
4661 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
4662 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
4663 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
4664 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
4665
29c4f53e
JM
4666 * sysdeps/aarch64/shlib-versions: Move to ...
4667 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
4668 * sysdeps/alpha/shlib-versions: Move to ...
4669 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
4670 * sysdeps/arm/shlib-versions: Move to ...
4671 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
4672 * sysdeps/hppa/shlib-versions: Move all contents except for
4673 libgcc_s entry to ...
4674 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
4675 entry from ...
4676 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
4677 * sysdeps/ia64/shlib-versions: Move to ...
4678 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
4679 entry from ...
4680 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
4681 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
4682 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
4683 * sysdeps/microblaze/shlib-versions: Move to ...
4684 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
4685 * sysdeps/mips/shlib-versions: Move to ...
4686 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
4687 entry from ...
4688 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
4689 * sysdeps/tile/shlib-versions: Move to ...
4690 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
4691 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
4692 from ...
4693 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
4694 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
4695 entry from ...
4696 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
4697
32bead5b
WN
46982014-07-17 Will Newton <will.newton@linaro.org>
4699
57977c4b
WN
4700 * sysdeps/arm/bits/atomic.h
4701 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
4702 (__arch_compare_and_exchange_bool_16_int): Likewise.
4703 (__arch_compare_and_exchange_bool_64_int): Likewise.
4704
32bead5b
WN
4705 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
4706 into an #else block.
4707
37fccd41
RM
47082014-07-16 Roland McGrath <roland@hack.frob.com>
4709
4710 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
4711 just Linux configurations. Test empirically that the compiler sets
4712 __ARM_EABI__, rather than using the tuple to decide.
4713 * sysdeps/arm/preconfigure: Regenerated.
4714 * sysdeps/unix/sysv/linux/arm/configure: File removed.
4715 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
4716 contents appended ...
4717 * sysdeps/arm/configure.ac: ... here.
4718 * sysdeps/arm/configure: Regenerated.
4719
b365f3ec
RM
47202014-07-15 Roland McGrath <roland@hack.frob.com>
4721
8badf496
RM
4722 * nptl/pthread_kill.c: New file.
4723 * nptl/pthread_sigmask.c: New file.
4724 * nptl/pthread_sigqueue.c: New file.
4725
3df6f22e
RM
4726 * sysdeps/nptl/lowlevellock.h: New file.
4727 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
4728 * sysdeps/nptl/lowlevellock-futex.h: New file.
4729
b365f3ec
RM
4730 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
4731 Remove dead declarations.
4732
f2fef657
L
47332014-07-14 H.J. Lu <hongjiu.lu@intel.com>
4734
4735 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
4736 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
4737 config-cflags-avx2.
4738 * sysdeps/x86_64/configure.ac: Likewise.
4739 * sysdeps/i386/configure: Regenerated.
4740 * sysdeps/x86_64/configure: Likewise.
4741 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4742 memset-avx2 only if config-cflags-avx2 is yes.
4743 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4744 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
4745 defined.
4746 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
4747 only if HAVE_AVX2_SUPPORT is defined.
4748 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4749
f6c44d47
AM
47502014-07-14 Alan Modra <amodra@gmail.com>
4751
4752 [BZ #17153]
4753 * elf/elf.h (DT_PPC64_NUM): Correct value.
4754 * NEWS: Add to fixed bug list.
4755
7ee03f00
JM
47562014-07-13 Jim Meyering <meyering@fb.com>
4757
4758 [BZ 17150]
4759 regex: don't deref NULL upon heap allocation failure
4760 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
4761 failure in one more place.
4762 To trigger the segfault, configure grep -with-included-regex,
4763 build it, and run these commands:
4764 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
4765
9d39d517
AS
47662014-07-13 Andreas Schwab <schwab@linux-m68k.org>
4767
4768 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4769
a75b89b7
RH
47702014-07-11 Richard Henderson <rth@redhat.com>
4771
4772 * sysdeps/aarch64/libm-test-ulps: Update.
4773
771eb141
FW
47742014-07-10 Florian Weimer <fweimer@redhat.com>
4775
4776 [BZ #17135]
4777 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
4778 * nptl/allocatestack.c (__nptl_setxid_error): New function.
4779 (__nptl_setxid): Initialize error member. Call
4780 __nptl_setxid_error.
4781 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
4782 * nptl/descr.h (struct xid_command): Add error member.
4783 * nptl/tst-setuid3.c: New file.
4784 * nptl/Makefile (tests): Add it.
4785
bc1da176
AZ
47862014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4787
4788 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
4789 New define.
4790 (__lll_trylock): Use __lll_base_trylock.
4791 (__lll_cond_trylock): Likewise.
4792
887865fc
RM
47932014-07-10 Roland McGrath <roland@hack.frob.com>
4794
c0c6bac9
RM
4795 * nptl/pthread_create.c (start_thread): Use atomic_or and
4796 lll_futex_wake directly rather than lll_robust_dead.
4797 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4798 (lll_robust_dead): Macro removed.
6a42be57 4799 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
4800 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4801 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4802 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4803 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4804 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4805 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4806 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4807 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4808 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4809 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4810 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4811 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4812 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4813 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4814
887865fc
RM
4815 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4816 Use atomic_compare_and_exchange_val_acq directly rather than
4817 lll_robust_trylock.
4818 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4819 (__lll_robust_trylock, lll_robust_trylock): Removed.
4820 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4821 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4822 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4823 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4824 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4825 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4826 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4827 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4828 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4829 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4830 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4831 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4832 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4833 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4834
58536726
FW
48352014-07-02 Florian Weimer <fweimer@redhat.com>
4836
4837 * manual/locale.texi (Locale Names): New section documenting
4838 locale name syntax. Adjust menu and node chaining accordingly.
4839 (Choosing Locale): Reference Locale Names, Locale Categories.
4840 Mention setting LC_ALL=C. Reflect that name syntax is now
4841 documented.
4842 (Locale Categories): New section title. Reference Locale Names.
4843 LC_ALL is an environment variable, but not a category.
4844 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
4845 description, now in Locale Name. Reference that section. Locale
4846 name syntax is now documented.
4847
4e8f95a0
FW
48482014-07-02 Florian Weimer <fweimer@redhat.com>
4849
4850 [BZ #17137]
4851 * locale/findlocale.c (name_present, valid_locale_name): New
4852 functions.
4853 (_nl_find_locale): Use the loc_name variable to store name
4854 candidates. Call name_present and valid_locale_name to check and
4855 validate locale names. Return an error if the locale is invalid.
4856
d1836456
FW
48572014-07-02 Florian Weimer <fweimer@redhat.com>
4858
4859 * locale/setlocale.c (setlocale): Use strdup for allocating
4860 composite name copy.
4861
d69b7f5a
SP
48622014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4863
888c679b
SP
4864 Sync up with gnulib.
4865 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
4866 [!_LIBC && ENABLE_NLS]: Include gettext.h.
4867 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
4868 and _GL_ARG_NONNULL.
4869 [USE_UNLOCKED_IO]: Include unlocked-io.h.
4870 [!_LIBC]: Include code for Windows and Cygwin.
4871 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
4872 Include prototype for int strerror_r.
4873 [!_LIBC] (is_open): New function.
4874 (flush_stdout): New function.
4875 (print_errno_message): Use it.
4876 (error): Likewise.
4877 (error_at_line): Likewise.
4878 (error_tail) Add function attribute macros. Use
4879 __builtin_expect.
4880
180e0e4b
SP
4881 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
4882
d22f1fe2
SP
4883 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
4884
12f2254b
SP
4885 * io/ftw.c: Include sys/param.h unconditionally.
4886
c3c7c360
SP
4887 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
4888
d62aa75a
SP
4889 [BZ #17125]
4890 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
4891 libc_freeres_ptr.
4892 (freecache): New function to free CACHE on exit.
4893
d69b7f5a
SP
4894 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
4895 initialization.
4896
5efe06a1
DM
48972014-07-09 David S. Miller <davem@davemloft.net>
4898
4899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4900
7000d82e
DM
4901 * sysdeps/sparc/nptl/internaltypes.h: Delete.
4902 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
4903 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
4904 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
4905 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
4906 * sysdeps/sparc/nptl/sem_init.c: Likewise.
4907 * sysdeps/sparc/nptl/sem_post.c: Likewise.
4908 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
4909 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
4910 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
4911 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
4912 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
4913 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
4914
c213442d
AS
49152014-07-09 Andreas Schwab <schwab@suse.de>
4916
4a2552c3
AS
4917 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
4918 output.
4919 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
4920 (do_test): Likewise.
4921
c213442d
AS
4922 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4923
82374e65
WN
49242014-07-09 Will Newton <will.newton@linaro.org>
4925
4926 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
4927 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
4928 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
4929 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
4930 * sysdeps/hppa/start.S (_start): Likewise.
4931
6680738a
SP
49322014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4933
6ee3eab4
SP
4934 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
4935
6680738a
SP
4936 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
4937 defined.
4938
80b5c505
SP
49392014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4940
e35c53e3
SP
4941 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
4942 after checking that it is non-NULL.
4943
80b5c505
SP
4944 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
4945
91f4b564
AZ
49462014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4947
27b75f56
AZ
4948 * sysdeps/powerpc/memmove.c: Remove file.
4949 * sysdeps/powerpc/powerpc32/power4/memcopy.h
4950 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
4951 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
4952 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
4953 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
4954 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
4955 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
4956 string memmove instead of removed powerpc one.
4957
e7f95bb5
AZ
4958 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
4959 [weak_alias]: Fix compiler warning due trailing data.
4960 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
4961 [weak_alias]: Likewise.
4962 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
4963 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
4964
91f4b564
AZ
4965 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4966 (__libc_ifunc_impl_list): Add memmove functions.
4967
7c33f1e5
SP
49682014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4969
4970 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
4971 Remove code.
4972 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
4973 Likewise
4974 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
4975 Likewise
4976 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
4977 Likewise
4978 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
4979 Likewise
4980 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
4981 Likewise
4982 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
4983 Likewise
4984 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
4985 Likewise
4986 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
4987 Likewise
4988 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
4989 Likewise
4990 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
4991 Likewise
4992 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
4993 Likewise
4994 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
4995 Likewise
4996 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
4997 Likewise
4998 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
4999 Likewise
5000 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
5001 Likewise
5002 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
5003 Likewise
5004
3f17b03b
AZ
50052014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5006
87868c24
AZ
5007 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
5008 to avoid alignment traps in non-cacheable memory.
5009 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5010
07aedd78
AZ
5011 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
5012 multiarch objects.
5013 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
5014 file: multiarch power7 memmove.
5015 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
5016 multiarch default memmove.
5017 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
5018 multiarch memove for powerpc32/power4.
5019
17762f66
AZ
5020 * string/bcopy.c: Use full path to include memmove.c.
5021 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
5022 multiarch objects.
5023 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
5024 bcopy for powerpc64.
5025 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
5026 bcopy for powerpc64.
5027 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
5028 and memmove implementations.
5029 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
5030 optimized multiarch memmove for POWER7/powerpc64.
5031 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
5032 default multiarch memmove for powerpc64.
5033 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
5034 multiarch for powerpc64.
5035 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
5036 for POWER7/powerpc64.
5037 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
5038 memmove for POWER7/powerpc64.
5039
d6f68bbe
AZ
5040 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
5041 glibc default one.
5042
3f17b03b
AZ
5043 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
5044 __ELF_NATIVE_CLASS equal to 64.
5045
08192659
RM
50462014-07-07 Roland McGrath <roland@hack.frob.com>
5047
f4c4021b
RM
5048 * sysdeps/nptl/lowlevellock.h: File removed.
5049
f083450f
RM
5050 * NEWS: NPTL is no longer an add-on!
5051 * nptl/internaltypes.h: Moved ...
5052 * sysdeps/nptl/internaltypes.h: ... here.
5053 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
5054 * sysdeps/nptl/fork.c: Likewise.
5055 * sysdeps/nptl/gai_misc.h: Likewise.
5056 * sysdeps/nptl/librt-cancellation.c: Likewise.
5057 * sysdeps/nptl/jmp-unwind.c: Likewise.
5058 * sysdeps/nptl/setxid.h: Likewise.
5059 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
5060 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
5061 * sysdeps/unix/sysv/linux/arm/Implies: New file.
5062 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
5063 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
5064 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
5065 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
5066 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
5067 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
5068 * sysdeps/unix/sysv/linux/mips/Implies: New file.
5069 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
5070 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
5071 * sysdeps/unix/sysv/linux/sh/Implies: New file.
5072 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
5073 * sysdeps/unix/sysv/linux/tile/Implies: New file.
5074 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
5075 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
5076 * nptl/Makeconfig: Moved ...
5077 * sysdeps/nptl/Makeconfig: ... here.
5078 * nptl/configure: File removed.
5079 * nptl/ANNOUNCE: File removed.
5080 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
5081 * sysdeps/unix/sysv/linux/configure: Regenerated.
5082
08192659
RM
5083 * nptl/Makefile (routines): Add libc_pthread_init,
5084 libc_multiple_threads, register-atfork and unregister-atfork.
5085 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
5086 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
5087 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
5088 pthread-pi-defines.sym, structsem.sym.
5089 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
5090 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
5091 [$(subdir) = nptl] (tests): Add tst-setgetname.
5092 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
5093 * sysdeps/unix/sysv/linux/sigaction.c: Just include
5094 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
5095 [!LIBC_SIGACTION]: Remove aliases.
5096 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5097 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5098 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5099 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5100 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5101 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
5102 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5103 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5104 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5105 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
5106 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
5107 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
5108 __libc_allocate_rtsig_private.
5109 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
5110 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
5111 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
5112 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5113 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
5114 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
5115 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
5116 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
5117 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
5118 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
5119 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
5120 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
5121 * nptl/internaltypes.h: ... here.
5122 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
5123 * sysdeps/nptl/jmp-unwind.c: ... here.
5124 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
5125 * nptl/libc-lowlevellock.c: ... here.
5126 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
5127 * nptl/libc_multiple_threads.c: ... here.
5128 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
5129 * nptl/libc_pthread_init.c: ... here.
5130 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
5131 * nptl/lowlevelbarrier.sym: ... here.
5132 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
5133 * nptl/lowlevelcond.sym: ... here.
5134 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
5135 * nptl/lowlevellock.c: ... here.
5136 * nptl/lowlevellock.h: Moved ...
5137 * sysdeps/nptl/lowlevellock.h: ... here.
5138 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
5139 * nptl/lowlevelrobustlock.c: ... here.
5140 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
5141 * nptl/lowlevelrobustlock.sym: ... here.
5142 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
5143 * nptl/lowlevelrwlock.sym: ... here.
5144 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
5145 * nptl/pt-fork.c: ... here.
5146 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
5147 * nptl/pthread-pi-defines.sym: ... here.
5148 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
5149 * nptl/pthread_attr_getaffinity.c: ... here.
5150 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
5151 * nptl/pthread_attr_setaffinity.c: ... here.
5152 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
5153 * nptl/pthread_mutex_cond_lock.c: ... here.
5154 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5155 Update #include.
5156 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
5157 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
5158 * nptl/pthread_once.c: ... here, replacing old file.
5159 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
5160 * nptl/pthread_yield.c: ... here.
5161 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
5162 * nptl/register-atfork.c: ... here.
5163 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
5164 * nptl/sem_post.c: ... here.
5165 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
5166 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
5167 * nptl/sem_timedwait.c: ... here.
5168 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
5169 * nptl/sem_trywait.c: ... here.
5170 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
5171 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
5172 * nptl/sem_wait.c: ... here.
5173 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
5174 * nptl/structsem.sym: ... here.
5175 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
5176 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
5177 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
5178 * nptl/unregister-atfork.c: ... here.
5179 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
5180 * nptl/unwindbuf.sym: ... here.
5181 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
5182 * sysdeps/nptl/fork.c: ... here.
5183 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
5184 * sysdeps/nptl/fork.h: ... here.
5185 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
5186 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
5187 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
5188 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
5189 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
5190 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
5191 * sysdeps/unix/sysv/linux/getpid.c: ... here.
5192 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
5193 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
5194 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
5195 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
5196 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
5197 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
5198 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
5199 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
5200 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
5201 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
5202 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
5203 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
5204 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
5205 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
5206 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
5207 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
5208 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
5209 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
5210 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
5211 * sysdeps/unix/sysv/linux/raise.c: ... here.
5212 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
5213 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
5214 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
5215 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
5216 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
5217 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
5218 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
5219 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
5220 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
5221 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
5222 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
5223 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
5224 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
5225 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
5226 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
5227
96baf6ff
SP
52282014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5229
5230 * sysdeps/generic/memcopy.h: Add comment for
5231 MEMCPY_OK_FOR_FWD_MEMMOVE.
5232
6b7b14b2
WN
52332014-07-04 Will Newton <will.newton@linaro.org>
5234
1570a72b
WN
5235 * string/memchr.c: Merge from gnulib.
5236 [_LIBC]: Remove conditionals.
5237 (__ptr_t): Remove define.
5238 (LONG_MAX_32_BITS): Likewise.
5239 (LONG_MAX): Likewise.
5240 (MEMCHR): Use ANSI prototype and optimize algorithm.
5241
6b7b14b2
WN
5242 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
5243
38851324
SP
52442014-07-03 Roland McGrath <roland@hack.frob.com>
5245
3d9eb57c
RM
5246 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
5247 (lll_futex_timed_wait_bitset): Fix syscall argument count.
5248
78b984ae
RM
5249 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
5250 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
5251 in a bare environment with no <stdlib.h> installed.
5252 * sysdeps/nptl/configure: Regenerated.
5253
2d5976a5
RM
5254 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
5255
c1f5acd4
RM
5256 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
5257 AC_EGREP_CPP for kernel header checks, so they only succeed if
5258 including <linux/version.h> actually works right.
5259 * sysdeps/unix/sysv/linux/configure: Regenerated.
5260
4d614fe5
RM
5261 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
5262 value so it's not diagnosed as unused.
5263
38851324
SP
5264 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
5265 thing) with "ifeq ($(subdir),rt)".
5266
b3ec00e5
RH
52672014-07-03 Richard Henderson <rth@redhat.com>
5268
69862e25
RH
5269 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
5270 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
5271 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
5272
d5e16ade
RH
5273 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
5274 (math_force_eval): New.
5275
ca7b945c
RH
5276 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
5277 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
5278
cd1175a3
RH
5279 * sysdeps/alpha/fpu/s_round.c: Remove file.
5280 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
5281
b3ec00e5
RH
5282 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
5283 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
5284 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
5285 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
5286 (_dl_start, print_statistics): Likewise.
5287 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
5288 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
5289
5290 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5291 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5292 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5293 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5294 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5295 (HP_SMALL_TIMING_AVAIL): Define.
5296 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5297 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5298 (HP_SMALL_TIMING_AVAIL): Define.
5299 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5300 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5301
5302 * sysdeps/aarch64/hp-timing.h: New file.
5303
5304 * sysdeps/generic/hp-timing.h: Remove dead comment.
5305 * sysdeps/generic/hp-timing-common.h: New file.
5306 * sysdeps/alpha/hp-timing.h: Include it.
5307 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
5308 * sysdeps/i386/i686/hp-timing.h: Likewise.
5309 * sysdeps/ia64/hp-timing.h: Likewise.
5310 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5311 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5312 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5313 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5314 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
5315 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
5316 (hp_timing_t): New.
5317
5318 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
5319 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
5320 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
5321 * elf/rtld.c (_dl_start_final): Likewise.
5322 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
5323 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5324 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5325 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5326 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5327 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5328 (HP_TIMING_DIFF_INIT): Remove.
5329 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5330 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5331 (HP_TIMING_DIFF_INIT): Remove.
5332 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5333 * sysdeps/i386/i686/hp-timing.c: Remove file.
5334 * sysdeps/x86_64/hp-timing.c: Remove file.
5335 * sysdeps/ia64/hp-timing.c: Remove file.
5336 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
5337 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
5338 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
5339 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
5340
5341 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
5342 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
5343 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
5344 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5345 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5346 (HP_TIMING_ACCUM): Remove.
5347 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5348 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
5349 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5350
5351 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
5352 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
5353 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
5354 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
5355 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
5356 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5357 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
5358 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5359
5360 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
5361
225f410f
MR
53622014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
5363
5364 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
5365
3247f285
SP
53662014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5367
5368 Sync up with gettext.
5369 * intl/loadmsgcat.c: Define O_BINARY if not defined.
5370 [_MSC_VER]: Include malloc.h
5371 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
5372 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
5373 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
5374 TEMP_FAILURE_RETRY. Cast return of alloca.
5375 [!_LIBC] Call gl_rwlock_init.
5376 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
5377
d12704c7
SP
53782014-07-02 Roland McGrath <roland@hack.frob.com>
5379
5380 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
5381 before checking its value.
5382
99f8dc92
SP
53832014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5384
05fdac77
SP
5385 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
5386
99f8dc92
SP
5387 * debug/memcpy_chk.c: Don't include pagecopy.h.
5388 * debug/mempcpy_chk.c: Likewise.
5389 * string/memcpy.c: Likewise.
5390 * string/memmove.c: Likewise.
5391 * sysdeps/powerpc/memmove.c: Likewise.
5392 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
5393 definition of PAGE_COPY_FWD_MAYBE here...
5394 * sysdeps/generic/pagecopy.h: ... from here.
5395 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
5396
bc8ea385
VR
53972014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5398 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5399
5400 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
5401 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
5402 optimizations.
5403 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5404 (__libc_ifunc_impl_list): Likewise.
5405 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
5406 multiarch strcat for PPC64.
5407 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
5408 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
5409
fe5f34e4
RM
54102014-07-02 Roland McGrath <roland@hack.frob.com>
5411
5412 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
5413
256aa665
SP
54142014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5415
d4eb8195
SP
5416 * intl/loadmsgcat.c: Remove declaration of
5417 get_sysdep_segment_value.
5418 (get_sysdep_segment_value): Use ISO C style.
5419 (_nl_load_domain): Use ISO C style. Get rid of redundant
5420 semicolon. Fix typo and formatting in comment.
5421 (_nl_unload_domain): Use ISO C style.
5422
256aa665
SP
5423 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
5424
b100f9aa
WN
54252014-07-02 Will Newton <will.newton@linaro.org>
5426
5427 * malloc/obstack.c: Merge from gnulib master.
5428 [HAVE_CONFIG_H]: Remove conditional code.
5429 [!_LIBC]: Include config.h.
5430 [!ELIDE_CODE]: Don't include inttypes.h, include
5431 stdint.h unconditionally.
5432 (print_and_abort): Mark as _Noreturn.
5433 (_obstack_allocated_p): Mark as __attribute_pure__.
5434 (obstack_free): Rename to __obstack_free.
5435 [!__attribute__]: Remove conditional code.
5436 * malloc/obstack.h: Merge from gnulib master.
5437 [__cplusplus]: Move conditional down.
5438 [!__attribute_pure__]: Define __attribute_pure__ here
5439 if it is not already defined.
5440 (_obstack_memory_used): Mark as __attribute_pure__.
5441 [!__obstack_free]: Define as obstack_free.
5442 [__GNUC__]: Remove check for ancient NeXT gcc.
5443
c4c41244
PE
54442014-07-02 Will Newton <will.newton@linaro.org>
5445 Paul Eggert <eggert@cs.ucla.edu>
5446
5447 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
5448
e1e041c4
SP
54492014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5450
5451 * resolv/gethnamaddr.c: Add comment warning that the file is
5452 not maintained.
5453
ccf431ff
CD
54542014-07-01 Carlos O'Donell <carlos@redhat.com>
5455
d34570a6
CD
5456 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
5457 entries.
5458
ccf431ff
CD
5459 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
5460 entry for aio_cancel and aio_cancel64.
5461 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
5462 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
5463 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
5464 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
5465 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
5466 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
5467 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
5468 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
5469 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
5470 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
5471 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
5472 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
5473 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
5474
ca06321d
RM
54752014-07-01 Roland McGrath <roland@hack.frob.com>
5476
5477 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
5478 * nptl/pthread_mutex_lock.c: Likewise.
5479 * nptl/pthread_mutex_timedlock.c: Likewise.
5480 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
5481
a1ac3184
RH
54822014-07-01 Richard henderson <rth@redhat.com>
5483
631021e0
RH
5484 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
5485 (__isnan, __isnanl): Remove.
5486 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
5487
a1ac3184
RH
5488 * sysdeps/alpha/fpu/libm-test-ulps: Update.
5489
0c1d731f
SL
54902014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
5491
5492 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5493
76985d3e
SP
54942014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5495
5496 * resolv/nss_dns/dns-host.c (getanswer_r)
5497 [MULTI_PTRS_ARE_ALIASES]: Remove code.
5498
b0cb3096
JM
54992014-07-01 Joseph Myers <joseph@codesourcery.com>
5500
5501 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5502 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
5503 undefine.
5504 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
5505 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
5506
4d76cb39
RM
55072014-07-01 Roland McGrath <roland@hack.frob.com>
5508
5509 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
5510 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
5511
5512 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
5513 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
5514
5515 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
5516 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
5517 ... here.
5518 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
5519 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
5520
5521 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
5522 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
5523 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
5524 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
5525
5526 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
5527 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
5528 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
5529 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
5530 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
5531 Moved ...
5532 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
5533 ... here.
5534 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
5535 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
5536 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
5537 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
5538 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
5539 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
5540 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
5541 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
5542 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
5543 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
5544 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
5545 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
5546 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
5547 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
5548 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
5549 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
5550 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
5551 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
5552 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
5553 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
5554 ... here.
5555 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
5556 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
5557 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
5558 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
5559 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
5560 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
5561 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
5562 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
5563
0cdcad17
DH
55642014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
5565
5566 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
5567 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
5568 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
5569 Add sysdep.
5570
9b71d0e3
AZ
55712014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5572
5573 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5574
665390c2
JM
55752014-06-30 Joseph Myers <joseph@codesourcery.com>
5576
ae05a9d7
JM
5577 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5578 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5579
a7672a2f
JM
5580 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5581
665390c2
JM
5582 * sysdeps/arm/libm-test-ulps: Regenerated.
5583
d7a05d07
MR
55842014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5585 Roland McGrath <roland@hack.frob.com>
5586
5587 * test-skeleton.c (signal_handler): Kill the whole process group
5588 before killing the child individually.
5589 (main): Report any failure on `setpgid'.
5590
46f1d8a6
RM
55912014-06-30 Roland McGrath <roland@hack.frob.com>
5592
5593 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
5594 from _TLS_H to _ARM_NPTL_TLS_H.
5595 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
5596 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
5597
9c37ec0b
JM
55982014-06-30 Joseph Myers <joseph@codesourcery.com>
5599
ce9c5b3e
JM
5600 [BZ #16539]
5601 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
5602 (__expm1l): Return argument unchanged when small but not
5603 subnormal.
5604
3a6e9887
JM
5605 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
5606 include macro name.
5607 (_FP_UNPACK_RAW_1_P): Likewise.
5608 (_FP_PACK_RAW_1): Likewise.
5609 (_FP_PACK_RAW_1_P): Likewise.
5610 (_FP_MUL_MEAT_1_wide): Likewise.
5611 (_FP_MUL_MEAT_DW_1_hard): Likewise.
5612 (_FP_MUL_MEAT_1_hard): Likewise.
5613 (_FP_DIV_MEAT_1_imm): Likewise.
5614 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
5615 (_FP_DIV_MEAT_1_udiv): Likewise.
5616 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
5617 (_FP_UNPACK_RAW_2): Likewise.
5618 (_FP_UNPACK_RAW_2_P): Likewise.
5619 (_FP_PACK_RAW_2): Likewise.
5620 (_FP_PACK_RAW_2_P): Likewise.
5621 (_FP_MUL_MEAT_DW_2_wide): Likewise.
5622 (_FP_MUL_MEAT_2_wide): Likewise.
5623 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
5624 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5625 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
5626 (_FP_MUL_MEAT_2_gmp): Likewise.
5627 (_FP_DIV_MEAT_2_udiv): Likewise.
5628 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
5629 (_FP_FRAC_SRL_4): Likewise.
5630 (_FP_FRAC_SRST_4): Likewise.
5631 (_FP_FRAC_SRS_4): Likewise.
5632 (_FP_UNPACK_RAW_4): Likewise.
5633 (_FP_UNPACK_RAW_4_P): Likewise.
5634 (_FP_PACK_RAW_4): Likewise.
5635 (_FP_PACK_RAW_4_P): Likewise.
5636 (_FP_MUL_MEAT_DW_4_wide): Likewise.
5637 (_FP_MUL_MEAT_4_wide): Likewise.
5638 (_FP_MUL_MEAT_4_gmp): Likewise.
5639 (umul_ppppmnnn): Likewise.
5640 (_FP_DIV_MEAT_4_udiv): Likewise.
5641 (__FP_FRAC_ADD_4): Likewise.
5642 (__FP_FRAC_SUB_3): Likewise.
5643 (__FP_FRAC_SUB_4): Likewise.
5644 (__FP_FRAC_DEC_3): Likewise.
5645 (__FP_FRAC_DEC_4): Likewise.
5646 (__FP_FRAC_ADDI_4): Likewise.
5647 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
5648 (_FP_FRAC_SRL_8): Likewise.
5649 (_FP_FRAC_SRS_8): Likewise.
5650
9c37ec0b
JM
5651 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
5652 include macro name.
5653 (FP_UNPACK_RAW_EP): Likewise.
5654 (FP_PACK_RAW_E): Likewise.
5655 (FP_PACK_RAW_EP): Likewise.
5656 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
5657 (_FP_ISSIGNAN): Likewise.
5658 (_FP_ADD_INTERNAL): Likewise.
5659 (_FP_FMA): Likewise.
5660 (_FP_CMP): Likewise.
5661 (_FP_SQRT): Likewise.
5662 (_FP_TO_INT): Likewise.
5663 (_FP_FROM_INT): Likewise.
5664 (FP_EXTEND): Likewise.
5665 (_FP_DIV_MEAT_N_loop): Likewise.
5666
2125f674
MR
56672014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5668
5669 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
5670 throughout.
5671
edea4028
JM
56722014-06-29 Joseph Myers <joseph@codesourcery.com>
5673
5674 [BZ #17097]
5675 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
5676 result with correct sign in case of exponents that produce
5677 overflow except for X very close to 1.
5678
dd0ba018
PE
56792014-06-28 Paul Eggert <eggert@cs.ucla.edu>
5680
5681 mktime: merge #if/#ifdef usage from glibc
5682 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
5683 as that works with both Glibc's and Gnulib's style.
5684 See thread starting at Siddhesh Poyarekar's bug report at:
5685 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
5686
64df73c2
SP
56872014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5688
5689 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
5690 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
5691 * sysdeps/tile/tilegx/memmove.c: Remove file.
5692
f1eafb41
JM
56932014-06-27 Joseph Myers <joseph@codesourcery.com>
5694
5695 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
5696 abi-name definition.
5697 * scripts/soversions.awk: Do not handle or generate ABI lines.
5698 * shlib-versions: Remove ABI entries.
5699 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
5700 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
5701
58eb0862
RM
57022014-06-27 Roland McGrath <roland@hack.frob.com>
5703
37caf178
RM
5704 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
5705 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
5706 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
5707 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
5708 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
5709 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
5710 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
5711 Moved ...
5712 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
5713 ... here.
5714 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
5715 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
5716 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
5717 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
5718 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
5719 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
5720 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
5721 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
5722 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
5723 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
5724 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
5725 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
5726 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
5727 Moved ...
5728 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
5729 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
5730 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
5731 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
5732 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
5733 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
5734 Moved ...
5735 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
5736 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
5737 Moved ...
5738 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
5739 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
5740 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
5741 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
5742 Moved ...
5743 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
5744 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
5745 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
5746 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
5747 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
5748 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
5749 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
5750 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
5751 Moved ...
5752 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
5753 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
5754 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
5755 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
5756 Moved ...
5757 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
5758 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
5759 Moved ...
5760 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
5761 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
5762 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
5763 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
5764 Moved ...
5765 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
5766 ... here.
5767 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
5768 Identical file removed.
5769 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
5770 Moved ...
5771 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
5772 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
5773 Identical file removed.
5774 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
5775 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
5776 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
5777 Moved ...
5778 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
5779 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
5780 Identical file removed.
5781 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
5782 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
5783 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
5784 Identical file removed.
5785 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
5786 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
5787 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
5788 Identical file removed.
5789 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
5790 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
5791 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
5792 Identical file removed.
5793 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
5794 Moved ...
5795 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
5796 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
5797 Identical file removed.
5798 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
5799 Moved ...
5800 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
5801 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
5802 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
5803 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
5804 Identical file removed.
5805 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
5806 Moved ...
5807 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
5808 ... here.
5809 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
5810 Identical file removed.
5811 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
5812 Moved ...
5813 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
5814 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
5815 Identical file removed.
5816 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
5817 Moved ...
5818 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
5819 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
5820 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
5821 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
5822 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
5823 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
5824 Moved ...
5825 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
5826 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
5827 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
5828
58eb0862
RM
5829 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
5830 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
5831 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
5832 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
5833 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
5834
6f12d062
AS
58352014-06-27 Arjun Shankar <arjun.is@lostca.se>
5836
5837 [BZ #17092]
5838 * nscd/nscd.c (monitor_child): Return exit status of child
5839 instead of return value from wait syscall.
5840
be254932
JM
58412014-06-27 Joseph Myers <joseph@codesourcery.com>
5842
cb403c34
JM
5843 * configure.ac (libc_commonpagesize): Remove variable.
5844 (libc_relro_required): Likewise.
5845 (libc_cv_z_relro): Remove configure test.
5846 * configure: Regenerated.
5847 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
5848 variable.
5849 (libc_relro_required): Likewise.
5850 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
5851 (libc_relro_required): Likewise.
5852 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
5853 (libc_relro_required): Likewise.
5854 * sysdeps/arm/preconfigure: Regenerated.
5855 * sysdeps/ia64/preconfigure: Remove file.
5856 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
5857 variable.
5858 (libc_relro_required): Likewise.
5859
be254932
JM
5860 [BZ #16561]
5861 [BZ #16562]
5862 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
5863 (__ieee754_yn): Set FE_TONEAREST mode internally and then
5864 recompute overflowing results in original rounding mode.
5865 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
5866 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
5867 recompute overflowing results in original rounding mode.
5868 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
5869 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5870 recompute overflowing results in original rounding mode.
5871 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
5872 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5873 recompute overflowing results in original rounding mode.
5874 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
5875 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5876 recompute overflowing results in original rounding mode.
5877 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
5878 (libc_feholdsetround_ctx): New macro.
5879 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
5880 * sysdeps/i386/fpu/libm-test-ulps: Update.
5881 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
5882
b351d85a
JM
58832014-06-26 Joseph Myers <joseph@codesourcery.com>
5884
5885 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
5886 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
5887 corresponding .cpsetup call.
5888
3cb4de47
RM
58892014-06-26 Roland McGrath <roland@hack.frob.com>
5890
5891 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
5892 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
5893 * sysdeps/arm/Makefile [$(subdir) = csu]
5894 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
5895 (static-only-routines): Add aeabi_read_tp here.
5896 (shared-only-routines): Add libc-aeabi_read_tp here.
5897 (CFLAGS-libc-start.c): Add -fexceptions here.
5898 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
5899 (sysdep_routines, static-only-routines, shared-only-routines):
5900 Don't add to these here.
5901 (CFLAGS-libc-start.c): Likewise.
5902
5903 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
5904 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5905 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
5906 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5907 * sysdeps/arm/Makefile [$(subdir) = rt]
5908 (librt-sysdep_routines, librt-shared-only-routines):
5909 Append rt-aeabi_unwind_cpp_pr1 here.
5910 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
5911 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
5912 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
5913 (libpthread-sysdep_routines, libpthread-shared-only-routines):
5914 Append nptl-aeabi_unwind_cpp_pr1 here.
5915 (tests): Filter out tst-cleanupx4 here.
5916 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
5917 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
5918 Don't do those here.
5919
354426bb
JM
59202014-06-26 Joseph Myers <joseph@codesourcery.com>
5921
5922 * scripts/list-sources.sh: Do not handle ports specially.
5923
28b0a8c9
RM
59242014-06-26 Roland McGrath <roland@hack.frob.com>
5925
a3dd035d
RM
5926 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
5927 * sysdeps/arm/feupdateenv.c: Likewise.
5928
28b0a8c9
RM
5929 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
5930
e66a8203
JM
59312014-06-26 Joseph Myers <joseph@codesourcery.com>
5932
5933 * manual/texinfo.tex: Update to version 2014-05-05.10 with
5934 trailing whitespace removed.
5935 * scripts/config.guess: Update to version 2014-03-23.
5936 * scripts/config.sub: Update to version 2014-05-01
5937 * scripts/install-sh: Update to version 2013-12-25.23.
5938 * scripts/move-if-change: Update from gnulib.
5939
74171115
SP
59402014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5941
b97c9ce5
SP
5942 * debug/memmove_chk.c: Remove pagecopy.h include.
5943
4000f892
SP
59442014-06-26 Paul Eggert <eggert@cs.ucla.edu>
5945
74171115
SP
5946 * time/mktime.c (leapyear): Remove inline keyword. The code is now
5947 identical to gnulib mktime.
5948
a8779c28
JM
59492014-06-26 Joseph Myers <joseph@codesourcery.com>
5950
e64708de
JM
5951 * configure.ac: Do not test for machine being rs6000. Do not test
5952 for powerpc*-*soft.
5953 * configure: Regenerated.
5954
a8779c28
JM
5955 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
5956 test.
5957 * configure: Regenerated.
5958 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
5959 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
5960 Remove configure test.
5961 * sysdeps/arm/configure: Regenerated.
5962 * sysdeps/nptl/configure.ac: Do not check
5963 libc_cv_asm_cfi_directives.
5964 * sysdeps/nptl/configure: Regenerated.
5965 * sysdeps/x86_64/nptl/configure.ac: Remove file.
5966 * sysdeps/x86_64/nptl/configure: Remove generated file.
5967 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
5968 unconditional.
5969 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
5970
2aac0a86
SP
59712014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5972
059bf913
SP
5973 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
5974 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
5975 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
5976 it is defined.
5977
4cf5b6d0
SP
5978 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
5979 instead of whether it is defined.
5980 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
5981 * sysdeps/hppa/dl-machine.h: Likewise.
5982 * sysdeps/ia64/dl-machine.h: Likewise.
5983 * sysdeps/m68k/dl-machine.h: Likewise.
5984 * sysdeps/microblaze/dl-machine.h: Likewise.
5985 * sysdeps/mips/dl-machine.: Likewise.
5986 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5987 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5988 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5989 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5990 * sysdeps/sh/dl-machine.h: Likewise.
5991 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5992 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5993 * sysdeps/tile/dl-machine.h: Likewise.
5994 * sysdeps/x86_64/dl-machine.h: Likewise.
5995
2aac0a86
SP
5996 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
5997 code.
5998 (verify_persistent_db): Likewise.
5999
6ad2df0b
RM
60002014-06-26 Roland McGrath <roland@hack.frob.com>
6001
d8a483f3
RM
6002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
6003 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
6004 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
6005 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
6006 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6007 Moved ...
6008 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
6009 ... here.
6010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
6011 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
6012 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
6013 Identical file removed.
6014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
6015 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
6016 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
6017 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
6018 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
6019 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
6020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
6021 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
6022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
6023 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
6024 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6025 Moved ...
6026 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
6027 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
6028 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
6029 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
6030 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
6031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6032 Moved ...
6033 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
6034 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
6035 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
6036 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
6037 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
6038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6039 Identical file removed.
6040 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
6041 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
6042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
6043 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
6044 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6045 Moved ...
6046 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
6047 ... here.
6048 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
6049 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
6050 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
6051 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
6052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
6053 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
6054 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
6055 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
6056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
6057 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
6058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6059 Moved ...
6060 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
6061 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
6062 Moved ...
6063 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
6064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
6065 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
6066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6067 Moved ...
6068 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
6069 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
6070 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
6071
52ae23b4
RM
6072 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
6073 folded into ...
6074 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
6075 * sysdeps/unix/sysv/linux/s390/Versions
6076 (libpthread: GLIBC_2.19): New version set.
6077 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
6078 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
6079 (librt: GLIBC_2.3.3): New version set.
6080 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
6081 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
6082 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
6083 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
6084 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
6085 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
6086 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
6087 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
6088 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
6089 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
6090 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
6091 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
6092 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
6093 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
6094 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
6095 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
6096 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
6097 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
6098 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
6099 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
6100 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
6101 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
6102 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
6103 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
6104 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
6105 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
6106 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
6107 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
6108 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
6109 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
6110 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
6111 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
6112 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
6113 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
6114 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
6115 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
6116 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
6117 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
6118 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
6119 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
6120 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
6121 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
6122 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
6123 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
6124 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
6125
39507e4a
RM
6126 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
6127 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
6128 (__libc_vfork): Define the function under this name.
6129 [!NOT_IN_libc] (__vfork): Make this an alias.
6130 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6131 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
6132 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
6133 (__libc_vfork): Define the function under this name.
6134 [!NOT_IN_libc] (__vfork): Make this an alias.
6135 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6136 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
6137 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
6138 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
6139 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
6140 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6141
e549ee56
RM
6142 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
6143 code that was previously under [RESET_PID].
6144 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6145 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
6146 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
6147
6ad2df0b
RM
6148 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
6149 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
6150 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
6151 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
6152 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
6153 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
6154 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
6155 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
6156 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
6157 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
6158 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
6159 Moved ...
6160 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
6161 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
6162 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
6163 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
6164 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
6165 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
6166 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
6167 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
6168 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
6169 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
6170 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
6171 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
6172 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
6173 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
6174 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
6175 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
6176 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
6177 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
6178 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
6179 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
6180 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
6181 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
6182 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
6183 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
6184 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
6185 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
6186 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
6187 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
6188 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
6189
7c1c1d8e
RM
61902014-06-25 Roland McGrath <roland@hack.frob.com>
6191
6192 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
6193 that was previously under [RESET_PID].
6194 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
6195
3e239be6
JM
61962014-06-25 Joseph Myers <joseph@codesourcery.com>
6197
74385da5
JM
6198 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
6199 not undefine and redefine.
6200 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
6201 [O_CLOEXEC]: Make code unconditional.
6202 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
6203 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
6204 <kernel-features.h>.
6205 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
6206 conditional variable definition.
6207 (shm_open) [O_CLOEXEC]: Make code unconditional.
6208 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
6209 code.
6210
c2570a0b
JM
6211 * configure.ac (USE_REGPARMS): Don't define here.
6212 * configure: Regenerated.
6213 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
6214 * sysdeps/i386/configure: Regenerated.
6215
11b076bb
JM
6216 * nptl/createthread.c: Don't include kernel-features.h.
6217 * nptl/pthread_cancel.c: Likewise.
6218 * nptl/pthread_condattr_setclock.c: Likewise.
6219 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
6220 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
6221 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
6222 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
6223 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
6224 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
6225 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6226 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
6227 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6228 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
6229 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
6230 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
6231 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
6232 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
6233 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
6234 * nscd/gai.c: Likewise.
6235 * nss/nss_db/db-open.c: Likewise.
6236 * sysdeps/generic/ldsodefs.h: Likewise.
6237 * sysdeps/sh/nptl/tls.h: Likewise.
6238 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6239 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
6240 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
6241 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
6242 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
6243 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6244 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
6245 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6246 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6247 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6248 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6249 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6250 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
6251 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
6252 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6253 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
6254 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
6255 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
6256 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
6257 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6258 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6259 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6260 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
6261 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
6262 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6263 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6264 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
6265 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
6266 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6267 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
6268 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
6269 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6270 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6271 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6272 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6273 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6274 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6275 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6276 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
6277 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6278 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6279 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
6280 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
6281 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6282 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6283 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
6284 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
6285 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
6286 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
6287 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6288 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6289 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6290 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6291 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6292 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
6293 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6294 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6295 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
6296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
6298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
6299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
6300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
6301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
6308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
6309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
6310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
6316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
6317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
6318 * sysdeps/unix/sysv/linux/pread.c: Likewise.
6319 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6320 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
6321 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6322 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6323 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6324 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6325 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6326 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
6327 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6328 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
6329 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6330 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6331 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
6332 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6333 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6334 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6335 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6336 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
6337 * sysdeps/unix/sysv/linux/system.c: Likewise.
6338 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
6339 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6340 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6341 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6342 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6343 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6344 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
6345
92072d57
JM
6346 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
6347 * configure: Regenerated.
6348 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
6349
3e239be6
JM
6350 * configure.ac (base_machine): Do not set specially for particular
6351 machines here.
6352 * configure: Regenerated.
6353 * sysdeps/powerpc/preconfigure: Move machine and base_machine
6354 settings from configure.ac.
6355 * sysdeps/i386/preconfigure: New file.
6356 * sysdeps/s390/preconfigure: Likewise.
6357 * sysdeps/sh/preconfigure: Likewise.
6358 * sysdeps/sparc/preconfigure: Likewise.
6359
06d50baa
RM
63602014-06-25 Roland McGrath <roland@hack.frob.com>
6361
74836003
RM
6362 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
6363 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
6364 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
6365 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
6366 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
6367 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
6368 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
6369 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
6370 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
6371 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
6372 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
6373 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
6374 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
6375 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
6376 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
6377 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
6378 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
6379 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
6380 * sysdeps/sparc/sparc64/Makefile: ... appended here.
6381
6382 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
6383 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
6384 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
6385 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
6386 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
6387 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
6388 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
6389 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
6390 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
6391 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
6392 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
6393 * sysdeps/sparc/sparc32/sem_post.c: ... here.
6394 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
6395 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
6396 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
6397 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
6398 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
6399 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
6400 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
6401 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
6402 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
6403 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
6404 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
6405 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
6406 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
6407 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
6408 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
6409 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
6410 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
6411 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
6412 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
6413 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
6414 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
6415 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
6416 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
6417 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
6418 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
6419 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
6420
06d50baa
RM
6421 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
6422 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
6423 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
6424 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
6425 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6426 Moved ...
6427 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
6428 ... here.
6429 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
6430 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
6431 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
6432 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
6433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
6434 Moved ...
6435 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
6436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
6437 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
6438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
6439 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
6440 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
6441 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
6442 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6443 Moved ...
6444 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
6445 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6446 Moved ...
6447 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
6448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
6449 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
6450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6451 Moved ...
6452 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
6453 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
6454 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
6455 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
6456 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
6457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
6458 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
6459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
6460 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
6461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6462 Moved ...
6463 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
6464 ... here.
6465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
6466 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
6467 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
6468 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
6469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
6470 Moved ...
6471 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
6472 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
6473 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
6474 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
6475 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
6476 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
6477 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
6478 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6479 Moved ...
6480 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
6481 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6482 Moved ...
6483 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
6484 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
6485 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
6486 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6487 Moved ...
6488 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
6489 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
6490 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
6491 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
6492 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
6493
a4ccbc9b
JM
64942014-06-25 Joseph Myers <joseph@codesourcery.com>
6495
0828edbf
JM
6496 * timezone/checktab.awk: Update from tzcode 2014e.
6497 * timezone/private.h: Likewise.
6498 * timezone/tzfile.h: Likewise.
6499 * timezone/zdump.c: Likewise.
6500 * timezone/zic.c: Likewise.
6501
a4ccbc9b
JM
6502 * sysdeps/unix/sysv/linux/kernel-features.h
6503 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
6504 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
6505 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
6506 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6507 Remove conditional code.
6508
9aea0cb8
WN
65092014-06-25 Will Newton <will.newton@linaro.org>
6510
6511 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
6512 (_dl_arm_cap_flags): Add HWCAP2 values.
6513 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
6514 (_DL_HWCAP_COUNT): Increase to 37.
6515 (_DL_HWCAP_LAST): New define.
6516 (_DL_HWCAP2_LAST): New define.
6517 (_dl_procinfo): Add support for printing
6518 AT_HWCAP2 entries.
6519 (_dl_string_hwcap): Use _dl_hwcap_string.
6520
6eaa65ce
AZ
65212014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6522
6523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6524
0f5b7185
JM
65252014-06-25 Joseph Myers <joseph@codesourcery.com>
6526
cfd2ea50
JM
6527 * README: Do not mention ports directory.
6528
cecf2ed4
JM
6529 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
6530 Remove macro.
6531 * sysdeps/unix/sysv/linux/futimes.c: Do not include
6532 <kernel-features.h>.
6533 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
6534 conditional variable definition.
6535 (__futimes): Update comment.
6536 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
6537 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
6538
a638de82
JM
6539 [BZ #16560]
6540 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
6541 arguments close to 0.
6542 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
6543 Likewise.
6544 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
6545 Likewise.
6546 * math/auto-libm-test-in: Add more tests of exp10.
6547 * math/auto-libm-test-out: Regenerated.
6548 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6549
0f5b7185
JM
6550 * sysdeps/unix/sysv/linux/kernel-features.h
6551 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
6552 * sysdeps/unix/sysv/linux/readv.c: Do not include
6553 <kernel-features.h>.
6554 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6555 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6556 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6557 unconditional.
6558 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6559 conditional code.
6560 * sysdeps/unix/sysv/linux/writev.c: Do not include
6561 <kernel-features.h>.
6562 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6563 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6564 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6565 unconditional.
6566 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6567 conditional code.
6568
c7aec4be
WN
65692014-06-25 Will Newton <will.newton@linaro.org>
6570
6571 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
6572 comment changes throughout the file. Remove checks
6573 for HAVE_*_H definitions that are not required.
6574 (__gen_tempname): Call abort if an unknown kind value is
6575 passed.
6576
c5241f95
AS
65772014-06-25 Andreas Schwab <schwab@suse.de>
6578
6579 [BZ #17086]
6580 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
6581 scalbln, scalblnf, scalblnl in libc.
6582
911422da
SP
65832014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6584
6585 [BZ #17086]
6586 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
6587 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6588 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6589
0d749bbe
RM
65902014-06-24 Roland McGrath <roland@hack.frob.com>
6591
6592 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
6593 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
6594 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
6595 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
6596 Update #include.
6597 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
6598 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
6599 Update #include.
6600 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
6601 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
6602 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
6603 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
6604 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
6605 * sysdeps/x86/bits/pthreadtypes.h: ... here.
6606 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
6607 * sysdeps/x86/bits/semaphore.h: ... here.
6608 * sysdeps/x86/nptl/elide.h: Moved ...
6609 * sysdeps/x86/elide.h: ... here.
6610 * sysdeps/x86_64/nptl/Implies: File removed.
6611 * sysdeps/i386/nptl/Implies: File removed.
6612
0ea5d373
JM
66132014-06-24 Joseph Myers <joseph@codesourcery.com>
6614
4060283d
JM
6615 [BZ #16539]
6616 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
6617 return the argument for normal arguments with exponent below -64.
6618 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6619 Likewise.
6620 * math/auto-libm-test-in: Add another test of expm1.
6621 * math/auto-libm-test-out: Regenerated.
6622
e7dd3c8c
JM
6623 [BZ #16287]
6624 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
6625 calling __erfcl for arguments at least 16.
6626 * math/auto-libm-test-in: Add more tests of erf.
6627 * math/auto-libm-test-out: Regenerated.
6628
0ea5d373
JM
6629 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
6630 individual architectures.
6631 * sysdeps/unix/sysv/linux/configure: Regenerated.
6632 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
6633 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
6634 * sysdeps/unix/sysv/linux/powerpc/configure.ac
6635 (ldd_rewrite_script): Define variable.
6636 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
6638 file.
6639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
6640 generated file.
6641 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
6642 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
6643 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
6644 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
6645 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
6646 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
6647 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
6648 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
6649
2307e126
SP
66502014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6651
6652 [BZ #17084]
6653 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
6654 Rename member __data.d to __data.__elision_data.
6655
c0a4ed77
W
66562014-06-24 Wilco <wdijkstr@arm.com>
6657
6658 * NEWS: Add 16918 to fixed bug list.
6659
b8c00573
W
66602014-06-24 Wilco <wdijkstr@arm.com>
6661
6662 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
6663
b5570d92
W
66642014-06-24 Wilco <wdijkstr@arm.com>
6665
6666 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
6667 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
6668 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
6669 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
6670 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
6671 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
6672 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
6673 Use _FPU_MASK_RM.
6674
947bdca2
W
66752014-06-24 Wilco <wdijkstr@arm.com>
6676
6677 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
6678
00f669ed
W
66792014-06-24 Wilco <wdijkstr@arm.com>
6680
6681 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
6682 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
6683 * sysdeps/arm/fesetround.c (fesetround): Remove space.
6684 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
6685
db59bad3
W
66862014-06-24 Wilco <wdijkstr@arm.com>
6687
6688 [BZ #16918]
6689 * sysdeps/arm/feupdateenv.c (feupdateenv):
6690 Rewrite to reduce FPSCR accesses and fix return value.
6691
001f7b77
W
66922014-06-24 Wilco <wdijkstr@arm.com>
6693
6694 * sysdeps/arm/fclrexcpt.c (feclearexcept):
6695 Optimize to avoid unnecessary FPSCR writes.
6696 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
6697 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
6698 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
6699 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
6700
4841e6a6
W
67012014-06-24 Wilco <wdijkstr@arm.com>
6702
6703 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
6704 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
6705 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
6706 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
6707 Call libc_fetestexcept_vfp.
6708 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
6709 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
6710 __SOFTFP__ ifdef so that they can be built for softfp.
6711
0813022c
SP
67122014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6713
08e5862f
SP
6714 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
6715 argument type signed char.
6716
0813022c
SP
6717 * Makerules (check-abi): Dump diff of symlist if the test
6718 fails.
6719
3fc7236a
RM
67202014-06-23 Roland McGrath <roland@hack.frob.com>
6721
aba8ef95
RM
6722 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
6723 using abort.
6724
3fc7236a
RM
6725 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6726 Remove unused variable ST.
6727
4da6db51
JM
67282014-06-23 Joseph Myers <joseph@codesourcery.com>
6729
4648909d
JM
6730 [BZ #16354]
6731 [BZ #17061]
6732 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
6733 small arguments before calling __expm1.
6734 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
6735 small arguments before calling __expm1f.
6736 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
6737 small arguments before calling __expm1l.
6738 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6739 Likewise.
6740 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
6741 * math/auto-libm-test-in: Add more cosh tests. Do not allow
6742 spurious underflow for some cosh tests.
6743 * math/auto-libm-test-out: Regenerated.
6744 * sysdeps/i386/fpu/libm-test-ulps: Update.
6745
46a3d3c7
JM
6746 [BZ #17050]
6747 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
6748 (__ieee754_y1): Set errno if return value overflows.
6749 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
6750 (__ieee754_y1f): Set errno if return value overflows.
6751 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
6752 (__ieee754_y1l): Set errno if return value overflows.
6753 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
6754 (__ieee754_y1l): Set errno if return value overflows.
6755 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
6756 * math/auto-libm-test-out: Regenerated.
6757
863893ec
JM
6758 * math/gen-auto-libm-tests.c: Document use of
6759 ignore-zero-inf-sign.
6760 (input_flag_type): Add value flag_ignore_zero_inf_sign.
6761 (input_flags): Add ignore-zero-inf-sign.
6762 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
6763 * math/gen-libm-test.pl (generate_testfile): Handle
6764 ignore-zero-inf-sign.
6765 * math/auto-libm-test-in: Mark some cpow tests with
6766 ignore-zero-inf-sign and some with xfail-rounding.
6767 * math/auto-libm-test-out: Regenerated.
6768 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
6769 * sysdeps/i386/fpu/libm-test-ulps: Update.
6770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6771
4da6db51
JM
6772 [BZ #16315]
6773 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
6774 overflowing or underflowing operations take place with sign of
6775 result.
6776 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6777 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
6778 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
6779 (__ieee754_pow): Recompute overflowing and underflowing results in
6780 original rounding mode.
6781 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
6782 (__powl_helper): Allow negative argument X and scale negated value
6783 as needed. Avoid passing value outside [-1, 1] to f2xm1.
6784 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
6785 overflowing or underflowing operations take place with sign of
6786 result.
6787 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
6788 Include <math.h>.
6789 * math/auto-libm-test-in: Add more tests of pow.
6790 * math/auto-libm-test-out: Regenerated.
6791 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
6792 (pow_tonearest_test_data): Remove.
6793 (pow_test_tonearest): Likewise.
6794 (pow_towardzero_test_data): Likewise.
6795 (pow_test_towardzero): Likewise.
6796 (pow_downward_test_data): Likewise.
6797 (pow_test_downward): Likewise.
6798 (pow_upward_test_data): Likewise.
6799 (pow_test_upward): Likewise.
6800 (main): Don't call removed functions.
6801 * sysdeps/i386/fpu/libm-test-ulps: Update.
6802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6803
5686b236
RM
68042014-06-23 Roland McGrath <roland@hack.frob.com>
6805
6806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
6807 Moved ...
6808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
6809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6810 Moved ...
6811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
6812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6813 Moved ...
6814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
6815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6816 Moved ...
6817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
6818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6819 File removed.
6820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6821 File removed.
6822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
6823 File removed.
6824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
6825 File removed.
6826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
6827 File removed.
6828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
6829 File removed.
6830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
6831 File removed.
6832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6833 File removed.
6834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
6835 File removed.
6836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6837 File removed.
6838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
6839 File removed.
6840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
6841 File removed.
6842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
6843 Moved ...
6844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
6845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
6846 Moved ...
6847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
6848 ... here.
6849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
6850 Moved ...
6851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
6852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
6853 Moved ...
6854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
6855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
6856 Moved ...
6857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
6858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
6859 Moved ...
6860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
6861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
6862 Moved ...
6863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
6864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
6865 Moved ...
6866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
6867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
6868 Moved ...
6869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
6870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
6871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
6872 ... here.
6873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
6874 Moved ...
6875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
6876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6877 Moved ...
6878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6879 ... here.
6880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
6881 Moved ...
6882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6883 ... here.
6884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6885 Moved ...
6886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6887 ... here.
6888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6889 Moved ...
6890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
6891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6892 Moved ...
6893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
6894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
6895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
6896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6897 Moved ...
6898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
6899 ... here.
6900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6901 Moved ...
6902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
6903 ... here.
6904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6905 Moved ...
6906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
6907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6908 Moved ...
6909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
6910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6911 Moved ...
6912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
6913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6914 Moved ...
6915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
6916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6917 Moved ...
6918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
6919 ... here.
6920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6921 Moved ...
6922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
6923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6924 Moved ...
6925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
6926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6927 Moved ...
6928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
6929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6930 Moved ...
6931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
6932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
6933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
6934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6935 Moved ...
6936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
6937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6938 Moved ...
6939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
6940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6941 Moved ...
6942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
6943 ... here.
6944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6945 Moved ...
6946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
6947 ... here.
6948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6949 Moved ...
6950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
6951 ... here.
6952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6953 Moved ...
6954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
6955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6956 Moved ...
6957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
6958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6959 Moved ...
6960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
6961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6962 Moved ...
6963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
6964 ... here.
6965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6966 Moved ...
6967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
6968 ... here.
6969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6970 Moved ...
6971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
6972 ... here.
6973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6974 Moved ...
6975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
6976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6977 Moved ...
6978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
6979
e6d90d67
WD
69802014-06-23 Will Newton <will.newton@linaro.org>
6981 Wilco <wdijkstr@arm.com>
6982
6983 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
6984 implementation. Include get-rounding-mode.h.
6985 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
6986 [!libc_feholdsetround_noex_ctx]: Define
6987 libc_feholdsetround_noex_ctx.
6988 [!libc_feholdsetround_noexf_ctx]: Define
6989 libc_feholdsetround_noexf_ctx.
6990 [!libc_feholdsetround_noexl_ctx]: Define
6991 libc_feholdsetround_noexl_ctx.
6992 (libc_feholdsetround_ctx): New function.
6993 (libc_feresetround_ctx): New function.
6994 (libc_feholdsetround_noex_ctx): New function.
6995 (libc_feresetround_noex_ctx): New function.
6996
d42df555
RM
69972014-06-23 Roland McGrath <roland@hack.frob.com>
6998
88a46474
RM
6999 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
7000 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
7001 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
7002 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
7003 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
7004 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
7005
15bed472
RM
7006 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
7007 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
7008 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
7009 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
7010 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
7011 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
7012 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
7013 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
7014 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
7015 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
7016 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
7017 Moved ...
7018 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
7019 ... here.
7020 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
7021 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
7022 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
7023 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
7024 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
7025 Moved ...
7026 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
7027 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
7028 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
7029 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
7030 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
7031 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
7032 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
7033 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
7034 Moved ...
7035 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
7036 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
7037 Moved ...
7038 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
7039 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
7040 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
7041 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
7042 Moved ...
7043 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
7044 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
7045 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
7046 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
7047 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
7048 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
7049 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
7050 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
7051 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
7052 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
7053 Moved ...
7054 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
7055 ... here.
7056 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
7057 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
7058 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
7059 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
7060 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
7061 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
7062 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
7063 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
7064 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
7065 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
7066 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
7067 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
7068 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
7069 Moved ...
7070 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
7071 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
7072 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
7073 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
7074 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
7075 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
7076 Moved ...
7077 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
7078 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
7079 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
7080 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
7081 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
7082
d42df555
RM
7083 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
7084 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
7085 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
7086 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
7087 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
7088 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
7089 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
7090 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
7091 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
7092 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
7093 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
7094 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
7095 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
7096 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
7097 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
7098 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
7099 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
7100 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
7101 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
7102 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
7103 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
7104 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
7105 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
7106 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
7107 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
7108 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
7109 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
7110 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
7111
76e5216e
JM
71122014-06-23 Joseph Myers <joseph@codesourcery.com>
7113
7114 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
7115 (FALLOC_FL_COLLAPSE_RANGE): New macro.
7116 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
7117 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
7118 (IPV6_PMTUDISC_INTERFACE): Likewise.
7119 (IPV6_PMTUDISC_OMIT): Likewise.
7120
7a81cbcc
AS
71212014-06-23 Andreas Schwab <schwab@suse.de>
7122
7123 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
7124 Remove unused errout label.
7125
db224009
AZ
71262014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7127
7128 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
7129 macro: hardware supports Vector Crypto instructions.
7130
f393b4aa
WN
71312014-06-23 Will Newton <will.newton@linaro.org>
7132
cc7d0447
WN
7133 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
7134 rather than __builtin_expect.
7135
d6d06225
WN
7136 * elf/dl-lookup.c (undefined_msg): Remove variable.
7137 (_dl_lookup_symbol_x): Replace undefined_msg with string
7138 literal.
7139
f393b4aa
WN
7140 * elf/dl-lookup.c (do_lookup_unique): New function.
7141 (do_lookup_x): Move STB_GNU_UNIQUE handling code
7142 to a separate function.
7143
ac60763e
AS
71442014-06-23 Andreas Schwab <schwab@suse.de>
7145
7146 [BZ #17079]
7147 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
7148 before reading the next line.
7149
c5c13355
WN
71502014-06-23 Will Newton <will.newton@linaro.org>
7151
7152 * test-skeleton.c (signal_handler): Use printf and %m
7153 rather than perror. Use printf rather than fprintf to
7154 stderr. Use puts rather than fputs to stderr.
7155 (main): Likewise.
7156
bd3675f9
LC
71572014-06-22 Ludovic Courtès <ludo@gnu.org>
7158
7159 * nscd/nscd.c (thread_info_t): Remove typedef.
7160 (thread_info): Remove variable.
7161
d03efb2f
AM
71622014-06-21 Allan McRae <allan@archlinux.org>
7163
7164 * NEWS: Mention CVE-2014-4043.
7165
bc4a86fa
RM
71662014-06-20 Roland McGrath <roland@hack.frob.com>
7167
dc9a54f8
RM
7168 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
7169 * nptl/smp.h: ... here.
7170
bd7022c4
RM
7171 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
7172
26ffd5e6
RM
7173 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
7174 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
7175 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
7176 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
7177
93a6d082
RM
7178 * nptl/allocatestack.c: Include <stack-aliasing.h>.
7179 * nptl/stack-aliasing.h: New file.
7180 * sysdeps/i386/i686/stack-aliasing.h: New file.
7181 * sysdeps/i386/i686/nptl/Makefile: File removed.
7182 * sysdeps/x86_64/stack-aliasing.h: New file.
7183 * sysdeps/x86_64/nptl/Makefile
7184 (CFLAGS-pthread_create.c): Variable removed.
7185
bc4a86fa
RM
7186 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
7187 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
7188 old file.
7189 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
7190 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
7191 old file.
7192
2272ffc1
JM
71932014-06-21 Joseph Myers <joseph@codesourcery.com>
7194
7195 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7196 (__ASSUME_SIGFRAME_V2): Remove macro.
7197 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
7198 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
7199 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
7200 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
7201 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
7202 Declare as function. Remove conditional macro definitions.
7203 (__default_rt_sa_restorer): Likewise.
7204 (__default_sa_restorer_v1): Remove declaration.
7205 (__default_sa_restorer_v2): Likewise.
7206 (__default_rt_sa_restorer_v1): Likewise.
7207 (__default_rt_sa_restorer_v2): Likewise.
7208 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
7209 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
7210 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
7211
4b88139b
RM
72122014-06-20 Roland McGrath <roland@hack.frob.com>
7213
7214 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
7215 (libpthread-routines): Add sysdep.
7216 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
7217 * sysdeps/unix/sysv/linux/sparc/Versions
7218 (libpthread: GLIBC_2.3.3): New version set.
7219 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
7220 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
7221 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
7222 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
7223 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
7224 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
7225 Moved ...
7226 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
7227 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
7228 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
7229 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
7230 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
7231 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
7232 * sysdeps/sparc/nptl/sem_init.c: ... here.
7233 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
7234 * sysdeps/sparc/nptl/sem_post.c: ... here.
7235 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
7236 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
7237 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
7238 * sysdeps/sparc/nptl/sem_wait.c: ... here.
7239 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
7240 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
7241 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
7242 (libpthread-routines): Add cpu_relax.
7243 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
7244 File removed.
7245 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
7246 (librt: GLIBC_2.3.3): New version set.
7247 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
7248 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
7249 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
7250 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
7251 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
7252 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
7253 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
7254 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
7255 Moved ...
7256 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
7257 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
7258 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
7259 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
7260 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
7261 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
7262 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
7263 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
7264 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
7265 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
7266 Moved ...
7267 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
7268 Update #include.
7269 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
7270 Moved ...
7271 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
7272 Update #include.
7273 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
7274 Moved ...
7275 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
7276 Update #include.
7277 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
7278 Moved ...
7279 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
7280 Update #include.
7281 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
7282 Moved ...
7283 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
7284 Update #include.
7285 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
7286 Moved ...
7287 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
7288 Update #include.
7289 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
7290 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
7291 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
7292 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
7293 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
7294 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
7295 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
7296 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
7297 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
7298 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
7299 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7300 Moved ...
7301 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
7302 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
7303 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
7304 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
7305 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
7306
d7109027
JM
73072014-06-20 Joseph Myers <joseph@codesourcery.com>
7308
9bc6103d
JM
7309 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
7310 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
7311 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7312 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
7313 * nscd/nscd.c: Likewise.
7314 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
7315 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
7316 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
7317 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
7318
d7109027
JM
7319 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
7320 <kernel-features.h>.
7321 (init_mq_netlink): Remove conditional have_sock_cloexec
7322 definitions. Remove code conditional on have_sock_cloexec < 0.
7323 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
7324 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
7325 * sysdeps/unix/sysv/linux/opensock.c: Do not include
7326 <kernel-features.h>.
7327 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
7328 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
7329
d92d8f8a
L
73302014-06-20 H.J. Lu <hongjiu.lu@intel.com>
7331
7332 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7333 Add tests for memset_chk and memset.
7334
7335 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
7336 with AVX2_Usable.
7337
4e6d2347
MR
73382014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
7339
257ce712
MR
7340 [BZ #16046]
7341 * elf/tst-dl-iter-static.c: New file.
7342 * elf/Makefile (tests-static): Add tst-dl-iter-static.
7343
4e6d2347
MR
7344 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
7345 error.
7346
a2a76afe
JM
73472014-06-20 Joseph Myers <joseph@codesourcery.com>
7348
7fd00f99
JM
7349 * sysdeps/unix/sysv/linux/kernel-features.h
7350 (__ASSUME_F_GETOWN_EX): Remove macro.
7351 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
7352 <kernel-features.h>.
7353 (miss_F_GETOWN_EX): Remove variable or macro.
7354 (do_fcntl): Do not check miss_F_GETOWN_EX.
7355 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
7356
4a103975
JM
7357 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
7358 Remove macro.
7359 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
7360 [!__ASSUME_AT_RANDOM]: Remove conditional code.
7361 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
7362
a2a76afe
JM
7363 * sysdeps/unix/sysv/linux/kernel-features.h
7364 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
7365 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
7366 [ADJ_OFFSET_SS_READ]: Make code unconditional.
7367 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
7368
90e5dd48
MR
73692014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
7370
7371 [BZ #17075]
7372 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
7373 Fix calculation of the symbol's value.
7374 * sysdeps/arm/tst-armtlsdescloc.c: New file.
7375 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
7376 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
7377 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
7378 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
7379 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
7380 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
7381 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
7382 (modules-names): Add `tst-armtlsdescmod',
7383 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
7384 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
7385 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7386 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
7387 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
7388 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7389 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
7390 ($(objpfx)tst-armtlsdescloc): New dependency.
7391 ($(objpfx)tst-armtlsdescextnow): Likewise.
7392 ($(objpfx)tst-armtlsdescextlazy): Likewise.
7393 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
7394 TLS scheme support.
7395 * sysdeps/arm/configure: Regenerate.
7396
809fdf0d
JM
73972014-06-20 Joseph Myers <joseph@codesourcery.com>
7398
7399 * include/fcntl.h (__atfct_seterrno): Remove prototype.
7400 (__atfct_seterrno_2): Likewise.
7401 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
7402 <kernel-features.h>.
7403 (__ASSUME_ATFCTS): Do not undefine and redefine.
7404 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
7405 (__have_atfcts): Remove conditional definition.
7406 (__fxstatat([__NR_fstatat64]: Make code unconditional.
7407 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
7408 unreachable if [__ASSUME_ATFCTS].
7409 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
7410 not undefine and redefine.
7411 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
7412 <kernel-features.h>.
7413 (faccessat) [__NR_faccessat]: Make code unconditional.
7414 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
7415 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
7416 <kernel-features.h>.
7417 (fchmodat) [__NR_fchmodat]: Make code unconditional.
7418 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7419 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
7420 <kernel-features.h>.
7421 (fchownat) [__NR_fchownat]: Make code unconditional.
7422 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
7423 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
7424 <kernel-features.h>.
7425 (futimesat) [__NR_futimesat]: Make code unconditional.
7426 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
7427 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7428 <kernel-features.h>.
7429 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7430 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7431 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7432 <kernel-features.h>.
7433 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
7434 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7435 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
7436 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7437 <kernel-features.h>.
7438 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
7439 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7440 * sysdeps/unix/sysv/linux/linkat.c: Do not include
7441 <kernel-features.h>.
7442 (linkat) [__NR_linkat]: Make code unconditional.
7443 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7444 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
7445 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
7446 <kernel-features.h>.
7447 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
7448 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7449 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
7450 <kernel-features.h>.
7451 (mkdirat) [__NR_mkdirat]: Make code unconditional.
7452 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
7453 * sysdeps/unix/sysv/linux/openat.c: Do not include
7454 <kernel-features.h>.
7455 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
7456 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
7457 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
7458 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
7459 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
7460 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
7461 <kernel-features.h>.
7462 (readlinkat) [__NR_readlinkat]: Make code unconditional.
7463 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
7464 result of INLINE_SYSCALL directly, not via int variable.
7465 * sysdeps/unix/sysv/linux/renameat.c: Do not include
7466 <kernel-features.h>.
7467 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
7468 (renameat) [__NR_renameat]: Make code unconditional.
7469 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
7470 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
7471 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
7472 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
7473 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
7474 (__ASSUME_ATFCTS): Do not undefine and redefine.
7475 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
7476 <kernel-features.h>.
7477 (symlinkat) [__NR_symlinkat]: Make code unconditional.
7478 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7479 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
7480 <kernel-features.h>.
7481 (unlinkat) [__NR_unlinkat]: Make code unconditional.
7482 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7483 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
7484 (__ASSUME_ATFCTS): Do not undefine and redefine.
7485 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7486 <kernel-features.h>.
7487 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7488 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7489 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7490 <kernel-features.h>.
7491 (__xmknodat) [__NR_mknodat]: Make code unconditional.
7492 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7493
224c6c51
L
74942014-06-20 H.J. Lu <hongjiu.lu@intel.com>
7495
7496 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
7497
aa6ec754
AS
74982014-06-20 Andreas Schwab <schwab@linux-m68k.org>
7499
7500 [BZ #17069]
7501 * posix/regcomp.c (parse_reg_exp): Deallocate partially
7502 constructed tree before returning error.
7503 * posix/bug-regexp36.c: Expand test case.
7504
d8c2869d
SL
75052014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
7506
3ef6b850
SL
7507 [BZ #6803]
7508 * math/libm-test.inc (scalbln_test_date):
7509 Add errno expectations.
7510 * math/w_scalblnf.c: New File.
7511 Add wrapper which checks for setting errno to ERANGE.
7512 Add weak_alias for corresponding scalbln function.
7513 * math/w_scalbln.c: Likewise.
7514 * math/w_scalblnl.c: Likewise.
7515 * math/Makefile (libm-calls): Add w_scalbln.
7516 * sysdeps/ieee754/flt-32/s_scalblnf.c:
7517 Remove weak_alias for corresponding scalbln function.
7518 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7519 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7520 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7521 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7522 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
7523 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7524 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
7525 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7526 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
7527 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
7528 Remove long_double_symbol for scalblnl function in libm, libc.
7529 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
7530 Add wrapper which checks for setting errno to ERANGE.
7531 Add long_double_symbol for scalblnl function in libm, libc.
7532 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
7533 Remove long_double_symbol for scalblnl in libm.
7534 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
7535 Add wrapper which checks for setting errno to ERANGE.
7536 Add long_double_symbol for scalblnl function in libm.
7537 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
7538 Do not use wrapper because of own implementation.
7539
c8daec5c
L
75402014-06-19 H.J. Lu <hongjiu.lu@intel.com>
7541
7542 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
7543 3 bytes for __pad1 for x32.
7544 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
7545
5c74e47c
LM
75462014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
7547 H.J. Lu <hongjiu.lu@intel.com>
7548
7549 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
7550 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
7551 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7552 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7553 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
7554
4d43ef1e
AS
75552014-06-19 Andreas Schwab <schwab@linux-m68k.org>
7556
7557 [BZ #17069]
7558 * posix/regcomp.c (parse_expression): Deallocate partially
7559 constructed tree before returning error.
7560 * posix/Makefile.c (tests): Add bug-regex36.
7561 (generated): Add bug-regex36.mtrace.
7562 (tests-special): Add $(objpfx)bug-regex36-mem.out
7563 (bug-regex36-ENV): New variable.
7564 ($(objpfx)bug-regex36-mem.out): New rule.
7565 * posix/bug-regex36.c: New file.
7566
51a7380b
WN
75672014-06-19 Will Newton <will.newton@linaro.org>
7568
7569 * malloc/malloc.c (systrim): If extra is zero then return
7570 early.
7571
91b84fe5
SP
75722014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7573
7574 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
7575
f940b965
RE
75762014-06-19 Richard Earnshaw <rearnsha@arm.com>
7577
7578 * sysdeps/aarch64/strchr.S: New file.
7579
4ba7a00f
JM
75802014-06-18 Joseph Myers <joseph@codesourcery.com>
7581
7582 [BZ #17022]
7583 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
7584 from arguments -2 or below.
7585 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7586 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7587
b3a9f56b
AS
75882014-06-18 Andreas Schwab <schwab@suse.de>
7589
7590 [BZ #17062]
7591 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
7592 of a bracket expr not to run off the end of the string.
7593 * posix/Makefile (tests): Add tst-fnmatch3.
7594 * posix/tst-fnmatch3.c: New file.
7595
85d89278
JM
75962014-06-18 Joseph Myers <joseph@codesourcery.com>
7597
7598 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
7599 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7600 [$(cross-compiling) = no]: Likewise.
7601 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7602 [$(cross-compiling) = no]: Likewise.
7603
754c5a08
RS
76042014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7605
7606 [BZ #17031]
7607 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
7608 double, adjusted for any remainder from the high double.
7609 * math/libm-test.inc (nearbyint): Add tests.
7610 (rint): Likewise.
7611
556f529d
AZ
76122014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7613
7614 * nptl/sysdeps/powerpc/Makefile: Moved ...
7615 * sysdeps/powerpc/nptl/Makefile: ... here.
7616 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
7617 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
7618 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
7619 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
7620 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
7621 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
7622 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
7623 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
7624 * nptl/sysdeps/powerpc/tls.h: Moved ...
7625 * sysdeps/powerpc/nptl/tls.h: ... here.
7626
91c03c53
JM
76272014-06-16 Joseph Myers <joseph@codesourcery.com>
7628
7629 [BZ #16681]
7630 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
7631 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
7632 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
7633 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
7634 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
7635 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
7636 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
7637 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
7638 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
7639
a76e63c5
AS
76402014-06-17 Andreas Schwab <schwab@linux-m68k.org>
7641
7642 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7643
f2f6d82f
AS
76442014-06-16 Andreas Schwab <schwab@linux-m68k.org>
7645
ea8a15f6
AS
7646 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
7647 defined operator.
7648
f2f6d82f
AS
7649 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
7650 $TIMEOUTFACTOR.
7651
a7291117
FW
76522014-06-16 Florian Weimer <fweimer@redhat.com>
7653
7654 [BZ #17058]
7655 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
7656 non-executed part of the test.
7657
3d7c00e3
AS
76582014-06-16 Andreas Schwab <schwab@suse.de>
7659
7660 * string/bits/string2.h (strdup, strndup): Update feature guard.
7661
6957fb31
DM
76622014-06-14 David S. Miller <davem@davemloft.net>
7663
7664 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7665
11b9e55b
AS
76662014-06-14 Andreas Schwab <schwab@linux-m68k.org>
7667
1d2a0492
AS
7668 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
7669 that was previously under [RESET_PID].
7670 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
7671
11b9e55b
AS
7672 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
7673 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
7674 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
7675 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7676 (__libc_vfork): New strong alias.
7677 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
7678
0f6901d0
AK
76792014-06-14 Andi Kleen <ak@linux.intel.com>
7680
7681 * sysdeps/generic/elide.h: New file.
7682
38bbbb9f
SL
76832014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7684
7685 * Makefile (installed-headers): Adjust path of pthread.h header.
7686
45193bb8
RM
76872014-06-13 Roland McGrath <roland@hack.frob.com>
7688
9a25fd1e
RM
7689 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
7690 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
7691 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
7692 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
7693
4004f7e4
RM
7694 * nptl/sysdeps/s390/Makefile: Moved ...
7695 * sysdeps/s390/nptl/Makefile: ... here.
7696 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
7697 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
7698 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
7699 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
7700 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
7701 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
7702 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
7703 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
7704 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
7705 * sysdeps/s390/nptl/pthreaddef.h: ... here.
7706 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
7707 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
7708 * nptl/sysdeps/s390/tls.h: Moved ...
7709 * sysdeps/s390/nptl/tls.h: ... here.
7710
45193bb8
RM
7711 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
7712 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
7713
f6fdf533
DM
77142014-06-13 David S. Miller <davem@davemloft.net>
7715
7716 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
7717 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
7718 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
7719 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
7720 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
7721 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
7722 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
7723 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
7724 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
7725 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
7726 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
7727 Remove RESET_PID cpp guards.
7728 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
7729 Remove RESET_PID cpp guards.
7730 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
7731
f5d71e14
AS
77322014-06-13 Andreas Schwab <schwab@linux-m68k.org>
7733
7734 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
7735 __sp to uintptr_t.
7736
b7aa8caa
AK
77372014-06-13 Andi Kleen <ak@linux.intel.com>
7738
4b266200
AZ
7739 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
7740 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
7741 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
7742 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
7743 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
7744 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
7745 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
7746 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
7747 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
7748 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
7749 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
7750 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
7751 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
7752 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
7753 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
7754 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
7755 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
7756 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
7757 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
7758 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
7759
7760 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
7761 (pthread_rwlock_rdlock): Add elision.
7762 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
7763 (pthread_rwlock_wrlock): Add elision.
7764 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
7765 (pthread_rwlock_trywrlock): Add elision.
7766 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
7767 (pthread_rwlock_tryrdlock): Add elision.
7768 * nptl/pthread_rwlock_unlock.c: Include elide.h.
7769 (pthread_rwlock_tryrdlock): Add elision unlock.
7770 * nptl/sysdeps/pthread/pthread.h:
7771 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
7772 (PTHREAD_RWLOCK_INITIALIZER,
7773 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
7774 Handle new elision field.
7775 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
7776 * sysdeps/arm/nptl/bits/pthreadtypes.h
7777 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7778 * sysdeps/sh/nptl/bits/pthreadtypes.h
7779 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7780 * sysdeps/tile/nptl/bits/pthreadtypes.h
7781 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7782 * sysdeps/a/nptl/bits/pthreadtypes.h
7783 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7784 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7785 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7786 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7787 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7788 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
7789 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7790 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7791 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7792 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7793 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7794 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7795 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7796 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7797 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7798 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
7799 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7800 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
7801 (elision_init): Set try_xbegin to zero when no RTM.
7802 * sysdeps/x86/nptl/bits/pthreadtypes.h
7803 (pthread_rwlock_t): Change __pad1 to __rwelision.
7804 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 7805
a832bdd3
AK
78062014-06-13 Andi Kleen <ak@linux.intel.com>
7807
7808 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
7809 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
7810 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
7811 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
7812
995a46bb
MI
78132014-06-13 Meador Inge <meadori@codesourcery.com>
7814
7815 [BZ #16996]
03ed7738 7816 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
7817 that the cached result has been set before returning it.
7818
45262aee
RM
78192014-06-12 Roland McGrath <roland@hack.frob.com>
7820
febf6cc5
RM
7821 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
7822 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
7823 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
7824 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
7825 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
7826 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
7827
e2682246
RM
7828 * nptl/sysdeps/sparc/Makefile: Moved ...
7829 * sysdeps/sparc/nptl/Makefile: ... here.
7830 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
7831 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
7832 * nptl/sysdeps/sparc/tls.h: Moved ...
7833 * sysdeps/sparc/nptl/tls.h: ... here.
7834 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
7835 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
7836 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
7837 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
7838 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
7839 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
7840 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
7841 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
7842 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
7843 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
7844 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
7845 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
7846 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
7847 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
7848 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
7849 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
7850 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
7851 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
7852 Update #include.
7853 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
7854 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
7855 Update #include.
7856 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
7857 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
7858 Update #include.
7859 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
7860 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
7861 Update #include.
7862
b0725f43
RM
7863 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7864
b14368b8
RM
7865 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
7866 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
7867
c5620eb3
RM
7868 * sysdeps/pthread/posix-timer.h: Include <list.h>.
7869 (struct list_links): Type removed.
7870 (struct thread_node, struct timer_node): Replace struct list_links
7871 with struct list_head.
7872 (list_unlink_ip): Likewise.
7873 * sysdeps/pthread/timer_routines.c
7874 (timer_free_list, thread_free_list, thread_active_list): Likewise.
7875 (list_append, list_insbefore): Likewise.
7876 (list_init): Function removed.
7877 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
7878 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
7879 * sysdeps/pthread/Makefile: ... here, new file.
7880
7881 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
7882 * sysdeps/nptl/Implies: ... here.
7883 * sysdeps/unix/sysv/linux/Implies: Add nptl.
7884 * nptl/sysdeps/pthread/list.h: Moved ...
7885 * include/list.h: ... here.
7886 * nptl/sysdeps/pthread/createthread.c: Moved ...
7887 * nptl/createthread.c: ... here.
7888 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
7889 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
7890 * nptl/pt-longjmp.c: ... here.
7891 * nptl/sysdeps/pthread/Makefile: Moved ...
7892 * sysdeps/nptl/Makefile: ... here.
7893 * nptl/sysdeps/pthread/Subdirs: Moved ...
7894 * sysdeps/nptl/Subdirs: ... here.
7895 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
7896 * sysdeps/nptl/aio_misc.h: ... here.
7897 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
7898 * sysdeps/nptl/bits/libc-lock.h: ... here.
7899 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
7900 * sysdeps/nptl/bits/libc-lockP.h: ... here.
7901 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
7902 * sysdeps/nptl/bits/stdio-lock.h: ... here.
7903 * nptl/sysdeps/pthread/configure: Moved ...
7904 * sysdeps/nptl/configure: ... here.
7905 * nptl/sysdeps/pthread/configure.ac: Moved ...
7906 * sysdeps/nptl/configure.ac: ... here.
7907 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
7908 * sysdeps/nptl/gai_misc.h: ... here.
7909 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
7910 * sysdeps/nptl/librt-cancellation.c: ... here.
7911 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
7912 * sysdeps/nptl/malloc-machine.h: ... here.
7913 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
7914 * sysdeps/nptl/pthread-functions.h: ... here.
7915 * nptl/sysdeps/pthread/pthread.h: Moved ...
7916 * sysdeps/nptl/pthread.h: ... here.
7917 * nptl/sysdeps/pthread/setxid.h: Moved ...
7918 * sysdeps/nptl/setxid.h: ... here.
7919 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
7920 * sysdeps/nptl/sigfillset.c: ... here.
7921 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
7922 * sysdeps/nptl/tcb-offsets.h: ... here.
7923 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
7924 * sysdeps/nptl/tst-mqueue8x.c: ... here.
7925 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
7926 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
7927 * nptl/sysdeps/pthread/allocalim.h: Moved ...
7928 * sysdeps/pthread/allocalim.h: ... here.
7929 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
7930 * sysdeps/pthread/bits/sigthread.h: ... here.
7931 * nptl/sysdeps/pthread/flockfile.c: Moved ...
7932 * sysdeps/pthread/flockfile.c: ... here.
7933 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
7934 * sysdeps/pthread/ftrylockfile.c: ... here.
7935 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
7936 * sysdeps/pthread/funlockfile.c: ... here.
7937 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
7938 * sysdeps/pthread/posix-timer.h: ... here.
7939 * nptl/sysdeps/pthread/timer_create.c: Moved ...
7940 * sysdeps/pthread/timer_create.c: ... here.
7941 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
7942 * sysdeps/pthread/timer_delete.c: ... here.
7943 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
7944 * sysdeps/pthread/timer_getoverr.c: ... here.
7945 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
7946 * sysdeps/pthread/timer_gettime.c: ... here.
7947 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
7948 * sysdeps/pthread/timer_routines.c: ... here.
7949 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
7950 * sysdeps/pthread/timer_settime.c: ... here.
7951 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
7952 * sysdeps/pthread/tst-timer.c: ... here.
7953 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
7954 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
7955
e876b090
RM
7956 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
7957 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
7958
f6b07b3d
RM
7959 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
7960 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
7961 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
7962 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
7963 Update #include target.
7964 * nptl/sysdeps/i386/i686/Makefile: Moved ...
7965 * sysdeps/i386/i686/nptl/Makefile: ... here.
7966 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
7967 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
7968 Update #include target.
7969 * nptl/sysdeps/i386/i686/tls.h: Moved ...
7970 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
7971 * nptl/sysdeps/i386/Makefile: Moved ...
7972 * sysdeps/i386/nptl/Makefile: ... here.
7973 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
7974 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
7975 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
7976 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
7977 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
7978 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
7979 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
7980 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
7981 * sysdeps/i386/nptl/pthreaddef.h: ... here.
7982 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
7983 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
7984 * nptl/sysdeps/i386/tls.h: Moved ...
7985 * sysdeps/i386/nptl/tls.h: ... here.
7986
45262aee
RM
7987 * sysdeps/sh/Makefile [$(subdir) = csu]
7988 (gen-as-const-headers): Add tcb-offsets.sym.
7989 * nptl/sysdeps/sh/Makefile: File removed.
7990 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
7991 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
7992 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
7993 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
7994 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
7995 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
7996 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
7997 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
7998 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
7999 * sysdeps/sh/nptl/pthreaddef.h: ... here.
8000 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
8001 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
8002 * nptl/sysdeps/sh/tls.h: Moved ...
8003 * sysdeps/sh/nptl/tls.h: ... here.
8004 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
8005 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
8006 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
8007 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
8008 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
8009 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
8010 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
8011 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
8012 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
8013 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
8014 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
8015 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
8016 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
8017 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
8018 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
8019 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
8020 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
8021 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
8022 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
8023 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
8024 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
8025 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
8026 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
8027 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
8028 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
8029 Moved ...
8030 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
8031 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
8032 Moved ...
8033 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
8034 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
8035 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
8036 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
8037 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
8038 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
8039 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
8040 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
8041 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
8042 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
8043 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
8044 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
8045 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
8046 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
8047 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
8048 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
8049 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
8050 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
8051 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
8052
35a5e3e3
SL
80532014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8054
8055 * posix/spawn_faction_addopen.c: Include string.h.
8056
14642b85
RM
80572014-06-11 Roland McGrath <roland@hack.frob.com>
8058
8059 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
8060 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
8061 * nptl/sysdeps/x86_64/Makefile: Moved ...
8062 * sysdeps/x86_64/nptl/Makefile: ... here.
8063 * nptl/sysdeps/x86_64/configure: Moved ...
8064 * sysdeps/x86_64/nptl/configure: ... here.
8065 * nptl/sysdeps/x86_64/configure.ac: Moved ...
8066 * sysdeps/x86_64/nptl/configure.ac: ... here.
8067 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
8068 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
8069 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
8070 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
8071 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
8072 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
8073 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
8074 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
8075 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
8076 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
8077 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
8078 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
8079 * nptl/sysdeps/x86_64/tls.h: Moved ...
8080 * sysdeps/x86_64/nptl/tls.h: ... here.
8081 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
8082 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
8083 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
8084 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
8085
8086 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
8087
31c44fea
AZ
80882014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8089
8090 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8091
e81a4f9a
JM
80922014-06-11 Joseph Myers <joseph@codesourcery.com>
8093
8094 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
8095 type.
8096 [POSIX] (off_t): Likewise.
8097 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
8098 [POSIX] (S_ISBLK): Require macro.
8099 [POSIX] (S_ISCHR): Likewise.
8100 [POSIX] (S_ISDIR): Likewise.
8101 [POSIX] (S_ISFIFO): Likewise.
8102 [POSIX] (S_ISREG): Likewise.
8103 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
8104 optional-macro.
8105 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
8106 type.
8107 [POSIX] (time_t): Likewise.
8108 [POSIX] (timer_t): Likewise.
8109
89e435f3
FW
81102014-06-11 Florian Weimer <fweimer@redhat.com>
8111
8112 [BZ #17048]
8113 * posix/spawn_int.h (struct __spawn_action): Make the path string
8114 non-const to support deallocation.
8115 * posix/spawn_faction_addopen.c
8116 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
8117 * posix/spawn_faction_destroy.c
8118 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
8119 path in all spawn_do_open actions.
8120 * posix/tst-spawn.c (do_test): Exercise the copy operation in
8121 posix_spawn_file_actions_addopen.
8122
c3a2ebe1
CM
81232014-06-11 Chris Metcalf <cmetcalf@tilera.com>
8124
8125 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
8126 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
8127 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
8128 conditional code always true.
8129 (__libc_vfork): New alias.
8130
9503784a
RM
81312014-06-11 Roland McGrath <roland@hack.frob.com>
8132
c9cab3d2
RM
8133 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8134 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
8135
d3996c79
RM
8136 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
8137
ba5ec611
RM
8138 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8139 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
8140
f12b4814
RM
8141 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8142 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
8143
9503784a
RM
8144 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8145 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
8146
e23d3d26
VR
81472014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8148
8149 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
8150 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
8151 multiarch strcmp for PPC64.
8152 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
8153 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
8154 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
8155 multiarch optimizations.
8156 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8157 (__libc_ifunc_impl_list): Likewise.
8158
42b1161e
SP
81592014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8160
8161 * benchtests/scripts/validate_benchout.py: New script.
8162 * benchtests/Makefile (bench-func): Call it.
8163 * benchtests/scripts/benchout.schema.json: New file.
8164
2d0fc4dc
CM
81652014-06-10 Chris Metcalf <cmetcalf@tilera.com>
8166
4a594c34
AZ
8167 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
8168 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
8169 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
8170 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
8171 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
8172 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
8173 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
8174 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
8175 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
8176 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
8177 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
8178 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
8179 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
8180 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
8181 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
8182 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
8183 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 8184 Moved ...
4a594c34 8185 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 8186 ... here.
4a594c34 8187 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 8188 Moved ...
4a594c34
AZ
8189 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
8190 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 8191 Moved ...
4a594c34 8192 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 8193 ... here.
4a594c34 8194 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 8195 Moved ...
4a594c34 8196 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 8197 ... here.
4a594c34 8198 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 8199 Moved ...
4a594c34
AZ
8200 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
8201 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 8202 Moved ...
4a594c34 8203 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 8204 ... here.
4a594c34 8205 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 8206 Moved ...
4a594c34 8207 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 8208 ... here.
4a594c34 8209 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 8210 Moved ...
4a594c34
AZ
8211 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
8212 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 8213 Moved ...
4a594c34 8214 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 8215 ... here.
4a594c34 8216 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 8217 Moved ...
4a594c34 8218 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 8219 ... here.
4a594c34 8220 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 8221 Moved ...
4a594c34 8222 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 8223 ... here.
4a594c34 8224 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 8225 Moved ...
4a594c34
AZ
8226 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
8227 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 8228 Moved ...
4a594c34 8229 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 8230 ... here.
4a594c34 8231 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 8232 Moved ...
4a594c34 8233 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 8234 ... here.
4a594c34 8235 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 8236 Moved ...
4a594c34 8237 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 8238 ... here.
4a594c34 8239 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 8240 Moved ...
4a594c34
AZ
8241 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
8242 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 8243 Moved ...
4a594c34 8244 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 8245 ... here.
4a594c34 8246 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 8247 Moved ...
4a594c34 8248 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 8249 ... here.
4a594c34 8250 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 8251 Moved ...
4a594c34
AZ
8252 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
8253 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 8254 Moved ...
4a594c34 8255 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 8256 ... here.
4a594c34 8257 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 8258 Moved ...
4a594c34
AZ
8259 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
8260 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 8261 Moved ...
4a594c34
AZ
8262 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
8263 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 8264 Moved ...
4a594c34 8265 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 8266 ... here.
4a594c34 8267 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 8268 Moved ...
4a594c34 8269 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 8270 ... here.
4a594c34 8271 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 8272 Moved ...
4a594c34 8273 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 8274 ... here.
4a594c34 8275 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 8276 Moved ...
4a594c34
AZ
8277 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
8278 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 8279 Moved ...
4a594c34 8280 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 8281 ... here.
4a594c34 8282 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 8283 Moved ...
4a594c34 8284 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 8285 ... here.
4a594c34
AZ
8286 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
8287 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
8288 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
8289 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
8290 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 8291 Moved ...
4a594c34 8292 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 8293 ... here.
4a594c34
AZ
8294 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
8295 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
8296 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
8297 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
8298 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
8299 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
8300 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
8301 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
8302 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
8303 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
8304 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
8305 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
8306 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 8307 Moved ...
4a594c34
AZ
8308 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
8309 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 8310 Moved ...
4a594c34
AZ
8311 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
8312 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
8313 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
8314 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 8315 Moved ...
4a594c34
AZ
8316 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
8317 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
8318 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
8319 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
8320 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
8321 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
8322 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 8323
0570cfed
W
83242014-06-10 Wilco <wdijkstr@arm.com>
8325
8326 * math/test-fenv-return.c: New file.
8327 * math/Makefile: Add new test test-fenv-return.
8328
f8ba1b56
JM
83292014-06-10 Joseph Myers <joseph@codesourcery.com>
8330
8331 [BZ #17042]
8332 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
8333 when x - 1 is zero.
8334 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
8335 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
8336 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
8337 0.0L for an argument of 1.0L.
8338 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8339 Likewise.
8340 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
8341 value when x - 1 is zero.
8342 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
8343 * sysdeps/i386/fpu/libm-test-ulps: Update.
8344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8345
2c3520d9
BO
83462014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
8347
8348 [BZ #15119]
8349 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
8350
acaa4d24
RM
83512014-06-09 Roland McGrath <roland@hack.frob.com>
8352
8353 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
8354 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
8355
962b744d
RM
83562014-06-09 Roland McGrath <roland@hack.frob.com>
8357
d752f0cc
RM
8358 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8359 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
8360
34eda6d1
RM
8361 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8362 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
8363
50f0a637
RM
8364 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8365 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
8366
08f41f04
RM
8367 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8368 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
8369
962b744d
RM
8370 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
8371 if not already defined.
8372 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
8373 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
8374 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
8375 (TLS_INIT_TP): Use it.
8376 (TLS_DEFINE_INIT_TP): New macro.
8377 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
8378
09f19b05
JM
83792014-06-09 Joseph Myers <joseph@codesourcery.com>
8380
8381 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
8382 constant.
8383 [POSIX] (IXANY): Likewise.
8384 [POSIX] (OLCUC): Likewise.
8385 [POSIX || POSIX2008] (CBAUD): Do not allow.
8386 [POSIX || POSIX2008] (DEFECHO): Likewise.
8387 [POSIX || POSIX2008] (ECHOCTL): Likewise.
8388 [POSIX || POSIX2008] (ECHOKE): Likewise.
8389 [POSIX || POSIX2008] (ECHOPRT): Likewise.
8390 [POSIX || POSIX2008] (EXTA): Likewise.
8391 [POSIX || POSIX2008] (EXTB): Likewise.
8392 [POSIX || POSIX2008] (FLUSHO): Likewise.
8393 [POSIX || POSIX2008] (LOBLK): Likewise.
8394 [POSIX || POSIX2008] (PENDIN): Likewise.
8395 [POSIX || POSIX2008] (SWTCH): Likewise.
8396 [POSIX || POSIX2008] (VDISCARD): Likewise.
8397 [POSIX || POSIX2008] (VDSUSP): Likewise.
8398 [POSIX || POSIX2008] (VLNEXT): Likewise.
8399 [POSIX || POSIX2008] (VREPRINT): Likewise.
8400 [POSIX || POSIX2008] (VSTATUS): Likewise.
8401 [POSIX || POSIX2008] (VWERASE): Likewise.
8402 (B*): Change to B[0123456789]*.
8403 * conform/data/time.h-data [POSIX || UNIX98]
8404 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
8405 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8406 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
8407 [POSIX] (tm_*): Do not allow.
8408
686554bf
JM
84092014-06-07 Joseph Myers <joseph@codesourcery.com>
8410
8411 * Makefile (install): Don't set LANGUAGE.
8412 * Makefile.in (install): Likewise.
8413 * assert/Makefile (test-assert-ENV): Remove variable.
8414 (test-assert-perr-ENV): Likewise.
8415 * elf/Makefile (neededtest4-ENV): Likewise.
8416 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8417 [$(cross-compiling) = no]: Don't set LANGUAGE.
8418 * io/ftwtest-sh (LANG): Remove variable.
8419 * libio/Makefile (tst-widetext-ENV): Likewise.
8420 * manual/install.texi (Running make install): Don't refer to
8421 environment settings for make install.
8422 * INSTALL: Regenerated.
8423 * nptl/tst-tls6.sh: Don't set LANG.
8424 * posix/globtest.sh (LANG): Remove variable.
8425 * string/Makefile (tester-ENV): Likewise.
8426 (inl-tester-ENV): Likewise.
8427 (noinl-tester-ENV): Likewise.
8428 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8429 [$(cross-compiling) = no]: Don't set LANGUAGE.
8430 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
8431 without explicit environment settings.
8432
68e6b6b1
RM
84332014-06-06 Roland McGrath <roland@hack.frob.com>
8434
8435 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
8436 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
8437 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
8438 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
8439
4d3ae034
CM
84402014-06-06 Chris Metcalf <cmetcalf@tilera.com>
8441
8442 * crypt/crypt-private.h [DOS]: Add some includes taken from the
8443 other files in the crypt directory.
8444 * crypt/crypt.c: Remove duplicate includes.
8445 * crypt/crypt-entry.c: Likewise.
8446 * crypt/crypt_util.c: Likewise.
8447
8540f6d2
JM
84482014-06-06 Joseph Myers <joseph@codesourcery.com>
8449
8450 * Makeconfig (run-program-env): New variable.
8451 (run-program-prefix-before-env): Likewise.
8452 (run-program-prefix-after-env): Likewise.
8453 (run-program-prefix): Define in terms of new variables.
8454 (built-program-cmd-before-env): New variable.
8455 (built-program-cmd-after-env): Likewise.
8456 (built-program-cmd): Define in terms of new variables.
8457 (test-program-prefix-before-env): New variable.
8458 (test-program-prefix-after-env): Likewise.
8459 (test-program-prefix): Define in terms of new variables.
8460 (test-program-cmd-before-env): New variable.
8461 (test-program-cmd-after-env): Likewise.
8462 (test-program-cmd): Define in terms of new variables.
8463 * Rules (make-test-out): Use $(run-program-env).
8464 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
8465 (help): Do not mention environment variables. Mention
8466 --timeoutfactor option.
8467 (timeoutfactor): New variable.
8468 (blacklist_exports): Remove function.
8469 (exports): Remove variable.
8470 (command): Do not include ${exports}.
8471 * manual/install.texi (Configuring and compiling): Do not mention
8472 test wrappers preserving environment variables. Mention that last
8473 assignment to a variable must take precedence.
8474 * INSTALL: Regenerated.
8475 * benchtests/Makefile (run-bench): Use $(run-program-env).
8476 * catgets/Makefile ($(objpfx)test1.cat): Use
8477 $(built-program-cmd-before-env), $(run-program-env) and
8478 $(built-program-cmd-after-env).
8479 ($(objpfx)test2.cat): Do not specify environment variables
8480 explicitly.
8481 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
8482 $(run-program-env) and $(built-program-cmd-after-env).
8483 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
8484 $(run-program-env) and $(test-program-cmd-after-env).
8485 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
8486 explicitly.
8487 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
8488 run_program_env and test_program_cmd_after_env arguments.
8489 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
8490 * elf/tst-pathopt.sh: Use run_program_env argument.
8491 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
8492 $(test-wrapper-env) and $(run-program-env).
8493 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
8494 run_program_env arguments.
8495 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
8496 * intl/Makefile ($(objpfx)tst-gettext.out): Use
8497 $(test-program-prefix-before-env), $(run-program-env) and
8498 $(test-program-prefix-after-env).
8499 ($(objpfx)tst-gettext2.out): Likewise.
8500 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
8501 run_program_env and test_program_prefix_after_env arguments.
8502 * intl/tst-gettext2.sh: Likewise.
8503 * intl/tst-gettext4.sh: Do not set environment variables
8504 explicitly.
8505 * intl/tst-gettext6.sh: Likewise.
8506 * intl/tst-translit.sh: Likewise.
8507 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
8508 $(test-program-prefix-before-env), $(run-program-env) and
8509 $(test-program-prefix-after-env).
8510 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
8511 run_program_env and test_program_prefix_after_env arguments.
8512 * math/Makefile (run-regen-ulps): Use $(run-program-env).
8513 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
8514 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
8515 explicitly with each use of ${test_wrapper_env}.
8516 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
8517 $(test-program-prefix-before-env), $(run-program-env) and
8518 $(test-program-prefix-after-env).
8519 * posix/tst-getconf.sh: Do not set environment variables
8520 explicitly.
8521 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
8522 run_program_env and test_program_prefix_after_env arguments.
8523 * stdio-common/tst-printf.sh: Do not set environment variables
8524 explicitly.
8525 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
8526 $(test-program-prefix-before-env), $(run-program-env) and
8527 $(test-program-prefix-after-env).
8528 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
8529 run_program_env and test_program_prefix_after_env arguments.
8530 Split $test calls into $test_pre and $test.
8531 * timezone/Makefile (build-testdata): Use
8532 $(built-program-cmd-before-env), $(run-program-env) and
8533 $(built-program-cmd-after-env).
8534
ed36bfa1
AZ
85352014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8536
8537 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
8538 strlen for non SHARED builds.
8539
fc75bf46
SP
85402014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8541
8542 * nptl/allocatestack.c (check_list): Inlined function...
8543 (__reclaim_stacks): ... here.
8544
d89b3d80
OB
85452014-06-05 Ondřej Bílka <neleai@seznam.cz>
8546
8547 [BZ #15698]
8548 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8549 memory overrun.
8550
2bf18041
JM
85512014-06-05 Joseph Myers <joseph@codesourcery.com>
8552
8553 * Rules (make-test-out): Include
8554 LOCPATH=$(common-objpfx)localedata in default environment.
8555 * debug/Makefile (tst-chk1-ENV): Remove variable.
8556 (tst-chk2-ENV): Likewise.
8557 (tst-chk3-ENV): Likewise.
8558 (tst-chk4-ENV): Likewise.
8559 (tst-chk5-ENV): Likewise.
8560 (tst-chk6-ENV): Likewise.
8561 (tst-lfschk1-ENV): Likewise.
8562 (tst-lfschk2-ENV): Likewise.
8563 (tst-lfschk3-ENV): Likewise.
8564 (tst-lfschk4-ENV): Likewise.
8565 (tst-lfschk5-ENV): Likewise.
8566 (tst-lfschk6-ENV): Likewise.
8567 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
8568 (tst-iconv7-ENV): Likewise.
8569 * intl/Makefile (LOCPATH-ENV): Likewise.
8570 (tst-codeset-ENV): Likewise.
8571 (tst-gettext3-ENV): Likewise.
8572 (tst-gettext5-ENV): Likewise.
8573 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
8574 (tst-fopenloc-ENV): Likewise.
8575 (tst-fgetws-ENV): Remove variable.
8576 (tst-ungetwc1-ENV): Likewise.
8577 (tst-ungetwc2-ENV): Likewise.
8578 (bug-ungetwc2-ENV): Likewise.
8579 (tst-swscanf-ENV): Likewise.
8580 (bug-ftell-ENV): Likewise.
8581 (tst-fgetwc-ENV): Likewise.
8582 (tst-fseek-ENV): Likewise.
8583 (tst-ftell-partial-wide-ENV): Likewise.
8584 (tst-ftell-active-handler-ENV): Likewise.
8585 (tst-ftell-append-ENV): Likewise.
8586 * posix/Makefile (tst-fnmatch-ENV): Likewise.
8587 (tst-regexloc-ENV): Likewise.
8588 (bug-regex1-ENV): Likewise.
8589 (tst-regex-ENV): Likewise.
8590 (tst-regex2-ENV): Likewise.
8591 (bug-regex5-ENV): Likewise.
8592 (bug-regex6-ENV): Likewise.
8593 (bug-regex17-ENV): Likewise.
8594 (bug-regex18-ENV): Likewise.
8595 (bug-regex19-ENV): Likewise.
8596 (bug-regex20-ENV): Likewise.
8597 (bug-regex22-ENV): Likewise.
8598 (bug-regex23-ENV): Likewise.
8599 (bug-regex25-ENV): Likewise.
8600 (bug-regex26-ENV): Likewise.
8601 (bug-regex30-ENV): Likewise.
8602 (bug-regex32-ENV): Likewise.
8603 (bug-regex33-ENV): Likewise.
8604 (bug-regex34-ENV): Likewise.
8605 (bug-regex35-ENV): Likewise.
8606 (tst-rxspencer-ENV): Likewise.
8607 (tst-rxspencer-no-utf8-ENV): Likewise.
8608 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
8609 (tst-sscanf-ENV): Likewise.
8610 (tst-swprintf-ENV): Likewise.
8611 (tst-swscanf-ENV): Likewise.
8612 (test-vfprintf-ENV): Likewise.
8613 (scanf13-ENV): Likewise.
8614 (bug14-ENV): Likewise.
8615 (tst-grouping-ENV): Likewise.
8616 * stdlib/Makefile (tst-strtod-ENV): Likewise.
8617 (tst-strtod3-ENV): Likewise.
8618 (tst-strtod4-ENV): Likewise.
8619 (tst-strtod5-ENV): Likewise.
8620 (testmb2-ENV): Likewise./
8621 * string/Makefile (tst-strxfrm-ENV): Likewise.
8622 (tst-strxfrm2-ENV): Likewise.
8623 (bug-strcoll1-ENV): Likewise.
8624 (test-strcasecmp-ENV): Likewise.
8625 (test-strncasecmp-ENV): Likewise.
8626 * time/Makefile (tst-strptime-ENV): Likewise.
8627 (tst-ftime_l-ENV): Likewise.
8628 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
8629 (tst-mbrtowc-ENV): Likewise.
8630 (tst-wcrtomb-ENV): Likewise.
8631 (tst-mbrtowc2-ENV): Likewise.
8632 (tst-c16c32-1-ENV): Likewise.
8633 (tst-mbsnrtowcs-ENV): Likewise.
8634
cd1fb604
OB
86352014-06-05 Ondřej Bílka <neleai@seznam.cz>
8636
8637 * manual/resource.texi (How to get information about the memory
8638 subsystem?): Fix typo.
8639 Reported by Peon de la Parra Ivan <peon@keba.com>
8640
b42eca7d
GY
86412014-06-03 Guo Yixuan <culu.gyx@gmail.com>
8642
8643 [BZ #16882]
8644 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
8645 (pthread_spin_lock): Branch out of spin loop to proper location.
8646 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
8647 (pthread_spin_lock): Likewise.
8648
902b71f9
DM
8649 * nptl/tst-spin4.c: New test.
8650 * nptl/Makefile (tests): Add tst-spin4.
8651
f9d2d032
AS
86522014-06-03 Andreas Schwab <schwab@suse.de>
8653
8654 [BZ #15946]
8655 * resolv/res_send.c (send_dg): Reload file descriptor after
8656 calling reopen.
8657
cf7bfd28
SL
86582014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
8659
8660 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8661
111cc714
RH
86622014-06-03 Richard Henderson <rth@redhat.com>
8663
89b4bd6b
RH
8664 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
8665 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
8666 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
8667 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
8668 in the SAVE_PID block.
8669 (__libc_vfork): New alias.
71840409 8670 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 8671
111cc714
RH
8672 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
8673 child in registers, not on the stack. Remove RESET_PID conditionals.
8674 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
8675
ccc39911
MS
86762014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
8677
8678 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8679
693096cc
W
86802014-06-03 Wilco <wdijkstr@arm.com>
8681
8682 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
8683 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
8684 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8685 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
8686 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
8687 Likewise.
8688
0b4366bc
W
86892014-06-03 Wilco <wdijkstr@arm.com>
8690
8691 * sysdeps/aarch64/fpu/math_private.h
8692 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
8693 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
8694 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
8695 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8696 Fix declarations.
8697
8747cd03
KS
86982014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8699
8700 * crypt/crypt-private.h: Include ufc-crypt.h.
8701 (__b64_from_24bit): Declare extern.
8702 * crypt/crypt_util.c(__b64_from_24bit): New function.
8703 (b64t): New static const variable.
8704 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
8705 (b64t): Remove variable.
8706 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
8707 * crypt/sha256-crypt.c: Include crypt-private.h.
8708 (b64t): Remove variable.
8709 (__sha256_crypt_r): Remove b64_from_24bit and replace
8710 with __b64_from_24bit.
8711 * crypt/sha512-crypt.c: Likewise.
8712
d936d379
RM
87132014-06-02 Roland McGrath <roland@hack.frob.com>
8714
8715 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
8716 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
8717 Label the code __libc_vfork rather than __vfork.
8718 [!NOT_IN_libc] (vfork): Define as weak alias.
8719 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
8720 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
8721 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
8722
9fa76613
SP
87232014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8724
8725 * malloc/malloc.c (malloc_info): Fix format specifier for
8726 n_mmaps.
8727
a88dadbe
W
87282014-06-02 Wilco <wdijkstr@arm.com>
8729
8730 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
8731 FPCR write.
8732
c95b3011
W
87332014-06-02 Wilco <wdijkstr@arm.com>
8734
8735 [BZ #17009]
8736 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
8737 Rewrite to reduce FPCR/FPSR accesses.
8738
6b4d7a90
DM
87392014-06-01 David S. Miller <davem@davemloft.net>
8740
8741 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8742
30f3d07c
DM
87432014-05-31 David S. Miller <davem@davemloft.net>
8744
8745 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
8746 to occur in round to nearest mode when |x| >= 2.0
8747
74f31c18
RH
87482014-05-30 Richard Henderson <rth@twiddle.net>
8749
f0712b54
RH
8750 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
8751 (PSEUDO_RET_NOERRNO): Remove.
8752 (ret): Don't redefine.
8753 (ret_NOERRNO): Define in terms of ret.
8754 (ret_ERRVAL): Likewise.
8755
74f31c18
RH
8756 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
8757 use of PSEUDO_RET; perform the error check directly.
8758
30477995
MM
87592014-05-30 Marko Myllynen <myllynen@redhat.com>
8760
8761 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
8762 with __int128_t.
8763
62a58816
SP
87642014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8765
8766 * malloc/malloc (malloc_info): Fix formatting.
8767
4d653a59
SP
87682014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8769 Roland McGrath <roland@hack.frob.com>
8770
8771 * malloc/malloc (malloc_info): Also print mmapped statistics.
8772
5190c17f
RM
87732014-05-30 Roland McGrath <roland@hack.frob.com>
8774
8775 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
8776 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
8777
987c0269
OB
87782014-05-30 Ondřej Bílka <neleai@seznam.cz>
8779
8780 * malloc/malloc.c (malloc_info): Inline mi_arena.
8781
af4e8ef9
RH
87822014-05-29 Richard Henderson <rth@twiddle.net>
8783
1670e207
RH
8784 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
8785 Remove comma before expanding ASM_ARGS_##nr.
8786 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
8787 Make _x0 a strict output; make _x8 a strict input; adjust expansion
8788 of ASM_ARGS_##nr.
8789 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
8790 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
8791 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
8792 (ASM_ARGS_1): Add leading comma.
8793
11a28aee
RH
8794 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
8795 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
8796 to __errno_location.
8797 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
8798 Remove the expected plt for __errno_location.
8799
a17e5ffb 8800 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 8801 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
8802 call to __read_tp.
8803
b5be4597
RH
8804 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8805 Always allocate 64 bytes of stack frame. Use ldp/stp to create
8806 it and break it down.
8807 (DOCARGS_0, DOCARGS_1): Do nothing.
8808 (DOCARGS_2): Update to store into the new stack frame.
8809 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
8810 (UNDOCARGS_1): Update to restore from the new stack frame.
8811 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
8812 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
8813
645d44ab
RH
8814 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8815 (SINGLE_THREAD_P): New parameter for result regno.
8816 (PSEUDO): Update to match; use cbz instead of beq.
8817
a8b4f04a
RH
8818 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8819 Use ENTRY to define the _nocancel entry point. Share the syscall
8820 and syscall error check paths with the cancel path.
8821 (PSEUDO_END): New.
8822
af4e8ef9
RH
8823 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
8824 whitespace; tabs before and after asm mnemonics.
8825
26b0d2e1
EW
88262014-05-29 Eric Wong <normalperson@yhbt.net>
8827
8828 [BZ #15132]
8829 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8830 Call fstat64 or stat64 internally, depending on arguments passed.
8831 Replace stat buffer argument with file descriptor argument.
8832 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
8833 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8834 Pass fd to __internal_statvfs instead of calling fstat64.
8835 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
8836 Pass fd to __internal_statvfs64 instead of calling fstat64.
8837 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
8838 Pass -1 to __internal_statvfs instead of calling stat64.
8839 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
8840 Pass -1 to __internal_statvfs64 instead of calling stat64.
8841
1efe2bd9
RM
88422014-05-28 Roland McGrath <roland@hack.frob.com>
8843
0d3b7a19
RM
8844 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
8845 that was previously under [RESET_PID].
8846 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
8847
1efe2bd9
RM
8848 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
8849 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
8850
a6bea3ca
RM
88512014-05-27 Roland McGrath <roland@hack.frob.com>
8852
30b6629e
RM
8853 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
8854
a6bea3ca
RM
8855 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
8856 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
8857
3dfb9a5c
OB
88582014-05-27 Ondřej Bílka <neleai@seznam.cz>
8859
8860 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
8861
774f9285
AS
88622014-05-27 Andreas Schwab <schwab@suse.de>
8863
8864 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
8865 TLS_INIT_TP macro.
8866 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
8867 * elf/rtld.c (init_tls, dl_main): Likewise.
8868 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
8869 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
8870 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
8871 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
8872 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
8873 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
8874 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
8875 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
8876 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
8877 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
8878 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
8879 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
8880 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
8881 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
8882 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
8883 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
8884 * sysdeps/generic/tls.h: Update description.
8885
36ffe739
WN
88862014-05-27 Will Newton <will.newton@linaro.org>
8887
8888 [BZ #16990]
8889 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
8890 and restore r2 rather than just restoring.
8891
2482ae43
SP
88922014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8893
8894 [BZ #16724]
8895 * libio/tst-ftell-append.c: New test case.
8896 * libio/Makefile (tests): Add test case.
8897 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
8898 append mode.
8899 * libio/wfileops.c (do_ftell_wide): Likewise.
8900
3d1024e8
AZ
89012014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8902
bab90016
AZ
8903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8904
c7a8d667
AZ
8905 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
8906 ...
8907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
8908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8909 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
8910 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
8911 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
8912 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
8913 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
8914 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
8915 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8916 Moved ...
8917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
8918 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8919 Moved ...
8920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
8921 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
8922 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
8923 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
8924 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
8925 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
8926 ...
8927 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
8928 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
8929 Moved ...
8930 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
8931 here.
8932 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
8933 ...
8934 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
8935 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
8936 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
8937
daee7851
AZ
8938 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
8939 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
8940 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
8941 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
8942
50a40819
AZ
8943 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
8944 merge into ...
8945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
8946 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
8947 ...
8948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
8949 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
8950 ...
8951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
8952 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8953 Moved ...
8954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
8955 here.
8956 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8957 Moved ...
8958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
8959 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8960 Moved ...
8961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
8962
8464c2a1
AZ
8963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
8964 conditional [RESET_PID].
8965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
8966 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
8967 removed.
8968 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
8969 removed.
8970
3d1024e8
AZ
8971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
8972 <tcb-offsets.h>.
8973 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8974 (__libc_vfork): New strong alias.
8975 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
8976 removed.
8977 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
8978 Removed.
8979
8980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
8981 <tcb-offsets.h>.
8982 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
8983 (__libc_vfork): New strong alias.
8984 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
8985 removed.
8986 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
8987 removed.
8988
fdfd175d
CD
89892014-05-26 Carlos O'Donell <carlos@redhat.com>
8990
8991 * malloc/malloc.c (mi_arena): New function.
8992 (malloc_info): Remove nested function mi_arena. Call non-nosted
8993 function mi_arena.
8994
d298c416
AZ
89952014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8996
8997 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
8998 by insrwi.
8999 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
9000 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
9001 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
9002 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
9003 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
9004 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
9005 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
9006
b60ea6ff
AS
90072014-05-26 Andreas Schwab <schwab@suse.de>
9008
9009 [BZ #16984]
9010 * locale/programs/repertoire.c (repertoire_read): Add slash
9011 between I18NPATH element and file name.
9012 * locale/programs/locfile.c (locfile_read): Likewise.
9013
67365926
SL
90142014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
9015
9016 * nptl/pthread_mutexattr_settype.c
9017 (__pthread_mutexattr_settype):
9018 Disable lock elision for PTHREAD_MUTEX_NORMAL.
9019
f8bdf1f0
SL
90202014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
9021
9022 * nptl/tst-mutex5 (do_test):
9023 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
9024
15eaf6ff
SP
90252014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9026
9027 * benchtests/README: Document 'init' directive.
9028 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
9029 BENCH_INIT.
9030 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
9031 (parse_file): Recognize 'init' directive.
9032
75f11331
KM
90332014-05-26 Kyle McMartin <kyle@redhat.com>
9034
9035 [BZ #16796]
9036 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
9037 alignment of struct pthread.
9038
c3ec475c
SP
90392014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9040
9041 [BZ #16878]
9042 * nscd/netgroupcache.c (addgetnetgrentX): Look for
9043 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9044 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
9045 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9046
82aab97c
RH
90472014-05-25 Richard Henderson <rth@twiddle.net>
9048
aa2f176d
RH
9049 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9050 (SINGLE_THREAD_P_PIC): Remove.
9051 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
9052 (SINGLE_THREAD_P_PIC): Remove.
9053
ca3cfa40
RH
9054 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
9055 branch to syscall error ...
9056 (PSEUDO): ... here.
9057 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
9058 from __local_syscall_error to .Lsyscall_error.
9059 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
9060 (SYSCALL_ERROR): Update label name.
9061
6e6c2d01
RH
9062 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9063 Do not use DOARGS/UNDOARGS.
9064 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
9065 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
9066 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
9067 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
9068 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
9069
c69abcee
RH
9070 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
9071 block comment.
9072
82aab97c
RH
9073 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
9074 define if !NOT_IN_libc.
9075 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
9076 define with non-default symbol versions.
9077
8820e3ac
RH
90782014-05-23 Richard Henderson <rth@twiddle.net>
9079
900e445f
RH
9080 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
9081 (vfork, __vfork): Define via compat_symbol.
9082
8820e3ac
RH
9083 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
9084 [!HAVE_IFUNC] (vfork_compat): Remove.
9085 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
9086
e59252a5
JM
90872014-05-23 Joseph Myers <joseph@codesourcery.com>
9088
9089 [BZ #16978]
9090 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
9091 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
9092 variable.
9093
132c7f5f
RH
90942014-05-23 Richard Henderson <rth@twiddle.net>
9095
bc89e962
RH
9096 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
9097 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
9098 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
9099 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
9100
9101 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
9102 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
9103 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
9104 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
9105 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
9106 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
9107 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
9108 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
9109 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
9110 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
9111 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
9112 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
9113 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
9114 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
9115 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
9116 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
9117 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
9118 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
9119 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
9120 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
9121 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
9122 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
9123 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
9124 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
9125 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
9126 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
9127 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
9128 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
9129 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
9130 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
9131 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
9132 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
9133 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
9134 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
9135 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
9136 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
9137 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
9138 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
9139 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
9140 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
9141 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
9142 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
9143 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
9144 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
9145 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
9146 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
9147 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
9148 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
9149 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
9150 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
9151 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
9152 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
9153 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
9154 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
9155 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
9156 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
9157
e2fa4bc2
RH
9158 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
9159 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
9160 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
9161 before exiting on error.
9162 (__libc_vfork): New strong alias.
9163 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
9164 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
9165
279b24e2
RH
9166 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
9167 that was previously under [RESET_PID].
9168 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
9169
132c7f5f
RH
9170 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
9171
b72592e7
JM
91722014-05-23 Joseph Myers <joseph@codesourcery.com>
9173
9174 [BZ #16977]
9175 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
9176 value when x - 1 is zero.
9177 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
9178 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9179 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
9180 0.0L for an argument of 1.0L.
9181 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
9182 Likewise.
9183 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
9184 value when x - 1 is zero.
9185 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
9186 * sysdeps/i386/fpu/libm-test-ulps: Update.
9187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9188
2302d679
RV
91892014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
9190
9191 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
9192 alphasort and versionsort.
9193
32999d63
AZ
91942014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9195
9196 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
9197 macro.
9198 [copysignf]: Likewise.
9199
019324d0
SP
92002014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9201
9202 * crypt/md5-crypt.c: Fix formatting.
9203
34fff5c2
KS
92042014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9205
9206 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
9207 (b64_from_24bit): New function.
9208
3d2badac
AZ
92092014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9210
9211 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
9212 libc_hidden_builtin_def to ifunc.
9213 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9214 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
9215
f7bb179f 92162014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
9217
9218 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
9219 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
9220
4134b50d
JM
92212014-05-21 Joseph Myers <joseph@codesourcery.com>
9222
bb7d0337
JM
9223 * nscd/Depend (linuxthreads): Remove.
9224 (nptl): Add.
9225 * resolv/Depend (linuxthreads): Remove.
9226 * rt/Depend (linuxthreads): Remove.
9227
4134b50d
JM
9228 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
9229 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
9230 $(common-objpfx)elf/.
9231 (link-libc-before-gnulib): Likewise.
9232 (elfobjdir): Remove variable.
9233 * Makefile (install): Use $(elf-objpfx) instead of
9234 $(common-objpfx)elf/.
9235 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
9236 $(elfobjdir)/.
9237 (link-libc-deps): Likewise.
9238 ($(common-objpfx)libc.so): Likewise.
9239 ($(common-objpfx)linkobj/libc.so): Likewise.
9240 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
9241 instead of $(common-objpfx)elf/.
9242 (symbolic-link-list): Likewise.
9243 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9244 [$(cross-compiling) = no]: Likewise.
9245 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
9246 $(elfobjdir)/.
9247 (static-gnulib-arch): Likewise.
9248 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9249 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
9250 $(common-objpfx)elf/.
9251
3612eb8f
RH
92522014-05-21 Richard Henderson <rth@redhat.com>
9253
a6b3657b
RH
9254 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9255 (SINGLE_THREAD_P): Use the correct width load. Fold
9256 into the ldr offset.
9257
3612eb8f
RH
9258 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
9259 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
9260
175cef41
JM
92612014-05-20 Joseph Myers <joseph@codesourcery.com>
9262
9263 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
9264 (libgcc_s_resume): Use __attribute_used__.
9265 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
9266 Likewise.
9267
e13bccd3
AZ
92682014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9269
9270 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
9271 optimization when used with float constants.
9272
7c112a38
AZ
9273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9274
ae75a883
AJ
92752014-05-20 Aurelien Jarno <aurelien@aurel32.net>
9276
9277 [BZ #16915]
9278 * locale/nl_langinfo_l.c: Make direct reference to every
9279 _nl_current_CATEGORY symbol.
9280 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
9281 (tests-static): Add tst-langinfo-static.
9282 (tests-special): Add tst-langinfo-static.out.
9283 ($(objpfx)tst-langinfo.out): Redirect output.
9284 ($(objpfx)tst-langinfo-static.out): New.
9285 * localedata/tst-langinfo.sh: Send output to stdout.
9286 * localedata/tst-langinfo-static.c: New file.
9287
4406c41c
AJ
9288 [BZ #16965]
9289 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
9290 when the shift amount is modulo the limb size.
9291
4c0a1e63
RH
92922014-05-20 Richard Henderson <rth@redhat.com>
9293
de9d8f20
RH
9294 [BZ #16967]
9295 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
9296 Change type of sa_flags from unsigned int to int.
9297
4c0a1e63
RH
9298 [BZ #16966]
9299 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
9300
9301 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
9302
a60339aa
WN
93032014-05-20 Will Newton <will.newton@linaro.org>
9304
9305 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9306 Test the return value of the system call in the nocancel case.
9307
7d05a816
YR
93082014-05-20 Will Newton <will.newton@linaro.org>
9309 Yvan Roux <yvan.roux@linaro.org>
9310
9311 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
9312 #include of asm/ptrace.h.
9313 (PTRACE_GET_THREAD_AREA): Remove #undef.
9314 (PTRACE_GETHBPREGS): Likewise.
9315 (PTRACE_SETHBPREGS): Likewise.
9316 (struct user_regs_struct): New structure.
9317 (struct user_fpsimd_struct): New structure.
9318 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
9319 #include of asm/ptrace.h and second #include of sys/user.h.
9320 (PTRACE_GET_THREAD_AREA): Remove #undef.
9321 (PTRACE_GETHBPREGS): Likewise.
9322 (PTRACE_SETHBPREGS): Likewise.
9323 (ELF_NGREG): Use new struct user_regs_struct.
9324 (elf_fpregset_t): Use new struct user_fpsimd_struct.
9325
af121e37
AZ
93262014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9327
9328 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
9329 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
9330
834caf06
JM
93312014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9332
9333 [BZ #16958]
9334 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
9335 membar to avoid block loads/stores to overlap previous stores.
9336
e184a918
RH
93372014-05-17 Richard Henderson <rth@redhat.com>
9338
9339 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
9340 Create the __##syscall_name##_nocancel entry point.
9341 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
9342 Remove; let the sysdep-cancel.h code create it.
9343
f56c7a6a
DM
93442014-05-17 David S. Miller <davem@davemloft.net>
9345
9346 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
9347 Protect with __USE_GNU.
9348 (TIOCSET_TEMPT): Likewise.
9349 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9350 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
9351 these are already provided in bits/ioctl-types.h
9352
f75616b2
RM
93532014-05-16 Roland McGrath <roland@hack.frob.com>
9354
3edeca86
RM
9355 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
9356 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
9357
f75616b2
RM
9358 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
9359 Use wait4 regardless of [__NR_waitpid].
9360
deb0f7f6
MR
93612014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9362
9363 PR libgcc/60166
9364 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9365 (_FP_NANSIGN_Q): Set the quiet bit.
9366
79520f4b
JM
93672014-05-16 Joseph Myers <joseph@codesourcery.com>
9368
9369 * benchtests/Makefile
9370 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
9371 not $(common-objpfx)math/libm.so.
9372 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
9373 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
9374 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
9375 $(common-objpfx)dlfcn/libdl.so.
9376 ($(objpfx)tst-audit8): Depend on $(libm), not
9377 $(common-objpfx)math/libm.so.
9378 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
9379 not $(common-objpfx)dlfcn/libdl.so.
9380 * math/Makefile
9381 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9382 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
9383 [$(build-shared) = yes].
9384 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
9385 $(common-objpfx)nptl/libpthread.so.
9386 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
9387 $(common-objpfx)math/libm.so$(libm.so-version) or
9388 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
9389 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
9390 $(common-objpfx)dlfcn/libdl.so.
9391 * setjmp/Makefile (link-libm): Remove variable.
9392 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
9393 * stdio-common/Makefile (link-libm): Remove variable.
9394 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
9395 * stdlib/Makefile (link-libm): Remove variable.
9396 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
9397 ($(objpfx)tst-strtod-round): Likewise.
9398 ($(objpfx)tst-tininess): Likewise.
9399 ($(objpfx)tst-strtod-underflow): Likewise.
9400 ($(objpfx)tst-strtod6): Likewise.
9401 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
9402 $(libdl), not $(common-objpfx)nptl/libpthread.so and
9403 $(common-objpfx)dlfcn/libdl.so.
9404
026b0fe4
AZ
94052014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9406
9407 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
9408 BSD terminal modes definitions.
9409
def4bcb2
RM
94102014-05-16 Roland McGrath <roland@hack.frob.com>
9411
fe39b021
RM
9412 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
9413 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
9414
1d1fc46e 9415 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
9416 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
9417 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
9418 Don't do #include_next.
9419 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
9420 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
9421 Don't do #include_next.
9422 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
9423 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
9424 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
9425 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
9426
c72399fb
AM
94272014-05-16 Allan McRae <allan@archlinux.org>
9428
d51d659d
AM
9429 * po/sv.po: Update Swedish translation from translation project.
9430
c72399fb
AM
9431 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
9432 in sed expression.
9433
d0583c40
AJ
94342014-05-16 Aurelien Jarno <aurelien@aurel32.net>
9435
9436 [BZ #16917]
9437 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
9438 errno if the TIOCGPTN ioctl fails with an error different than
9439 EINVAL.
9440 * login/tst-ptsname.c: New file.
9441 * login/Makefile (tests): Add tst-ptsname.
9442
d16e6ec7
AJ
9443 [BZ #16943]
9444 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
9445 and prlimit64.
9446
cf26a0cb
SP
94472014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9448
9449 [BZ #16849]
9450 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
9451 herrno to return EAI_AGAIN.
9452
5675da1e
RM
94532014-05-14 Roland McGrath <roland@hack.frob.com>
9454
a5d87b3d
RM
9455 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
9456 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
9457 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
9458 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
9459 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
9460 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
9461 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
9462 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
9463 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
9464 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
9465 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
9466 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
9467 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
9468 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
9469 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
9470 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
9471 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
9472 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
9473 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
9474 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
9475 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
9476 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
9477 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
9478 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
9479 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
9480 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
9481 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
9482 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
9483 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
9484 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
9485 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
9486 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
9487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
9488 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
9489 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9490 Moved ...
9491 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
9492 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
9493 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
9494 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
9495 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
9496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
9497 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
9498 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
9499 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
9500 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
9501 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
9502 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
9503 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
9504 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
9505 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
9506 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
9507 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
9508 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
9509 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
9510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
9511 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
9512 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
9513 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
9514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
9515 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
9516 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
9517 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
9518 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9519 Moved ...
9520 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
9521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
9522 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
9523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
9524 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
9525 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
9526 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
9527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
9528 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
9529 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
9530 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
9531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
9532 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
9533 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
9534 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
9535 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
9536 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
9537 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
9538 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
9539 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9540 Moved ...
9541 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
9542 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
9543 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
9544
039890a6
RM
9545 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
9546 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
9547 (libpthread-sysdep_routines): Add elision-related stuff here instead.
9548 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
9549 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
9550 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
9551 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
9552 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
9553 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
9554 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
9555 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
9556 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
9557 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
9558 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
9559 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
9560 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
9561 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
9562 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
9563 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
9564 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
9565 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
9566 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
9567 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
9568 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
9569 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
9570 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
9571 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
9572 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
9573 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
9574 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
9575 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
9576
65c89320
RM
9577 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
9578 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
9579
348f8e8c
RM
9580 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
9581 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
9582 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
9583 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
9584 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
9585 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
9586 Moved ...
9587 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
9588 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
9589 Moved ...
9590 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
9591 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
9592 Moved ...
9593 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
9594 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
9595 Moved ...
9596 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
9597 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
9598 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
9599 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
9600 Moved ...
9601 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
9602 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
9603 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
9604 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
9605 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
9606 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
9607 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
9608 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
9609 Moved ...
9610 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
9611 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9612 Moved ...
9613 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9614 ... here.
9615 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
9616 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
9617 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
9618 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
9619 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9620 Moved ...
9621 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9622 ... here.
9623 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
9624 Moved ...
9625 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
9626 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
9627 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
9628 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
9629 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
9630 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
9631 Moved ...
9632 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
9633 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
9634 Moved ...
9635 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
9636 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9637 Moved ...
9638 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
9639 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
9640 Moved ...
9641 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
9642 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
9643 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
9644 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
9645 Moved ...
9646 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
9647 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
9648 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
9649 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
9650 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
9651 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
9652 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
9653 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
9654 Moved ...
9655 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
9656 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9657 Moved ...
9658 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9659 ... here.
9660 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
9661 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
9662 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
9663 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
9664 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9665 Moved ...
9666 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9667 ... here.
9668 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
9669 Moved ...
9670 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
9671 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
9672 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
9673 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
9674 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
9675 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
9676 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
9677 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
9678 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
9679 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
9680 Moved ...
9681 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
9682 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9683 Moved ...
9684 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
9685 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
9686 Moved ...
9687 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
9688 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
9689 Moved ...
9690 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
9691 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
9692 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
9693 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
9694 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
9695 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
9696 Moved ...
9697 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
9698 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
9699 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
9700 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
9701 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
9702 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
9703 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
9704 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
9705 Moved ...
9706 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
9707 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9708 Moved ...
9709 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9710 ... here.
9711 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
9712 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
9713 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
9714 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
9715 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9716 Moved ...
9717 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9718 ... here.
9719 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
9720 Moved ...
9721 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
9722 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
9723 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
9724 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
9725 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
9726 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
9727 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
9728 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
9729 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
9730 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
9731 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
9732
5085af05
RM
9733 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
9734 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
9735
708f0813
RM
9736 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
9737 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
9738
c96067bc
RM
9739 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
9740 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
9741 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
9742 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
9743 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
9744 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
9745 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
9746 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
9747 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
9748 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
9749 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
9750 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
9751 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
9752 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
9753 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
9754 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
9755 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
9756 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
9757 Moved ...
9758 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
9759 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
9760 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
9761 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
9762 Moved ...
9763 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
9764 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
9765 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
9766 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
9767 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
9768 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
9769 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
9770 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
9771 Moved ...
9772 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
9773 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
9774 Moved ...
9775 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
9776 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
9777 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
9778 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
9779 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
9780 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
9781 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
9782 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
9783 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
9784 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
9785 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
9786 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
9787 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
9788 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
9789 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
9790 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
9791 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
9792
ec136444
RM
9793 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
9794 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
9795 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
9796 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
9797 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
9798
2fbdf533
RM
9799 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
9800 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
9801 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
9802 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
9803 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
9804 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
9805 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
9806 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
9807 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
9808 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
9809
4c68138b
RM
9810 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
9811 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
9812
4eaae765
RM
9813 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
9814 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
9815 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
9816 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
9817 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
9818 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
9819 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
9820 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
9821 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
9822 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
9823 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
9824 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
9825 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
9826 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
9827 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
9828 Update #include.
9829 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
9830 Likewise.
9831 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9832 Likewise.
9833 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9834 Likewise.
9835 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9836 Likewise.
9837 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
9838 Likewise.
9839 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
9840 Likewise.
9841 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9842 Likewise.
9843 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
9844 Likewise.
9845 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
9846 Likewise.
4ef6befa
RM
9847 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
9848 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
9849 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
9850 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
9851 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
9852 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
9853 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
9854 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
9855 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
9856 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
9857 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
9858 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
9859 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
9860 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
9861 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 9862
941d7dfd
RM
9863 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
9864 that was previously under [RESET_PID].
9865 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9866 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
9867 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
9868
1b731c35
RM
9869 * sysdeps/i386/nptl/Implies: New file.
9870 * sysdeps/x86_64/nptl/Implies: New file.
9871 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
9872 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
9873 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
9874 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
9875
e2787137
RM
9876 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
9877 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9878 (__libc_vfork): New strong alias.
9879 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
9880 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
9881
9882 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
9883 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9884 (__libc_vfork): New strong alias.
9885 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
9886 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
9887
5675da1e
RM
9888 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
9889 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9890 (__libc_vfork): New strong alias.
9891 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
9892 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
9893 * nptl/pt-vfork.c: New file.
9894 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
9895 (libpthread: GLIBC_2.20): New version set (empty).
9896
4f02e2b8
WN
98972014-05-14 Will Newton <will.newton@linaro.org>
9898
9899 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
9900 rather than #if.
9901
0bf061d3
JM
99022014-05-14 Joseph Myers <joseph@codesourcery.com>
9903
1a84c3d6
JM
9904 [BZ #16564]
9905 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
9906 arguments with exponent 65 or above.
9907 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
9908 arguments 0x1p113L or above.
9909 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
9910 to arguments 0x1p107L or above.
9911 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
9912 positive arguments with exponent 65 or above.
9913 * math/auto-libm-test-in: Add more tests of log1p.
9914 * math/auto-libm-test-out: Regenerated.
9915
01dbacd2
JM
9916 [BZ #16928]
9917 * math/s_cacos.c (__cacos): Ensure zero real part of result from
9918 non-finite arguments is +0.
9919 * math/s_cacosf.c (__cacosf): Likewise.
9920 * math/s_cacosl.c (__cacosl): Likewise.
9921 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
9922 * sysdeps/i386/fpu/libm-test-ulps: Update.
9923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9924
913d03c8
JM
9925 [BZ #16927]
9926 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
9927 value.
9928 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
9929 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
9930 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
9931 for explicit high bit of mantissa when testing for argument equal
9932 to 1.
9933 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
9934 * sysdeps/i386/fpu/libm-test-ulps: Update.
9935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9936
0bf061d3
JM
9937 [BZ #16516]
9938 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
9939 (__erf): Scale by 16 instead of 8 in potentially underflowing
9940 case. Ensure exception if result actually underflows.
9941 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
9942 (__erff): Scale by 16 instead of 8 in potentially underflowing
9943 case. Ensure exception if result actually underflows.
9944 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
9945 (efx8): Remove variable.
9946 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9947 case. Ensure exception if result actually underflows.
9948 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
9949 (efx8): Remove variable.
9950 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9951 case. Ensure exception if result actually underflows.
9952 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
9953 (efx8): Remove variable.
9954 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9955 case. Ensure exception if result actually underflows.
9956 * math/auto-libm-test-in: Add more tests of erf.
9957 * math/auto-libm-test-out: Regenerated.
9958
73ba67cb
AS
99592014-05-14 Andreas Schwab <schwab@suse.de>
9960
3d8c8bff
AS
9961 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
9962 Remove code conditionalized on USE___THREAD.
9963
73ba67cb
AS
9964 * config.h.in (HAVE_PT_CHOWN): Define as 0.
9965 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
9966 not definedness.
9967
5c521ecd
JM
99682014-05-14 Joseph Myers <joseph@codesourcery.com>
9969
5e7698c6
JM
9970 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
9971 Define unconditionally.
9972 (__ASSUME_O_CLOEXEC): Likewise.
9973 (__ASSUME_SOCK_CLOEXEC): Likewise.
9974 (__ASSUME_IN_NONBLOCK): Likewise.
9975 (__ASSUME_PIPE2): Likewise.
9976 (__ASSUME_EVENTFD2): Likewise.
9977 (__ASSUME_SIGNALFD4): Likewise.
9978 (__ASSUME_DUP3): Likewise.
9979 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9980 (__ASSUME_DUP3): Do not define.
9981 (__ASSUME_EVENTFD2): Likewise.
9982 (__ASSUME_IN_NONBLOCK): Likewise.
9983 (__ASSUME_O_CLOEXEC): Likewise.
9984 (__ASSUME_PIPE2): Likewise.
9985 (__ASSUME_SIGNALFD4): Likewise.
9986 (__ASSUME_SOCK_CLOEXEC): Likewise.
9987 (__ASSUME_UTIMES): Undefine.
9988 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9989 (__ASSUME_UTIMES): Do not define.
9990 (__ASSUME_O_CLOEXEC): Likewise.
9991 (__ASSUME_SOCK_CLOEXEC): Likewise.
9992 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
9993 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
9994 0x020621].
9995 (__ASSUME_PIPE2): Likewise.
9996 (__ASSUME_EVENTFD2): Likewise.
9997 (__ASSUME_SIGNALFD4): Likewise.
9998 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
9999 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
10000 Do not define.
10001 (__ASSUME_EVENTFD2): Likewise.
10002 (__ASSUME_SIGNALFD4): Likewise.
10003 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10004 (__ASSUME_32BITUIDS): Likewise.
10005 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10006 (__ASSUME_IPC64): Likewise.
10007 (__ASSUME_ST_INO_64_BIT): Likewise.
10008 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
10009 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
10010 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10011 (__ASSUME_UTIMES): Do not define.
10012 (__ASSUME_PSELECT): Likewise.
10013 (__ASSUME_PPOLL): Likewise.
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 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10022 (__ASSUME_UTIMES): Likewise.
10023 (__ASSUME_O_CLOEXEC): Likewise.
10024 (__ASSUME_SOCK_CLOEXEC): Likewise.
10025 (__ASSUME_IN_NONBLOCK): Likewise.
10026 (__ASSUME_PIPE2): Likewise.
10027 (__ASSUME_EVENTFD2): Likewise.
10028 (__ASSUME_SIGNALFD4): Likewise.
10029 (__ASSUME_DUP3): Likewise.
10030 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10031 (__ASSUME_UTIMES): Likewise.
10032 (__ASSUME_O_CLOEXEC): Likewise.
10033 (__ASSUME_SOCK_CLOEXEC): Likewise.
10034 (__ASSUME_IN_NONBLOCK): Likewise.
10035 (__ASSUME_PIPE2): Likewise.
10036 (__ASSUME_EVENTFD2): Likewise.
10037 (__ASSUME_SIGNALFD4): Likewise.
10038 (__ASSUME_DUP3): Likewise.
10039 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
10040 Likewise.
10041 (__ASSUME_UTIMES): Likewise.
10042 (__ASSUME_EVENTFD2): Likewise.
10043 (__ASSUME_SIGNALFD4): Likewise.
10044 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10045 (__ASSUME_O_CLOEXEC): Likewise.
10046 (__ASSUME_SOCK_CLOEXEC): Likewise.
10047 (__ASSUME_IN_NONBLOCK): Likewise.
10048 (__ASSUME_PIPE2): Likewise.
10049 (__ASSUME_EVENTFD2): Likewise.
10050 (__ASSUME_SIGNALFD4): Likewise.
10051 (__ASSUME_DUP3): Likewise.
10052 (__ASSUME_UTIMES): Undefine.
10053
5c521ecd
JM
10054 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
10055 feclearexcept. Remove symbol versioning code.
10056 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
10057 symbol versioning code.
10058 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
10059 symbol versioning code.
10060 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
10061 feupdateenv. Remove symbol versioning code.
10062 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
10063 fegetexceptflag. Remove symbol versioning code.
10064 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
10065 fesetexceptflag. Remove symbol versioning code.
10066 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
10067 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
10068 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
10069 (__posix_fadvise64_l32): Remove prototype.
10070 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
10071 code.
10072
5da9dfad
RM
100732014-05-13 Roland McGrath <roland@hack.frob.com>
10074
10075 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
10076 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
10077 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
10078 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
10079
893b4f37
SK
100802014-05-13 Sami Kerola <kerolasa@iki.fi>
10081
10082 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
10083 current working directory
10084
e0db6517
RM
100852014-05-13 Roland McGrath <roland@hack.frob.com>
10086
58aa195d
RM
10087 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
10088 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
10089 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
10090 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
10091 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
10092 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
10093 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
10094 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
10095 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
10096 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
10097 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
10098 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
10099 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
10100 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
10101 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
10102 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
10103 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
10104 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
10105 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
10106 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
10107 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
10108 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
10109 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
10110 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
10111 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
10112 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
10113 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
10114 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
10115 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
10116 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
10117 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
10118 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
10119 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
10120 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
10121 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
10122 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
10123 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
10124 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
10125 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
10126 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
10127 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
10128 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
10129
8c6d01f0
RM
10130 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
10131 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
10132
10133 * sysdeps/unix/sysv/linux/arm/Makefile
10134 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10135 Add rt-aeabi_unwind_cpp_pr1.
10136 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
10137 Add nptl-aeabi_unwind_cpp_pr1.
10138 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
10139 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
10140 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
10141 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10142 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
10143 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10144
10145 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
10146 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
10147 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
10148 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
10149
bba6da4e
RM
10150 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
10151 Deconditionalize the code that was previously under [RESET_PID].
10152 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
10153
e0db6517
RM
10154 * sysdeps/generic/exit-thread.h: New file.
10155 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
10156 * include/unistd.h (__exit_thread): Remove declaration.
10157 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
10158 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
10159 * csu/libc-start.c: Include <exit-thread.h>.
10160 (LIBC_START_MAIN): Pass no argument to __exit_thread.
10161 * nptl/pthread_create.c: Include <exit-thread.h>.
10162 (start_thread): Call __exit_thread in place of __exit_thread_inline.
10163 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
10164 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
10165 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
10166 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
10167 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
10168 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
10169 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
10170 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
10171 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
10172 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
10173 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
10174 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
10175 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
10176 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
10177 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
10178 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
10179
01eb16fd
AS
101802014-05-13 Andreas Schwab <schwab@suse.de>
10181
10182 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
10183
637461d9
JM
101842014-05-12 Joseph Myers <joseph@codesourcery.com>
10185
10186 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10187 (__ASSUME_UTIMES): Do not condition on kernel version.
10188 (__ASSUME_PSELECT): Define unconditionally.
10189 (__ASSUME_PPOLL): Likewise.
10190 (__ASSUME_ATFCTS): Likewise.
10191 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
10192 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
10193 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
10194 (__ASSUME_UTIMENSAT): Define unconditionally.
10195 (__ASSUME_PRIVATE_FUTEX): Likewise.
10196 (__ASSUME_FALLOCATE): Likewise.
10197 (__ASSUME_O_CLOEXEC): Likewise.
10198 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
10199 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
10200 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
10201 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
10202 (__ASSUME_IN_NONBLOCK): Likewise.
10203 (__ASSUME_PIPE2): Likewise.
10204 (__ASSUME_EVENTFD2): Likewise.
10205 (__ASSUME_SIGNALFD4): Likewise.
10206 (__ASSUME_DUP3): Likewise.
10207 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10208 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
10209 (__ASSUME_AT_RANDOM): Likewise.
10210 (__ASSUME_PREADV): Likewise.
10211 (__ASSUME_PWRITEV): Likewise.
10212 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
10213 (__ASSUME_F_GETOWN_EX): Define unconditionally.
10214 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
10215 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10216 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
10217 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10218 (__ASSUME_O_CLOEXEC): Define unconditionally.
10219 (__ASSUME_PSELECT): Do not undefine conditionally.
10220 (__ASSUME_PPOLL): Likewise.
10221 (__ASSUME_ATFCTS): Likewise.
10222 (__ASSUME_SET_ROBUST_LIST): Likewise.
10223 (__ASSUME_UTIMENSAT): Likewise.
10224 (__ASSUME_FDATASYNC): Define unconditionally.
10225 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10226 (__ASSUME_SIGFRAME_V2): Likewise.
10227 )__ASSUME_EVENTFD2): Likewise.
10228 (__ASSUME_SIGNALFD4): Likewise.
10229 (__ASSUME_PSELECT): Do not undefine conditionally.
10230 (__ASSUME_PPOLL): Likewise.
10231 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10232 (__ASSUME_PSELECT): Define unconditionally.
10233 (__ASSUME_PPOLL): Likewise.
10234 (__ASSUME_O_CLOEXEC): Likewise.
10235 (__ASSUME_SOCK_CLOEXEC): Likewise.
10236 (__ASSUME_IN_NONBLOCK): Likewise.
10237 (__ASSUME_PIPE2): Likewise.
10238 (__ASSUME_EVENTFD2): Likewise.
10239 (__ASSUME_SIGNALFD4): Likewise.
10240 (__ASSUME_DUP3): Likewise.
10241 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10242 (__ASSUME_O_CLOEXEC): Likewise.
10243 (__ASSUME_SOCK_CLOEXEC): Likewise.
10244 (__ASSUME_IN_NONBLOCK): Likewise.
10245 (__ASSUME_PIPE2): Likewise.
10246 (__ASSUME_EVENTFD2): Likewise.
10247 (__ASSUME_SIGNALFD4): Likewise.
10248 (__ASSUME_DUP3): Likewise.
10249 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10250 (__ASSUME_EVENTFD2): Likewise.
10251 (__ASSUME_SIGNALFD4): Likewise.
10252 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10253
315eb1d8
AS
102542014-05-12 Andreas Schwab <schwab@suse.de>
10255
10256 [BZ #16932]
10257 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
10258 (_nss_nis_gethostbyname4_r): Return error if item length is larger
10259 than maximum RPC packet size.
10260 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
10261 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
10262 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
10263 (_nss_nis_getservbyport_r): Likewise.
10264
91df99f7
WN
102652014-05-12 Will Newton <will.newton@linaro.org>
10266
10267 * malloc/Makefile (tests): Add tst-mallopt.
10268 * malloc/tst-mallopt.c: New file.
10269
0a982a29
RM
102702014-05-09 Roland McGrath <roland@hack.frob.com>
10271
10272 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
10273 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
10274
0ded08a5
AZ
102752014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10276
10277 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
10278 (tst-tlsmod6.so): Likewise.
10279
55d4d550
RM
102802014-05-09 Roland McGrath <roland@hack.frob.com>
10281
10282 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
10283
77d08aca
JM
102842014-05-09 Joseph Myers <joseph@codesourcery.com>
10285
10286 [BZ #16064]
10287 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
10288 and <dl-procinfo.h>.
10289 (__fegetenv): Save SSE state in envp->__eip if supported.
10290 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
10291 envp->__eip if supported.
10292 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
10293 and <dl-procinfo.h>.
10294 (__fesetenv): Always set __eip, __cs_selector, __opcode,
10295 __data_offset and __data_selector in environment to 0. Set SSE
10296 state if supported.
10297 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10298 test-fenv-sse.
10299 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
10300 -mfpmath=sse.
10301 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
10302
28162f4d
WN
103032014-05-09 Will Newton <will.newton@linaro.org>
10304
10305 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
10306 and libc_relro_required for ARM.
10307 * sysdeps/arm/preconfigure: Regenerate.
10308
5a414ff7
DV
103092014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
10310 Stefan Liebler <stli@linux.vnet.ibm.com>
10311
10312 * config.make.in (enable-lock-elision): New Makefile variable.
10313 * configure.ac: Likewise.
10314 * configure: Regenerate.
10315 * sysdeps/s390/configure.ac:
10316 Add check for gcc transactions support.
10317 * sysdeps/s390/configure: Regenerate.
10318 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
10319 Build elision files if enabled.
10320 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
10321 Add lock elision support for s390.
10322 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
10323 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
10324 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
10325 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10326 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10327 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
10328 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10329 Likewise.
10330 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
10331 Likewise.
10332 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
10333 Likewise.
10334 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
10335 Likewise.
10336 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
10337 (__lll_timedlock_elision, __lll_lock_elision)
10338 (__lll_unlock_elision, __lll_trylock_elision)
10339 (lll_timedlock_elision, lll_lock_elision)
10340 (lll_unlock_elision, lll_trylock_elision): Add.
10341 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10342 (pthread_mutex_t): Add lock elision support for s390.
10343
1a2f40e5
W
103442014-05-14 Wilco <wdijkstr@arm.com>
10345
10346 * sysdeps/arm/fclrexcpt.c: Cleanup.
10347 * sysdeps/arm/fedisblxcpt.c: Cleanup.
10348 * sysdeps/arm/feenablxcpt.c: Cleanup.
10349 * sysdeps/arm/fegetenv.c: Cleanup.
10350 * sysdeps/arm/fegetexcept.c: Cleanup.
10351 * sysdeps/arm/fegetround.c: Cleanup.
10352 * sysdeps/arm/feholdexcpt.c: Cleanup.
10353 * sysdeps/arm/fesetenv.c: Cleanup.
10354 * sysdeps/arm/fesetround.c: Cleanup.
10355 * sysdeps/arm/feupdateenv.c: Cleanup.
10356 * sysdeps/arm/fgetexcptflg.c: Cleanup.
10357 * sysdeps/arm/fraiseexcpt.c: Cleanup.
10358 * sysdeps/arm/fsetexcptflg.c: Cleanup.
10359 * sysdeps/arm/ftestexcept.c: Cleanup.
10360 * sysdeps/arm/get-rounding-mode.h: Cleanup.
10361 * sysdeps/arm/setfpucw.c: Cleanup.
10362
f63c86fe
WN
103632014-05-09 Will Newton <will.newton@linaro.org>
10364
10365 * sysdeps/arm/armv7/strcmp.S: New file.
10366 * NEWS: Mention addition of ARMv7 optimized strcmp.
10367
7a1a51b5
RM
103682014-05-08 Roland McGrath <roland@hack.frob.com>
10369
95afbbe5
RM
10370 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
10371 look for %.ac rather than %.in.
10372
10373 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
10374 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
10375 * sysdeps/mach/hurd/configure: Regenerated.
10376 * sysdeps/unix/sysv/linux/configure: Regenerated.
10377
7a1a51b5
RM
10378 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
10379
5057ad3b
SE
103802014-05-07 Steve Ellcey <sellcey@mips.com>
10381
10382 [BZ# 16922]
10383 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
10384 (LONG_SUB): Ditto.
10385 (PTR_SUB): Ditto.
10386
8dc97517
AS
103872014-05-07 Andreas Schwab <schwab@suse.de>
10388
10389 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
10390 when skipping over non-matching result from nscd.
10391
ce0c5b8f
OB
103922014-05-07 Ondřej Bílka <neleai@seznam.cz>
10393
10394 [BZ #16876]
10395 * nptl/sockperf.c (client): Check socket return value.
8dc97517 10396
a1189263
OB
10397 [BZ #16877]
10398 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
10399 nscd security class.
ce0c5b8f 10400
0f58d252
RM
104012014-05-06 Roland McGrath <roland@hack.frob.com>
10402
10403 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
10404 * sysdeps/arm/unwind.h: ... here.
10405
83df9ad0
AJ
104062014-05-06 Aurelien Jarno <aurelien@aurel32.net>
10407
ce0c5b8f
OB
10408 [BZ# 16916]
10409 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
10410 Define.
83df9ad0 10411
f360f94a
VR
104122014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10413
10414 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
10415 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
10416 multiarch strncpy for PPC64.
10417 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
10418 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
10419 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
10420 multiarch optimizations.
10421 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10422 (__libc_ifunc_impl_list): Likewise.
10423 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
10424 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
10425 multiarch stpncpy for PPC64.
10426 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
10427 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
10428
978a41c3
AS
104292014-05-06 Andreas Schwab <schwab@suse.de>
10430
10431 [BZ #16912]
10432 * gmon/mcount.c (_MCOUNT_DECL): Use
10433 atomic_compare_and_exchange_bool_acq instead of
10434 catomic_compare_and_exchange_bool_acq.
10435
eb1ed03d
RM
104362014-05-05 Roland McGrath <roland@hack.frob.com>
10437
fe658845
RM
10438 * elf/Makefile (others, install-bin): Remove pldd.
10439 (pldd-modules): Variable removed.
10440 ($(objpfx)pldd): Target removed.
10441 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
10442 (others, install-bin): Append pldd here.
10443 ($(objpfx)pldd): New target.
10444
eb1ed03d
RM
10445 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
10446 to 0, so the first #if test emitted later doesn't see it undefined.
10447 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
10448 * sysdeps/gnu/errlist.c: Regenerated.
10449
19c4bec0
AZ
104502014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10451
10452 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10453 [libc_hidden_builtin_def]: Define to empty value.
10454 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
10455 [libc_hidden_builtin_def]: Likewise.
10456 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
10457 [libc_hidden_builtin_def]: Likewise.
10458 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
10459 [libc_hidden_builtin_def]: Likewise.
10460 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
10461 __redirect_memcpy and define ifunc as default hidden symbol.
10462 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
10463 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
10464
7776e669
AC
104652014-05-04 Adam Conrad <adconrad@0c3.net>
10466
10467 * locale/iso-4217.def: Reintroduce XDR currency.
10468
d69aeb12
AM
104692014-05-04 Allan McRae <allan@archlinux.org>
10470
10471 * po/eo.po: Update Esperanto translation from translation project.
10472
8f1df5cf
CD
104732014-05-02 Carlos O'Donell <carlos@redhat.com>
10474
10475 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
10476 and FEATURE_INDEX_MAX to 1.
10477 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
10478
13e402e7
SE
104792014-05-01 Steve Ellcey <sellcey@mips.com>
10480
10481 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
10482 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
10483 * iconvdata/big5.c (ONE_DIRECTION): Define.
10484 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
10485 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
10486 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
10487 * iconvdata/cp932.c (ONE_DIRECTION): Define.
10488 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
10489 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
10490 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
10491 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
10492 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
10493 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
10494 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
10495 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
10496 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
10497 * iconvdata/gbk.c (ONE_DIRECTION): Define.
10498 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
10499 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
10500 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
10501 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
10502 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
10503 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
10504 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
10505 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
10506 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
10507 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
10508 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
10509 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
10510 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
10511 * iconvdata/iso646.c (ONE_DIRECTION): Define.
10512 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
10513 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
10514 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
10515 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
10516 * iconvdata/johab.c (ONE_DIRECTION): Define.
10517 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
10518 * iconvdata/sjis.c (ONE_DIRECTION): Define.
10519 * iconvdata/t.61.c (ONE_DIRECTION): Define.
10520 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
10521 * iconvdata/tscii.c (ONE_DIRECTION): Define.
10522 * iconvdata/uhc.c (ONE_DIRECTION): Define.
10523 * iconvdata/unicode.c (ONE_DIRECTION): Define.
10524 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
10525 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
10526 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
10527
c727f032
RM
105282014-05-01 Roland McGrath <roland@hack.frob.com>
10529
8f2f08d0
RM
10530 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
10531 (_IO_JUMPS_OFFSET): Define to 0.
10532
c727f032
RM
10533 * nptl/sysdeps/pthread/bits/libc-lock.h
10534 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10535 (__libc_lock_define_initialized_recursive): Always define using
10536 initializer. Modern compilers treat uninitialized (implicit zero) and
10537 explicit zero initializers the same (i.e. put the datum in bss).
10538
a849e800
AS
105392014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10540
10541 * nscd/nscd-client.h: Include <string.h>.
10542
5331255b
DM
105432014-05-01 David S. Miller <davem@davemloft.net>
10544
10545 [BZ #16885]
10546 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
10547 multiple zero bytes exist at the end of a string.
10548 Reported by Aurelien Jarno <aurelien@aurel32.net>
10549
10550 * string/test-strcmp.c (check): Add explicit test for situations where
10551 there are multiple zero bytes after the first.
10552
4fdfe821
AS
105532014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10554
10555 [BZ #16890]
10556 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
10557 when compiling wprintf.
10558 * stdio-common/tstdiomisc.c (t3): New function.
10559 (main): Call it.
10560
0cdddc25
SE
105612014-05-01 Steve Ellcey <sellcey@mips.com>
10562
10563 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
10564 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
10565 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
10566 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
10567
6426d77e
SE
105682014-05-01 Steve Ellcey <sellcey@mips.com>
10569
10570 * stdlib/longlong.h: Updated from GCC.
10571
6d96f5e4
WN
105722014-05-01 Will Newton <will.newton@linaro.org>
10573 Bernard Ogden <bernie.ogden@linaro.org>
10574
7470db0c
WN
10575 * NEWS: Update fixed bug list.
10576
6d96f5e4
WN
10577 [BZ #15119]
10578 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
10579
211d653c
DM
105802014-04-30 David S. Miller <davem@davemloft.net>
10581
4fa262fa
DM
10582 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
10583 (libc_feholdexcept_setround_sparc_ctx): New function.
10584 (libc_fesetenv_sparc_ctx): Likewise.
10585 (libc_feupdateenv_sparc_ctx): Likewise.
10586 (libc_feholdsetround_sparc_ctx): Likewise.
10587 (libc_feholdexcept_setround_ctx): Define.
10588 (libc_feholdexcept_setroundf_ctx): Likewise.
10589 (libc_feholdexcept_setroundl_ctx): Likewise.
10590 (libc_fesetenv_ctx): Likewise.
10591 (libc_fesetenvf_ctx): Likewise.
10592 (libc_fesetenvl_ctx): Likewise.
10593 (libc_feupdateenv_ctx): Likewise.
10594 (libc_feupdateenvf_ctx): Likewise.
10595 (libc_feupdateenvl_ctx): Likewise.
10596 (libc_feresetround_ctx): Likewise.
10597 (libc_feresetroundf_ctx): Likewise.
10598 (libc_feresetroundl_ctx): Likewise.
10599 (libc_feholdsetround_ctx): Likewise.
10600 (libc_feholdsetroundf_ctx): Likewise.
10601 (libc_feholdsetroundl_ctx): Likewise.
10602
1d3d93ef
DM
10603 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10604 with __USE_GNU instead of XOPEN cpp guards.
10605
8aa583c3
DM
10606 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
10607 0.
10608
211d653c
DM
10609 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10610 with XOPEN cpp guards.
10611
60c8f1f6
JB
106122014-04-30 Julian Brown <julian@codesourcery.com>
10613
10614 [BZ #16888]
10615 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
10616 handling.
10617
9a461d46
JM
106182014-04-30 Joseph Myers <joseph@codesourcery.com>
10619
d0f5b3f8
JM
10620 [BZ #9894]
10621 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
10622 Change to 2.6.32.
10623 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
10624 * sysdeps/unix/sysv/linux/configure: Regenerated.
10625 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
10626 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
10627 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
10628 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
10629 * README: Update reference to required Linux kernel version.
10630 * manual/install.texi (Linux): Update reference to required Linux
10631 kernel headers version.
10632 * INSTALL: Regenerated.
10633
9a461d46
JM
10634 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
10635 header inclusion.
10636 [POSIX] (limits.h): Likewise.
10637 [POSIX] (math.h): Likewise.
10638 [POSIX] (sys/wait.h): Likewise.
10639 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
10640 function.
10641 [POSIX] (stddef.h): Do not allow header inclusion.
10642
1775babf
AZ
106432014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10644
57f41c40 10645 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 10646
8f630cca
YY
106472014-04-30 Yang Yingliang <yangyingliang@huawei.com>
10648
10649 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10650 Return immediately after lll_futex_wake.
10651
1cdeb237
SP
106522014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10653
bc8f194c
SP
10654 [BZ #16791]
10655 * nscd/nscd-client.h (datahead_init_common): Initialize entire
10656 structure.
10657 (datahead_init_pos): Call datahead_init_common early.
10658 (datahead_init_neg): Likewise.
10659
1cdeb237
SP
10660 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
10661 datahead_init_neg): New functions.
10662 * nscd/aicache.c (addhstaiX): Use them.
10663 * nscd/grpcache.c (cache_addgr): Likewise.
10664 * nscd/hstcache.c (cache_addhst): Likewise.
10665 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10666 * nscd/netgroupcache.c (do_notfound): Likewise.
10667 (addgetnetgrentX): Likewise.
10668 (addinnetgrX): Likewise.
10669 * nscd/pwdcache.c (cache_addpw): Likewise.
10670 * nscd/servicescache.c (cache_addserv): Likewise.
10671
16b293a7
SP
106722014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10673 Atsushi Onoe <atsushi@onoe.org>
10674
10675 [BZ #14308]
10676 [BZ #12994]
10677 [BZ #13651]
10678 * resolv/res_query.c (__libc_res_nsearch): Return if at least
10679 one response is valid.
10680 * resolv/res_send.c (send_dg): Check for validity of other
10681 response if the current response is a referral.
10682
a28a9b94
SE
106832014-04-29 Steve Ellcey <sellcey@mips.com>
10684
10685 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
10686
2ca180e9
SL
106872014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
10688
10689 [BZ #16823]
10690 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
10691 Always divide by positive zero when computing -Inf result.
10692 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10693 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
10694
18f2945a
AZ
106952014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10696
10697 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
10698 FPSCR if value do not change.
10699 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10700 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
10701 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10702 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10703 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
10704 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
10705 function.
10706
5abebba4
CD
107072014-05-29 Carlos O'Donell <carlos@systemhalted.org>
10708
10709 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
10710 * sysdeps/unix/sysv/linux/hppa: Move directory from
10711 ports/systeps/unix/sysv/linux/hppa.
10712 * README: Update listing for hppa-*-linux-gnu.
10713
f7ed60c2
OB
107142014-04-28 Ondřej Bílka <neleai@seznam.cz>
10715
fff763a5
OB
10716 [BZ #16754]
10717 * manual/stdio.texi (Hook functions): Fix types of stream hook
10718 functions.
f7ed60c2
OB
10719 [BZ #16854]
10720 * socket/sys/socket.h: Fix typo in comment.
10721
df639d73
WD
107222014-04-28 Wilco <wdijkstr@arm.com>
10723
f7ed60c2 10724 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
10725 * sysdeps/arm/math_private.h: New file.
10726 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
10727
48332d82
L
107282014-04-25 H.J. Lu <hongjiu.lu@intel.com>
10729
10730 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
10731 with __int128_t.
10732 (La_x86_64_retval): Likewise.
10733
e5e0d9a4
IB
107342014-04-24 Ian Bolton <ian.bolton@arm.com>
10735
10736 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
10737 fpsr if value didn't change.
10738 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
10739 to fpcr if value didn't change.
10740 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
10741 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
10742 fpsr or fpcr if value didn't change.
10743 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10744 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
10745 fpcr if value didn't change.
10746 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
10747 to fpsr if value didn't change.
10748
bacc75f7
SP
107492014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10750
10751 * nptl/tst-sem3.c: Use test-skeleton.c
10752 (main): Rename to do_test. Use return instead of
10753 exit.
10754 * nptl/tst-sem4.c: Use test-skeleton.c
10755 (main): Rename to do_test.
10756
a059d359
DM
107572014-04-22 David S. Miller <davem@davemloft.net>
10758
10759 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
10760 (struct sigaction): New struct member __glibc_reserved0, change
10761 type of sa_flags to int.
10762
ea6c92f3
YZ
107632014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
10764
10765 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
10766 (COUNT_LEADING_ZEROS_0): Define for AArch64.
10767
766c4a36
SP
107682014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10769
10770 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
10771 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
10772
140cc7ab
VK
107732014-04-22 Will Newton <will.newton@linaro.org>
10774 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
10775
10776 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
10777 (__longjmp): Add longjmp and longjmp_target SystemTap
10778 probes.
10779 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
10780 (__sigsetjmp): Add setjmp SystemTap probe.
10781
c54e5cf7
CD
107822014-04-17 Carlos O'Donell <carlos@redhat.com>
10783
10784 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
10785 match manual order.
10786
75ffb047
AZ
107872014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10788
10789 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
10790
2cd925f7
AZ
10791 * sysdeps/powerpc/fpu/fenv_private.h
10792 (libc_feholdexcept_setroundl_ctx): Define to
10793 libc_feholdexcept_setround_ppc_ctx.
10794 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
10795 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
10796 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
10797 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
10798
39e6cd8d
IB
107992014-04-17 Ian Bolton <ian.bolton@arm.com>
10800
10801 * sysdeps/aarch64/math-tests.h: New file.
10802
f9281df9
SY
108032014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
10804
10805 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
10806 New.
10807 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10808 Check and set bit_AVX2_Usable.
10809 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
10810 macro.
10811 (bit_AVX2): Likewise.
10812 (index_AVX2_Usable): Likewise.
10813 (CPUID_AVX2): Likewise.
10814 (HAS_AVX2): Likewise.
10815
37d35007
WN
108162014-04-17 Will Newton <will.newton@linaro.org>
10817
7c677662
WN
10818 * manual/setjmp.texi (System V contexts): Add note that
10819 calling setcontext on a context created by a call to a
10820 signal handler is undefined. Update text to note that
10821 setcontext from a signal handler is possible but not
10822 recommended.
10823
37d35007 10824 [BZ #16629]
e04a4e9d
WN
10825 * stdlib/tst-setcontext.c: Include signal.h.
10826 (main): Check that the signal stack before and
10827 after swapcontext is the same.
10828
37d35007
WN
10829 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
10830 Re-implement to restore registers in user code and avoid
10831 rt_sigreturn system call.
10832
423a7160
W
108332014-04-17 Wilco <wdijkstr@arm.com>
10834
10835 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
10836 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
10837 * math/test-fenv.c: Skip exception trap tests on targets which only
10838 support non-stop mode.
10839
bc93ab29
IB
108402014-04-17 Ian Bolton <ian.bolton@arm.com>
10841 Wilco Dijkstra <wilco.dijkstra@arm.com>
10842
10843 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
10844 (libc_feholdsetround_aarch64_ctx)
10845 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
10846 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
10847 (libc_feresetround_ctx, libc_feresetroundf_ctx)
10848 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
10849 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
10850 (libc_feresetround_noexl_ctx): Define.
10851
95fc5fa3
RH
108522014-04-16 Richard Henderson <rth@redhat.com>
10853
ddb04724
RH
10854 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
10855
d77c0899
RH
10856 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
10857 unwind tables.
10858
a3df56fc
RH
10859 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
10860 const from the non-libc, non-ldso copy.
10861
95fc5fa3
RH
10862 * sysdeps/alpha/libm-test-ulps: Regenerate.
10863
7e0b6763
IB
108642014-04-16 Ian Bolton <ian.bolton@arm.com>
10865 Wilco Dijkstra <wilco.dijkstra@arm.com>
10866
10867 * sysdeps/aarch64/fpu/math_private.h: New file.
10868
a9ea2e0c
MS
108692014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
10870
10871 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10872
ea8ba7cd
IZ
108732014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
10874
7e54fd04 10875 [BZ #16275]
ea8ba7cd
IZ
10876 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
10877 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
10878 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
10879 Intel MPX bound registers before _dl_profile_fixup.
10880 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
10881 registers after _dl_profile_fixup. Save and restore bound
10882 registers bnd0/bnd1 when calling _dl_call_pltexit.
10883 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
10884 (LR_BND_OFFSET): Likewise.
10885 (LRV_BND0_OFFSET): Likewise.
10886 (LRV_BND1_OFFSET): Likewise.
10887
9f2a4fbc
ST
108882014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10889
10890 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
10891 to...
10892 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
10893 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
10894 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
10895 fields.
9f2a4fbc 10896
fd15a59b
ST
108972014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10898
10899 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
10900
f19dfa0a
SL
109012014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10902
10903 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10904
4fa8bc3b
SL
109052014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10906
10907 [BZ #14770]
10908 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
10909 * sysdeps/s390/configure: Regenerate.
10910
8ea587db
SL
10911 [BZ #16824]
10912 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
10913 Set round-to-nearest internally to reduce error accumulation.
10914
aa5f0ff1
AM
109152014-04-16 Alan Modra <amodra@gmail.com>
10916
10917 [BZ #16740]
10918 [BZ #16619]
10919 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
10920 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 10921 * NEWS: Update fixed bug list.
aa5f0ff1 10922
bb9c256f
SP
109232014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10924
10925 * benchtests/Makefile: Depend on libraries in build directory.
10926 (bench-math): Separate out math tests.
10927 (bench-pthread): Separate out pthread tests.
10928 (bench): Include math and pthread tests.
10929
f737dfd0
CD
109302014-04-14 Carlos O'Donell <carlos@redhat.com>
10931
10932 [BZ #16831]
10933 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
10934 _dl_debug_initialize.
10935
0699f766
CD
10936 * configure.ac: Remove SELinux header check.
10937 * configure: Regenerate.
10938 * nscd/selinux.c (perms): Array of const char* to permission names.
10939 (nscd_request_avc_has_perm): Call security_deny_unknown to find
10940 default policy. Call string_to_security_class and string_to_av_perm to
10941 translate strings. Enforce default policy and call avs_has_perm with
10942 results of translated strings.
10943
809bd45f
DM
109442014-04-13 David S. Miller <davem@davemloft.net>
10945
10946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10947
89e691f2
AM
109482014-04-12 Allan McRae <allan@archlinux.org>
10949
10950 [BZ #16838]
10951 * manual/string.texi (Collation Functions): Fix qsort argument
10952 order in example.
10953 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10954
9c9daaeb
CM
109552014-04-11 Chris Metcalf <cmetcalf@tilera.com>
10956
10957 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
10958 Make the test a no-op if there are no exceptions defined.
10959
95561fb9
PP
109602014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
10961
fe8d072c 10962 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
10963 enable-hardcoded-path-in-tests
10964
970c602a
WN
109652014-04-11 Will Newton <will.newton@linaro.org>
10966
10967 * benchtests/Makefile (extra-objs): Add json-lib.o.
10968 (bench-func): Tidy up JSON output.
10969 * benchtests/bench-skeleton.c: Include json-lib.h.
10970 (main): Use JSON library functions to do output of
10971 benchmark results.
10972 * benchtests/bench-timing-type.c (main): Output the
10973 timing type simply, leaving formatting to the user.
10974 * benchtests/json-lib.c: New file.
10975 * benchtests/json-lib.h: Likewise.
10976
36875b06
TR
109772014-04-11 Torvald Riegel <triegel@redhat.com>
10978
10979 [BZ #15215]
10980 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
10981 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
10982 memory barriers. Add comments.
10983 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
10984 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
10985 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
10986 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
10987 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
10988 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
10989
579db35a
SL
109902014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10991
10992 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
10993 * sysdeps/s390/s390-64/configure.ac: ... this ...
10994 * sysdeps/s390/configure.ac: ... to here.
10995 * sysdeps/s390/s390-32/configure: Delete file.
10996 * sysdeps/s390/s390-64/configure: Delete file.
10997 * sysdeps/s390/configure: Regenerate.
10998
c12e9f37
JAPH
109992014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
11000
11001 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
11002
439bda32
WN
110032014-04-11 Will Newton <will.newton@linaro.org>
11004
11005 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
11006 to zero if it is not defined elsewhere. (mtrim): Test
11007 the value of MALLOC_DEBUG with #if rather than #ifdef.
11008
6a5d6ea1
TR
110092014-04-10 Torvald Riegel <triegel@redhat.com>
11010
11011 * benchtests/pthread_once-inputs: New file.
11012 * benchtests/pthread_once-source.c: New file.
11013 * benchtests/README: Update documentation.
11014
a4c75cfd
IZ
110152014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
11016 H.J. Lu <hongjiu.lu@intel.com>
11017
7e54fd04 11018 [BZ #16275]
a4c75cfd
IZ
11019 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
11020 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
11021 * sysdeps/x86_64/configure: Regenerated.
11022 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
11023 macro.
11024 (REGISTER_SAVE_RAX): Likewise.
11025 (REGISTER_SAVE_RCX): Likewise.
11026 (REGISTER_SAVE_RDX): Likewise.
11027 (REGISTER_SAVE_RSI): Likewise.
11028 (REGISTER_SAVE_RDI): Likewise.
11029 (REGISTER_SAVE_R8): Likewise.
11030 (REGISTER_SAVE_R9): Likewise.
11031 (REGISTER_SAVE_BND0): Likewise.
11032 (REGISTER_SAVE_BND1): Likewise.
11033 (REGISTER_SAVE_BND2): Likewise.
11034 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
11035 bound registers when calling _dl_fixup.
11036
27822ce6
AZ
110372014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11038
11039 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
11040 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
11041 of its definition.
27822ce6
AZ
11042 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
11043 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
11044 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
11045 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
11046 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
11047 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
11048 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
11049
a88ddc90
PTB
110502014-04-09 Peter Brett <peter@peter-b.co.uk>
11051
11052 [BZ #15514]
11053 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
11054 pathconf(_PC_NAME_MAX).
11055
01f8eac2
AZ
110562014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11057
11058 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
11059 Remove macro usage.
11060 (__PTHREAD_SPINS): Move definition to ...
11061 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11062 (__PTHREAD_SPINS): ... here.
11063 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11064 (__PTHREAD_SPIN): Likewise.
11065 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
11066 (__PTHREAD_SPIN): Likewise.
11067 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
11068 (__PTHREAD_SPIN): Likewise.
11069 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
11070 (__PTHREAD_SPIN): Likewise.
11071 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11072 (__PTHREAD_SPIN): Likewise.
11073 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11074 (__PTHREAD_SPIN): Likewise.
11075 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
11076 (__PTHREAD_SPIN): Likewise.
11077 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11078 (__PTHREAD_SPIN): Likewise.
11079 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11080 (__PTHREAD_SPIN): Likewise.
11081 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11082 (__PTHREAD_SPIN): Likewise.
11083 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11084 (__PTHREAD_SPIN): Likewise.
11085 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
11086 (__PTHREAD_SPIN): Likewise.
11087
de21c33c
AZ
11088 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
11089 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
11090 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
11091 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
11092 imply folder.
11093 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11094 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11095 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11096 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
11097 correct imply path.
11098 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
11099 strlen symbol for non multi-arch builds.
11100 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
11101 missing hidden_def and weak_alias.
11102
862c472e
CD
111032014-04-08 Carlos O'Donell <carlos@redhat.com>
11104
11105 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
11106
8667f90e
WN
111072014-04-07 Will Newton <will.newton@linaro.org>
11108
11109 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
11110 and contents. [!_LIBC] Remove #ifndef and contents.
11111 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
11112 * string/memccpy.c (__memccpy): Use ANSI prototype.
11113 * string/memfrob.c (memfrob): Likewise.
11114 * string/strcoll.c (STRCOLL): Likewise.
11115 * string/strlen.c (strlen): Likewise.
11116 * string/strtok.c (STRTOK): Likewise.
11117 * string/strcat.c: Remove unused #include of memcopy.h.
11118 (strcat): Use ANSI prototype.
11119 * string/strchr.c: Remove unused #include of memcopy.h.
11120 (strchr): Use ANSI prototype.
11121 * string/strcmp.c: Remove unused #include of memcopy.h.
11122 (strcmp): Use ANSI prototype.
11123 * string/strcpy.c: Remove unused #include of memcopy.h.
11124 (strcpy): Use ANSI prototype.
11125
7ffa9423
AZ
111262014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11127
11128 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
11129 * config.make.in (config-extra-cppflags): Set it from
11130 libc_extra_cppflags.
11131 * configure.ac (libc_extra_cflags): Make it accumulate over
11132 configure fragments.
11133 (libc_extra_cppflags): New flag.
11134 * configure. Regenerate.
11135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
11136 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
11137 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
11138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
11139
8bd70862
AZ
11140 [BZ #16815]
11141 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
11142 result for FE_DOWNWARD rounding mode.
11143 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11144 Likewise.
11145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11146
d42f3448
CM
111472014-04-04 Chris Metcalf <cmetcalf@tilera.com>
11148
11149 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
11150 in function argument name.
11151
1c21d115
DS
111522014-04-03 David Svoboda <svoboda@cert.org>
11153
11154 [BZ #5666]
11155 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
11156 explicitly.
11157
fcccd512
RM
111582014-04-03 Roland McGrath <roland@hack.frob.com>
11159
11160 * elf/dl-unmap-segments.h: New file.
11161 * sysdeps/generic/ldsodefs.h
11162 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
11163 * elf/dl-close.c: Include <dl-unmap-segments.h>.
11164 * elf/dl-fptr.c: Likewise.
11165 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
11166 * sysdeps/aarch64/tlsdesc.c: Likewise.
11167 * sysdeps/arm/tlsdesc.c: Likewise.
11168 * sysdeps/i386/tlsdesc.c: Likewise.
11169 * sysdeps/tile/dl-runtime.c: Likewise.
11170 * sysdeps/x86_64/tlsdesc.c: Likewise.
11171 * elf/dl-load.h: New file.
11172 * elf/dl-load.c: Include it.
11173 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
11174 Macros moved to dl-load.h.
11175 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
11176 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
11177 Use _dl_unmap_segments in place of __munmap.
11178 Break out segment-mapping loop into ...
11179 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
11180
f6488e2b
WN
111812014-04-03 Will Newton <will.newton@linaro.org>
11182
11183 * elf/dl-lookup.c (do_lookup_x): Remove comment
11184 referring to nested function and move variable
11185 declarations down to before first use.
11186
6f05bafe
JM
111872014-04-02 Joseph Myers <joseph@codesourcery.com>
11188
a84e78c8
JM
11189 [BZ #16799]
11190 [BZ #16800]
11191 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
11192 with 0 numerator.
11193 * math/s_catanf.c (__catanf): Likewise.
11194 * math/s_catanh.c (__catanh): Likewise.
11195 * math/s_catanhf.c (__catanhf): Likewise.
11196 * math/s_catanhl.c (__catanhl): Likewise.
11197 * math/s_catanl.c (__catanl): Likewise.
11198 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
11199 by positive zero when computing -Inf result.
11200 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
11201 (catanh_test): Likewise.
11202 * sysdeps/i386/fpu/libm-test-ulps: Update.
11203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11204
6f05bafe
JM
11205 [BZ #16789]
11206 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
11207 instead of using underflowing value in computing result.
11208 * math/s_clog10.c (__clog10): Likewise.
11209 * math/s_clog10f.c (__clog10f): Likewise.
11210 * math/s_clog10l.c (__clog10l): Likewise.
11211 * math/s_clogf.c (__clogf): Likewise.
11212 * math/s_clogl.c (__clogl): Likewise.
11213 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
11214 (clog10_test): Likewise.
11215 * sysdeps/i386/fpu/libm-test-ulps: Update.
11216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11217
b0abbc21
AM
112182014-04-02 Alan Modra <amodra@gmail.com>
11219
11220 [BZ #16739]
11221 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
11222 output when value is near a power of two. Use int64_t for lx and
11223 remove casts. Use decimal rather than hex exponent constants.
11224 Don't use long double multiplication when double will suffice.
11225 * math/libm-test.inc (nextafter_test_data): Add tests.
11226 * NEWS: Add 16739 and 16786 to bug list.
11227
af6b1797
AM
11228 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
11229
483818d7
AM
11230 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
11231
f6c55796
WN
112322014-04-01 Will Newton <will.newton@linaro.org>
11233
11234 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
11235 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
11236
13f7fe35
FW
112372014-04-01 Florian Weimer <fweimer@redhat.com>
11238
11239 [BZ #13347]
11240 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
11241 * nptl/tst-setuid2.c: New file.
11242 * nptl/Makefile (xtests): Add tst-setuid2.
11243
c859b32e
AM
112442014-04-01 Alan Modra <amodra@gmail.com>
11245
11246 [BZ #16786]
11247 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
11248
54fa2475
JM
112492014-03-31 Joseph Myers <joseph@codesourcery.com>
11250
8795b4a4
JM
11251 [BZ #6803]
11252 [BZ #6804]
11253 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
11254 set errno as appropriate.
11255 * math/w_scalbf.c (__scalbf): Likewise.
11256 * math/w_scalbl.c (__scalbl): Likewise.
11257 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
11258 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
11259 * math/libm-test.inc (scalb_test_data): Add errno expectations.
11260 Add more NaN tests.
11261
54fa2475
JM
11262 [BZ #16349]
11263 * math/w_atan2.c: Include <errno.h>.
11264 (__atan2): Set errno for result underflowing to zero.
11265 * math/w_atan2f.c: Include <errno.h>.
11266 (__atan2f): Set errno for result underflowing to zero.
11267 * math/w_atan2l.c: Include <errno.h>.
11268 (__atan2l): Set errno for result underflowing to zero.
11269 * math/auto-libm-test-in: Don't allow missing errno for some atan2
11270 tests.
11271 * math/auto-libm-test-out: Regenerated.
11272
757d9dd5
AZ
112732014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11274
11275 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11276 Encode instruction correctly in little endian.
11277 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11278 Likewise.
11279 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11280 Likewise.
11281 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11282 Likewise.
11283 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11284 Likewise.
11285
d7a68734
JM
112862014-03-31 Joseph Myers <joseph@codesourcery.com>
11287
47c5adeb
JM
11288 [BZ #9894]
11289 * sysdeps/unix/sysv/linux/kernel-features.h
11290 [__sparc__ && !__arch64__ && !__sparc_v9__]
11291 (__ASSUME_SET_ROBUST_LIST): Do not define.
11292 [__sparc__ && !__arch64__ && !__sparc_v9__]
11293 (__ASSUME_FUTEX_LOCK_PI): Likewise.
11294 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
11295 Likewise.
11296 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11297 (__ASSUME_FUTEX_LOCK_PI): Undefine.
11298 (__ASSUME_REQUEUE_PI): Likewise.
11299 (__ASSUME_SET_ROBUST_LIST): Likewise.
11300 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11301 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
11302 Undefine.
11303 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11304 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
11305 Likewise.
11306 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
11307 Likewise.
11308 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
11309 Likewise.
11310 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11311 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
11312 Undefine.
11313 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
11314 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
11315 Likewise.
11316
d7a68734
JM
11317 [BZ #16648]
11318 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11319 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
11320 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
11321
c760f5c2
WN
113222014-03-31 Will Newton <will.newton@linaro.org>
11323
11324 * benchtests/Makefile (bench): Add ffs and ffsll to list
11325 of tests.
11326 * benchtests/ffs-inputs: New file.
11327 * benchtests/ffsll-inputs: Likewise.
11328
ea6029b1
JM
113292014-03-29 Joseph Myers <joseph@codesourcery.com>
11330
11331 [BZ #16770]
11332 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
11333 too large before casting to int.
11334 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
11335 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
11336 * math/libm-test.inc (scalb_test_data): Add more tests.
11337
cf806aff
SP
113382014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11339
56737508
SP
11340 * benchtests/Makefile (DETAILED_OPT): New make option.
11341 (bench-func): Run benchmark program with -d if DETAILED_OPT is
11342 set.
11343 * benchtests/bench-skeleton.c: Include stdbool.h.
11344 (main): Store and print timings per input.
11345 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
11346 member to each argument value.
11347 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
11348 (_print_arg_data): Initialize per-input timing to 0.
11349
cb5e4aad
SP
11350 * benchtests/Makefile (timing-type): New binary.
11351 (bench-clean): Also remove bench-timing-type.
11352 (bench): New target for timing-type.
11353 (bench-func): Print output in JSON format.
11354 * benchtests/bench-skeleton.c (main): Print output in JSON
11355 format.
11356 * benchtests/bench-timing-type.c: New file.
11357 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
11358 (TIMING_PRINT_STATS): Remove.
11359 * benchtests/scripts/bench.py (_print_arg_data): Store variant
11360 name separately.
11361
cf806aff
SP
11362 * benchtests/bench-modf.c: Remove.
11363 * benchtests/modf-inputs: New inputs file.
11364
289e0779
JM
113652014-03-28 Joseph Myers <joseph@codesourcery.com>
11366
11367 [BZ #16362]
11368 * math/s_clog10.c (M_PI_LOG10E): New macro.
11369 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
11370 imaginary parts are 0.
11371 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
11372 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
11373 imaginary parts are 0.
11374 * math/s_clog10l.c (M_PI_LOG10El): New macro.
11375 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
11376 imaginary parts are 0.
11377 * math/libm-test.inc (clog10_test_data): Update expected results
11378 for when real and imaginary parts are 0.
11379
277ae3f1
PP
113802014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
11381
11382 * elf/dl-load.c: Finish conversion of __builtin_expect into
11383 __glibc_{un}likely.
11384
03a7091f
JM
113852014-03-27 Joseph Myers <joseph@codesourcery.com>
11386
11387 [BZ #16348]
11388 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
11389 1+x for argument with exponent below -67.
11390 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
11391 Likewise.
11392 * math/auto-libm-test-in: Add more tests of exp.
11393 * math/auto-libm-test-out: Regenerated.
11394
ea7d8b95
SP
113952014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11396
dd3022d7
SP
11397 [BZ #16759]
11398 * inet/getnetgrent_r.c (get_nonempty_val): New function.
11399 (nscd_getnetgrent): Use it.
11400
ea7d8b95
SP
11401 [BZ #16760]
11402 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
11403 of stpcpy.
11404
df5b85da
AK
114052014-03-27 Andi Kleen <ak@linux.intel.com>
11406
57f41c40
AS
11407 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
11408 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11409 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11410 (lll_robust_unlock): Remove out of line section. Use cfi
11411 intrinsics.
df5b85da 11412 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
11413 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
11414 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11415 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11416 (lll_robust_unlock): Remove out of line section. Use cfi
11417 intrinsics.
df5b85da
AK
11418 (LLL_STUB_UNWIND_INFO*): Remove.
11419
fbd6b5a4
SP
114202014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11421
11422 [BZ #16758]
11423 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
11424 blank values.
11425
1b26b855
PP
114262014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
11427
11428 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
11429
9be36fb8
JM
114302014-03-26 Joseph Myers <joseph@codesourcery.com>
11431
11432 [BZ #16198]
11433 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
11434 fnstenv.
11435 * math/test-fenv-preserve.c: New file.
11436 * math/Makefile (tests): Add test-fenv-preserve.
11437
60a2f3c1
WN
114382014-03-26 Will Newton <will.newton@linaro.org>
11439
11440 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
11441
a5e5f1e2
RM
114422014-03-25 Roland McGrath <roland@hack.frob.com>
11443
11444 * scripts/versionlist.awk: Partition the version sets and emit all
11445 GLIBC_* (sorted) before all others (sorted).
11446
00f4012a
JM
114472014-03-25 Joseph Myers <joseph@codesourcery.com>
11448
11449 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
11450 GLIBC_2.2.5 version.
11451
7bc5a741
AZ
114522014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11453
11454 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
11455 calls.
11456
7578473b
AZ
11457 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
11458 previous change.
11459
f3f1dab3
AZ
11460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11461
6da36183
AS
114622014-03-25 Andreas Schwab <schwab@suse.de>
11463
11464 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
11465 label to be used after in6ailist is initialized.
11466
f3f1dab3 114672014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 11468
7578473b 11469 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
11470 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11471
046651c1
JM
114722014-03-25 Joseph Myers <joseph@codesourcery.com>
11473
11474 [BZ #16357]
11475 [BZ #16599]
11476 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
11477 min_plus_half.
11478 (fp_formats): Update initializers.
11479 (init_fp_formats): Initialize new field.
11480 (output_for_one_input_case): Allow underflow for results up to
11481 min_plus_half.
11482 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
11483 * math/auto-libm-test-in: Don't mark some underflows from asin and
11484 atanh as spurious.
11485 * math/auto-libm-test-out: Regenerated.
11486 * sysdeps/i386/fpu/libm-test-ulps: Update.
11487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11488
003e49ed
AS
114892014-03-25 Andreas Schwab <schwab@suse.de>
11490
11491 * libio/Makefile (tst-ftell-partial-wide-ENV)
11492 (tst-ftell-active-handler-ENV): Define.
11493
de031874
SL
114942014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11495
11496 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
11497
55a81e3b
PP
114982014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11499
11500 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
11501
f3426898
JM
115022014-03-24 Joseph Myers <joseph@codesourcery.com>
11503
11504 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
11505 * sysdeps/x86_64/fpu/multiarch/e_exp.c
11506 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11507
a42faf59
PP
115082014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11509
11510 [BZ #16634]
a42faf59 11511 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
11512 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
11513 (open_path): Change from boolean 'secure' to complete flag 'mode'
11514 (_dl_map_object): Adjust.
a42faf59
PP
11515 * elf/Makefile (tests): Add tst-dlopen-aout.
11516 * elf/tst-dlopen-aout.c: New test.
11517
50936127
SL
115182014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11519
11520 [BZ #16714]
11521 * sysdeps/unix/sysv/linux/s390/bits/stat.h
11522 (struct stat): Rename member pad0 to __glibc_reserved0.
11523
26011b5c
SL
11524 [BZ #16712]
11525 * sysdeps/s390/s390-32/bits/wordsize.h
11526 (__WORDSIZE32_SIZE_ULONG): New define.
11527 * sysdeps/s390/s390-64/bits/wordsize.h
11528 (__WORDSIZE32_SIZE_ULONG): Likewise.
11529 * sysdeps/generic/stdint.h (SIZE_MAX):
11530 Define as UL if __WORDSIZE32_SIZE_ULONG.
11531
a2d86bf1
SL
11532 [BZ #16713]
11533 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
11534 (__glibc_reserved0): New variable.
11535 (sa_flags): Change type to int.
11536
78b6eebc
SL
11537 * posix/Makefile (before-compile): Use += before-compile instead
11538 of a :=.
11539
f1399b5a
SL
11540 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11541 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11542
a071766e
AS
115432014-03-20 Andreas Schwab <schwab@suse.de>
11544
11545 [BZ #16743]
11546 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
11547 non-matching result from nscd.
11548
27c673b8
SP
115492014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11550
11551 * scripts/bench.py: Moved to ...
11552 * benchtests/scripts/bench.py: ... here.
11553 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
11554
44152e4b
AS
115552014-03-24 Andreas Schwab <schwab@suse.de>
11556
11557 [BZ #16002]
11558 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
11559 alloca_account and account alloca use for struct in6ailist.
11560
b376a11a
JM
115612014-03-24 Joseph Myers <joseph@codesourcery.com>
11562
11563 [BZ #16284]
11564 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
11565 rounding mode to recompute results that overflow to infinity or
11566 underflow to zero.
11567 * math/auto-libm-test-in: Don't mark tests as expected to fail for
11568 bug 16284.
11569 * math/auto-libm-test-out: Regenerated.
11570 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
11571 (ccosh_test): Likewise.
11572 (csin_test_data): Use plus_oflow.
11573 (csin_test): Use ALL_RM_TEST.
11574 (csinh_test_data): Use plus_oflow.
11575 (csinh_test): Use ALL_RM_TEST.
11576 * sysdeps/i386/fpu/libm-test-ulps: Update.
11577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11578
f7be7376
JM
115792014-03-21 Joseph Myers <joseph@codesourcery.com>
11580
1ca2d03e
JM
11581 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
11582 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
11583 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
11584
f7be7376
JM
11585 [BZ #16731]
11586 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
11587 when x - 1 is zero.
11588 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
11589 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
11590 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11591 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
11592 argument is 1.
11593 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
11594 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
11595 zero.
11596 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
11597 * sysdeps/i386/fpu/libm-test-ulps: Update.
11598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11599
fdf4534d
SP
116002014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11601
df26ea53
SP
11602 * scripts/bench.pl: Remove file.
11603 * scripts/bench.py: New benchmark script.
11604 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
11605 * benchtests/README: Mention python dependency.
11606 * scripts/pylintrc: New file.
11607 * scripts/pylint: New file.
11608
fdf4534d
SP
11609 * bits/mathdef.h: Use #ifdef instead of #if.
11610 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
11611 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11612 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
11613 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11614 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
11615 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11616
6f23d093
AZ
116172014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11618 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11619
11620 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
11621 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
11622 and strpbrk-ppc64 objects.
11623 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11624 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
11625 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
11626 multiarch strpbrk for POWER7.
11627 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
11628 multiarch strpbrk for PPC64.
11629 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
11630 ifunc selector.
11631 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
11632 strpbrk for POWER7.
11633
8c92dfff
JM
116342014-03-20 Joseph Myers <joseph@codesourcery.com>
11635
11636 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
11637 (atan_test): Likewise.
11638 (atanh_test_data): Use NO_TEST_INLINE for two tests.
11639 (atanh_test): Use ALL_RM_TEST.
11640 (atan2_test_data): Likewise.
11641 (cabs_test): Likewise.
11642 (cacosh_test): Likewise.
11643 (carg_test): Likewise.
11644 (casin_test): Likewise.
11645 (casinh_test): Likewise.
11646 (cbrt_test): Likewise.
11647 (csqrt_test): Likewise.
11648 (erf_test): Likewise.
11649 (erfc_test): Likewise.
11650 (pow10_test): Likewise.
11651 (exp2_test): Likewise.
11652 (hypot_test): Likewise.
11653 (j0_test): Likewise.
11654 (j1_test): Likewise.
11655 (lgamma_test): Likewise.
11656 (gamma_test): Likewise.
11657 (sincos_test): Likewise.
11658 (tanh_test): Likewise.
11659 (y0_test): Likewise.
11660 (y1_test): Likewise.
11661 * sysdeps/i386/fpu/libm-test-ulps: Update.
11662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11663
6eaf95cb
AZ
116642014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11665
a387428c
SP
11666 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
11667 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
11668 and strcspn-ppc64 objects.
11669 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11670 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
11671 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
11672 multiarch strcspn for POWER7.
11673 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
11674 multiarch strcspn for PPC64.
11675 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
11676 ifunc selector.
11677 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
11678 strcspn for POWER7.
11679
ae3a5dff
JM
116802014-03-20 Joseph Myers <joseph@codesourcery.com>
11681
11682 * math/gen-libm-test.pl (generate_testfile): Expect only function
11683 name as argument to AUTO_TESTS_* and pass results for all rounding
11684 modes to parse_args.
11685 (parse_auto_input): Separate inputs of automatic tests from
11686 outputs before storing in %auto_tests.
11687 * math/libm-test.inc (acos_test_data): Update call to
11688 AUTO_TESTS_f_f.
11689 (acos_test): Use ALL_RM_TEST.
11690 (acos_tonearest_test_data): Remove.
11691 (acos_test_tonearest): Likewise.
11692 (acos_towardzero_test_data): Likewise.
11693 (acos_test_towardzero): Likewise.
11694 (acos_downward_test_data): Likewise.
11695 (acos_test_downward): Likewise.
11696 (acos_upward_test_data): Likewise.
11697 (acos_test_upward): Likewise.
11698 (acosh_test_data): Update call to AUTO_TESTS_f_f.
11699 (asin_test_data): Likewise.
11700 (asin_test): Use ALL_RM_TEST.
11701 (asin_tonearest_test_data): Remove.
11702 (asin_test_tonearest): Likewise.
11703 (asin_towardzero_test_data): Likewise.
11704 (asin_test_towardzero): Likewise.
11705 (asin_downward_test_data): Likewise.
11706 (asin_test_downward): Likewise.
11707 (asin_upward_test_data): Likewise.
11708 (asin_test_upward): Likewise.
11709 (asinh_test_data): Update call to AUTO_TESTS_f_f.
11710 (atan_test_data): Likewise.
11711 (atanh_test_data): Likewise.
11712 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
11713 (cabs_test_data): Update call to AUTO_TESTS_c_f.
11714 (carg_test_data): Likewise.
11715 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
11716 (ccos_test_data): Update call to AUTO_TESTS_c_c.
11717 (ccosh_test_data): Likewise.
11718 (cexp_test_data): Likewise.
11719 (clog_test_data): Likewise.
11720 (clog10_test_data): Likewise.
11721 (cos_test_data): Update call to AUTO_TESTS_f_f.
11722 (cos_test): Use ALL_RM_TEST.
11723 (cos_tonearest_test_data): Remove.
11724 (cos_test_tonearest): Likewise.
11725 (cos_towardzero_test_data): Likewise.
11726 (cos_test_towardzero): Likewise.
11727 (cos_downward_test_data): Likewise.
11728 (cos_test_downward): Likewise.
11729 (cos_upward_test_data): Likewise.
11730 (cos_test_upward): Likewise.
11731 (cosh_test_data): Update call to AUTO_TESTS_f_f.
11732 (cosh_test): Use ALL_RM_TEST.
11733 (cosh_tonearest_test_data): Remove.
11734 (cosh_test_tonearest): Likewise.
11735 (cosh_towardzero_test_data): Likewise.
11736 (cosh_test_towardzero): Likewise.
11737 (cosh_downward_test_data): Likewise.
11738 (cosh_test_downward): Likewise.
11739 (cosh_upward_test_data): Likewise.
11740 (cosh_test_upward): Likewise.
11741 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
11742 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
11743 (ctan_test_data): Likewise.
11744 (ctan_test): Use ALL_RM_TEST.
11745 (ctan_tonearest_test_data): Remove.
11746 (ctan_test_tonearest): Likewise.
11747 (ctan_towardzero_test_data): Likewise.
11748 (ctan_test_towardzero): Likewise.
11749 (ctan_downward_test_data): Likewise.
11750 (ctan_test_downward): Likewise.
11751 (ctan_upward_test_data): Likewise.
11752 (ctan_test_upward): Likewise.
11753 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
11754 (ctanh_test): Use ALL_RM_TEST.
11755 (ctanh_tonearest_test_data): Remove.
11756 (ctanh_test_tonearest): Likewise.
11757 (ctanh_towardzero_test_data): Likewise.
11758 (ctanh_test_towardzero): Likewise.
11759 (ctanh_downward_test_data): Likewise.
11760 (ctanh_test_downward): Likewise.
11761 (ctanh_upward_test_data): Likewise.
11762 (ctanh_test_upward): Likewise.
11763 (erf_test_data): Update call to AUTO_TESTS_f_f.
11764 (erfc_test_data): Likewise.
11765 (exp_test_data): Likewise.
11766 (exp_test): Use ALL_RM_TEST.
11767 (exp_tonearest_test_data): Remove.
11768 (exp_test_tonearest): Likewise.
11769 (exp_towardzero_test_data): Likewise.
11770 (exp_test_towardzero): Likewise.
11771 (exp_downward_test_data): Likewise.
11772 (exp_test_downward): Likewise.
11773 (exp_upward_test_data): Likewise.
11774 (exp_test_upward): Likewise.
11775 (exp10_test_data): Update call to AUTO_TESTS_f_f.
11776 (exp10_test): Use ALL_RM_TEST.
11777 (exp10_tonearest_test_data): Remove.
11778 (exp10_test_tonearest): Likewise.
11779 (exp10_towardzero_test_data): Likewise.
11780 (exp10_test_towardzero): Likewise.
11781 (exp10_downward_test_data): Likewise.
11782 (exp10_test_downward): Likewise.
11783 (exp10_upward_test_data): Likewise.
11784 (exp10_test_upward): Likewise.
11785 (exp2_test_data): Update call to AUTO_TESTS_f_f.
11786 (expm1_test_data): Likewise.
11787 (expm1_test): Use ALL_RM_TEST.
11788 (expm1_tonearest_test_data): Remove.
11789 (expm1_test_tonearest): Likewise.
11790 (expm1_towardzero_test_data): Likewise.
11791 (expm1_test_towardzero): Likewise.
11792 (expm1_downward_test_data): Likewise.
11793 (expm1_test_downward): Likewise.
11794 (expm1_upward_test_data): Likewise.
11795 (expm1_test_upward): Likewise.
11796 (fma_test_data): Update call to AUTO_TESTS_fff_f.
11797 (fma_test): Use ALL_RM_TEST.
11798 (fma_towardzero_test_data): Remove.
11799 (fma_test_towardzero): Likewise.
11800 (fma_downward_test_data): Likewise.
11801 (fma_test_downward): Likewise.
11802 (fma_upward_test_data): Likewise.
11803 (fma_test_upward): Likewise.
11804 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
11805 (j0_test_data): Update call to AUTO_TESTS_f_f.
11806 (j1_test_data): Likewise.
11807 (jn_test_data): Update call to AUTO_TESTS_if_f.
11808 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
11809 (log_test_data): Update call to AUTO_TESTS_f_f.
11810 (log10_test_data): Likewise.
11811 (log1p_test_data): Likewise.
11812 (log2_test_data): Likewise.
11813 (pow_test_data): Update call to AUTO_TESTS_ff_f.
11814 (pow_tonearest_test_data): Likewise.
11815 (sin_test_data): Update call to AUTO_TESTS_f_f.
11816 (sin_test): Use ALL_RM_TEST.
11817 (sin_tonearest_test_data): Remove.
11818 (sin_test_tonearest): Likewise.
11819 (sin_towardzero_test_data): Likewise.
11820 (sin_test_towardzero): Likewise.
11821 (sin_downward_test_data): Likewise.
11822 (sin_test_downward): Likewise.
11823 (sin_upward_test_data): Likewise.
11824 (sin_test_upward): Likewise.
11825 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
11826 (sinh_test_data): Update call to AUTO_TESTS_f_f.
11827 (sinh_test): Use ALL_RM_TEST.
11828 (sinh_tonearest_test_data): Remove.
11829 (sinh_test_tonearest): Likewise.
11830 (sinh_towardzero_test_data): Likewise.
11831 (sinh_test_towardzero): Likewise.
11832 (sinh_downward_test_data): Likewise.
11833 (sinh_test_downward): Likewise.
11834 (sinh_upward_test_data): Likewise.
11835 (sinh_test_upward): Likewise.
11836 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
11837 (sqrt_test): Use ALL_RM_TEST.
11838 (sqrt_tonearest_test_data): Remove.
11839 (sqrt_test_tonearest): Likewise.
11840 (sqrt_towardzero_test_data): Likewise.
11841 (sqrt_test_towardzero): Likewise.
11842 (sqrt_downward_test_data): Likewise.
11843 (sqrt_test_downward): Likewise.
11844 (sqrt_upward_test_data): Likewise.
11845 (sqrt_test_upward): Likewise.
11846 (tan_test_data): Update call to AUTO_TESTS_f_f.
11847 (tan_test): Use ALL_RM_TEST.
11848 (tan_tonearest_test_data): Remove.
11849 (tan_test_tonearest): Likewise.
11850 (tan_towardzero_test_data): Likewise.
11851 (tan_test_towardzero): Likewise.
11852 (tan_downward_test_data): Likewise.
11853 (tan_test_downward): Likewise.
11854 (tan_upward_test_data): Likewise.
11855 (tan_test_upward): Likewise.
11856 (tanh_test_data): Update call to AUTO_TESTS_f_f.
11857 (tgamma_test_data): Likewise.
11858 (y0_test_data): Likewise.
11859 (y1_test_data): Likewise.
11860 (yn_test_data): Update call to AUTO_TESTS_if_f.
11861 (main): Do not call removed functions.
11862
d71aeee8
JM
118632014-03-19 Joseph Myers <joseph@codesourcery.com>
11864
11865 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
11866 (ldexp_test_data): Remove.
11867 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
11868 scalbn_test_data.
11869 (scalb_test): Use ALL_RM_TEST.
11870
baaf1ded
AS
118712014-03-19 Andreas Schwab <schwab@suse.de>
11872
11873 * nscd/nscd.service: Also invalidate netgroup cache on reload.
11874
b1115e91
JM
118752014-03-19 Joseph Myers <joseph@codesourcery.com>
11876
11877 [BZ #16649]
11878 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11879 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
11880 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
11881 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11882 (__ASSUME_PREADV): Undefine.
11883 (__ASSUME_PWRITEV): Likewise.
11884
0283ecca
RM
118852014-03-18 Roland McGrath <roland@hack.frob.com>
11886
7d375303
RM
11887 * bits/mman-linux.h: Add comment about non-Linux use.
11888 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
11889 bits/mman-linux.h resting place.
11890
0283ecca
RM
11891 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
11892 * bits/mman-linux.h: ... here.
11893
aebe1003
AZ
118942014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11895
11896 * conform/conformtest.pl: Add standard definition when calling C
11897 preprocessor on data files.
11898 (checknamespace): Remove unused variable.
11899
b29b6bb8
JM
119002014-03-18 Joseph Myers <joseph@codesourcery.com>
11901
11902 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
11903 minus_oflow, plus_uflow and minus_uflow in expected results.
11904 * math/libm-test.inc (scalbn_test_data): Add more tests of
11905 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
11906 minus_uflow.
11907 (scalbn_test): Use ALL_RM_TEST.
11908 (scalbln_test_data): Add more tests of negative arguments. Use
11909 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
11910 (scalbln_test): Use ALL_RM_TEST.
11911
c8f8fa15
RM
119122014-03-18 Roland McGrath <roland@hack.frob.com>
11913
11914 * scripts/abilist.awk: Ignore symbols marked with .hidden.
11915
fede7a5f
WN
119162014-03-18 Will Newton <will.newton@linaro.org>
11917
11918 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
11919 inaccurate comment.
11920
80cf0a58
JM
119212014-03-18 Joseph Myers <joseph@codesourcery.com>
11922
11923 * Makerules [!subdir] (check-abi): Exit with error status if a
11924 test failed.
11925
b3620862
JM
119262014-03-17 Joseph Myers <joseph@codesourcery.com>
11927
11928 * math/libm-test.inc (nearbyint_test_data): Include all tests used
11929 for rint. Include results for all rounding modes.
11930 (nearbyint_test): Use ALL_RM_TEST.
11931 (rint_test_data): Include all tests used for nearbyint.
11932
788bba36
WN
119332014-03-17 Will Newton <will.newton@linaro.org>
11934
04ec140a
WN
11935 * nptl/sysdeps/pthread/pthread.h: Revert previous
11936 change.
11937
7579d8d5
WN
11938 * sysdeps/generic/ldsodefs.h: Revert previous
11939 change.
11940
c15cf13a
WN
11941 * libio/genops.c: Revert previous change.
11942 * libio/libioP.h: Likewise.
11943 * stdio-common/vfprintf.c: Likewise.
11944
d0ac1324
WN
11945 * sysdeps/generic/math_private.h: Revert previous
11946 change.
11947
9290130a
WN
11948 * sysdeps/generic/math_private.h: Check whether
11949 HAVE_RM_CTX is defined with #ifdef rather
11950 than #if.
11951
afb466fc
WN
11952 * argp/argp-fmtstream.h: Check whether
11953 __STRICT_ANSI__ is defined with #ifdef rather
11954 than #if.
11955 * argp/argp.h: Likewise.
11956
f7efd7c3
WN
11957 * libio/genops.c: Check whether
11958 _IO_JUMPS_OFFSET is defined with #ifdef rather
11959 than #if.
11960 * libio/libioP.h: Likewise.
11961 * stdio-common/vfprintf.c: Likewise.
11962
53f1bed3
WN
11963 * sysdeps/generic/ldsodefs.h: Check whether
11964 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
11965 than #if.
11966
788bba36
WN
11967 * nptl/sysdeps/pthread/pthread.h: Check
11968 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
11969 its value.
11970
fcd89ebe
SP
119712014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11972
ae42bbc5
SP
11973 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
11974 setting O_APPEND.
11975 * libio/tst-ftell-active-handler.c (do_append_test): Add a
11976 test case.
11977
ea33158c
SP
11978 [BZ #16680]
11979 * libio/fileops.c (_IO_file_open): Seek to end of file but
11980 don't cache the offset.
11981 (get_file_offset): Remove function.
11982 (do_ftell): Use cached offset when available.
11983 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
11984 don't cache the offset.
11985 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
11986 case.
11987 (do_one_test): Call it.
11988 (do_ftell_test): Fix up expected old offset for a+ mode.
11989 * libio/wfileops.c (do_ftell_wide): Used cached offset when
11990 available.
11991
b1dbb426
SP
11992 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
11993 up test status with function return status.
11994 (do_write_test): Likewise.
11995 (do_append_test): Likewise.
11996
fcd89ebe
SP
11997 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
11998 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
11999 Remove.
12000
9962a2d3
JM
120012014-03-17 Joseph Myers <joseph@codesourcery.com>
12002
12003 * math/gen-libm-test.pl (parse_args): Handle results specified for
12004 each rounding mode separately.
12005 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
12006 tests and results from lrint_tonearest_test_data,
12007 lrint_towardzero_test_data, lrint_downward_test_data and
12008 lrint_upward_test_data.
12009 (lrint_test): Use ALL_RM_TEST.
12010 (lrint_tonearest_test_data): Remove.
12011 (lrint_test_tonearest): Likewise.
12012 (lrint_towardzero_test_data): Likewise.
12013 (lrint_test_towardzero): Likewise.
12014 (lrint_downward_test_data): Likewise.
12015 (lrint_test_downward): Likewise.
12016 (lrint_upward_test_data): Likewise.
12017 (lrint_test_upward): Likewise.
12018 (llrint_test_data): Merge in per-rounding-mode tests and results
12019 from llrint_tonearest_test_data, llrint_towardzero_test_data,
12020 llrint_downward_test_data and llrint_upward_test_data.
12021 (llrint_test): Use ALL_RM_TEST.
12022 (llrint_tonearest_test_data): Remove.
12023 (llrint_test_tonearest): Likewise.
12024 (llrint_towardzero_test_data): Likewise.
12025 (llrint_test_towardzero): Likewise.
12026 (llrint_downward_test_data): Likewise.
12027 (llrint_test_downward): Likewise.
12028 (llrint_upward_test_data): Likewise.
12029 (llrint_test_upward): Likewise.
12030 (rint_test_data): Merge in per-rounding-mode tests and results
12031 from rint_tonearest_test_data, rint_towardzero_test_data,
12032 rint_downward_test_data and rint_upward_test_data. Add
12033 per-rounding-mode results for tests not in those arrays.
12034 (rint_test): Use ALL_RM_TEST.
12035 (rint_tonearest_test_data): Remove.
12036 (rint_test_tonearest): Likewise.
12037 (rint_towardzero_test_data): Likewise.
12038 (rint_test_towardzero): Likewise.
12039 (rint_downward_test_data): Likewise.
12040 (rint_test_downward): Likewise.
12041 (rint_upward_test_data): Likewise.
12042 (rint_test_upward): Likewise.
12043 (main): Don't call removed functions.
12044
5006148e
RM
120452014-03-14 Roland McGrath <roland@hack.frob.com>
12046
12047 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
12048 "Compiled on ..." crapola. It is anti-useful.
12049
d6fe5e58
JM
120502014-03-14 Joseph Myers <joseph@codesourcery.com>
12051
12052 * scripts/evaluate-test.sh: Handle fourth argument to determine
12053 whether test run should stop on failure.
12054 * Makeconfig (stop-on-test-failure): New variable.
12055 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
12056 $(stop-on-test-failure).
12057 * Makefile (tests): Give a summary of results from testing and
12058 exit with failure status if they include an ERROR or FAIL.
12059 (xtests): Likewise.
12060 * manual/install.texi (Configuring and compiling): Mention
12061 stop-on-test-failure=y.
12062 * INSTALL: Regenerated.
12063
498a2233
RM
120642014-03-14 Roland McGrath <roland@hack.frob.com>
12065
22dbc19d
RM
12066 * scripts/versionlist.awk: New file.
12067 * Makerules [$(build-shared) = yes]
12068 (postclean-generated): Add Versions.def, not Versions.def.v and
12069 Versions.def.v.i.
12070 ($(common-objpfx)Versions.def.v.i): Target removed.
12071 ($(common-objpfx)Versions.def): New target.
12072 ($(common-objpfx)Versions.all): Depend on that rather that
12073 $(common-objpfx)Versions.def.v.
12074 * Versions.def: File removed.
12075
498a2233
RM
12076 * Makeconfig (+gccwarn): Add -Wundef.
12077 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
12078 a dl-sysdep.h breaking its contract.
12079 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
12080 * include/stackinfo.h: New file.
12081 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
12082 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
12083 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
12084 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
12085 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
12086 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
12087 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12088 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12089 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12090 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12091 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12092 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
12093 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12094 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12095 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12096
c7de5025
AZ
120972014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12098
12099 [BZ #16707]
12100 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
12101 implementation.
12102 * math/libm-test.inc (round_test_data): Add more tests.
12103
98fb27a3
AZ
12104 [BZ #16706]
12105 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
12106 implementation.
12107 * math/libm-test.inc (nearbyint_test_data): Add more tests.
12108
374f7f61
AZ
12109 [BZ #16701]
12110 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
12111 implementation.
12112 * math/libm-test.inc (ceil_test_data): Add more tests.
12113
4655c291
AZ
12114 * math/libm-test.inc (trunc_test_data): Add more tests related to
12115 BZ#16414.
12116
d7329d4b
RM
121172014-03-14 Roland McGrath <roland@hack.frob.com>
12118
12119 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
12120 with #if rather than #ifdef.
12121 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
12122
aa4de9ce
L
121232014-03-14 H.J. Lu <hongjiu.lu@intel.com>
12124
12125 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
12126 first. Disable AVX-512 GCC support if assembler doesn't support
12127 it.
12128 * sysdeps/x86_64/configure: Regenerated.
12129
2e03fae7
CD
121302014-03-13 Carlos O'Donell <carlos@redhat.com>
12131
12132 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
12133 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
12134 (__old_pthread_attr_setstack): Likewise.
12135 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
12136 [!_STACK_GROWS_DOWN]: Likewise.
12137
43ca83ec
MF
121382014-03-13 Mike Frysinger <vapier@gentoo.org>
12139
12140 * config.make.in (have-bash2): Delete.
12141 * configure.ac (libc_cv_have_bash2): Delete.
12142 * configure: Regenerate.
12143 * elf/Makefile (common-ldd-rewrite): Rename to ...
12144 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
12145 (sh-ldd-rewrite): Delete.
12146 (bash-ldd-rewrite): Delete.
12147 (have-bash2): Delete checks.
57f41c40
AS
12148 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
12149 ldd-rewrite.
c66e48b4
MF
12150
12151 * config.make.in (have-ksh): Delete.
12152 (KSH): Delete.
12153 * configure.ac (libc_cv_have_ksh): Delete.
12154 * configure: Regenerate.
12155
b93834ef
MF
12156 * elf/Makefile: Delete $(have-ksh) check.
12157 ($(objpfx)sotruss): Change KSH to BASH.
12158 * elf/sotruss.ksh: Rename to ...
12159 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
12160 function style to match POSIX. Drop ksh vim mode setting.
12161
f3a4632a
MF
12162 * manual/time.texi (Specifying the Time Zone with TZ): Change
12163 Tuesday to Thursday.
12164
5896c8bd
MF
12165 * debug/tst-longjmp_chk2.c: Update header comment.
12166 (stackoverflow_handler): Add comment. Call assert on pass value.
12167
2d63a517
IZ
121682014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
12169
7e54fd04 12170 [BZ #16194]
2d63a517
IZ
12171 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
12172 (HAVE_AVX512_ASM_SUPPORT): Likewise.
12173 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
12174 (La_x86_64_vector): Add zmm.
12175 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
12176 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
12177 ($(objpfx)tst-audit10): New target.
12178 ($(objpfx)tst-audit10.out): Likewise.
12179 (tst-audit10-ENV): New.
12180 (AVX512-CFLAGS): Likewise.
12181 (CFLAGS-tst-audit10.c): Likewise.
12182 (CFLAGS-tst-auditmod10a.c): Likewise.
12183 (CFLAGS-tst-auditmod10b.c): Likewise.
12184 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
12185 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
12186 * sysdeps/x86_64/configure: Regenerated.
12187 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
12188 AVX-512 zmm register support.
12189 (_dl_x86_64_save_sse): Likewise.
12190 (_dl_x86_64_restore_sse): Likewise.
12191 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
12192 size vector registers.
12193 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
12194 (ZMM_SIZE): Likewise.
12195 * sysdeps/x86_64/tst-audit10.c: New file.
12196 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
12197 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
12198
44c4e5d5
RM
121992014-03-13 Roland McGrath <roland@hack.frob.com>
12200
12201 * configure.ac (HAVE_EHDR_START): New check.
12202 * configure: Regenerated.
12203 * config.h.in (HAVE_EHDR_START): New #undef.
12204 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
12205 assuming the lowest-addressed segment maps the start of the file.
12206
acd6e389
JM
122072014-03-13 Joseph Myers <joseph@codesourcery.com>
12208
12209 * INSTALL: Regenerated.
12210
6f918f36
WN
122112014-03-13 Will Newton <will.newton@linaro.org>
12212
12213 * manual/setjmp.texi (System V contexts): Improve
12214 clarity and grammar of documentation.
12215
798212a0
PP
122162014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
12217
12218 [BZ #16381]
798212a0 12219 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 12220 (tests-pie): Add tst-pie2.
798212a0
PP
12221 * elf/tst-pie2.c: New file.
12222 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
12223 for ET_EXEC.
12224 * elf/rtld.c (map_doit): Load executable as lt_executable.
12225 (dl_main): Likewise.
12226
abe6d90c
JM
122272014-03-12 Joseph Myers <joseph@codesourcery.com>
12228
12229 [BZ #16642]
12230 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12231 (__ASSUME_PSELECT): Undefine.
12232
dd3946c6
AZ
122332014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12234
12235 [BZ #16689]
12236 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
12237 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
12238 static build.
12239 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
12240 selector for static builds.
12241
c44496df
SP
122422014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12243
12244 [BZ #16695]
12245 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
12246 key in the buffer.
12247
27c7220a
AZ
122482014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12249
57f41c40
AS
12250 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
12251 IFUNC selector for static builds.
27c7220a 12252
600fa361
JM
122532014-03-11 Joseph Myers <joseph@codesourcery.com>
12254
76c96cf7
JM
12255 * sysdeps/mips/math_private.h [__mips_hard_float]
12256 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
12257 libc_feresetround_mips_ctx.
12258 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
12259 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
12260 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
12261
600fa361
JM
12262 [BZ #16677]
12263 * math/s_nextafter.c (__nextafter): Do not return value from
12264 overflowing computation.
12265 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
12266 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
12267 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
12268 Likewise.
12269 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
12270 Likewise.
12271 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
12272 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
12273
d7706c32
RM
122742014-03-11 Roland McGrath <roland@hack.frob.com>
12275
12276 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
12277 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
12278 Move sfi_sp use from the load-multiple (that no longer sets sp) to
12279 the new mov targetting sp.
12280
4facea47
AZ
122812014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12282
12283 [BZ #16683]
12284 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
12285 Define it for static builds as well.
12286 (NO_BZERO_IMPL): Likewise.
12287
e65caf1f
VR
122882014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12289
12290 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
12291 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
12292 multiarch strspn for PPC64.
12293 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
12294 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
12295 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12296 (__libc_ifunc_impl_list): Likewise.
12297 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
12298 multiarch optimizations
12299 * string/strspn.c (strspn): Using macro to redefine symbol name.
12300
ba9cc071
AZ
123012014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12302 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12303
12304 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
12305 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
12306 multiarch strncat for PPC64.
12307 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
12308 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
12309 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12310 (__libc_ifunc_impl_list): Likewise.
12311 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
12312 multiarch optimizations
12313
8b4ff974
SP
123142014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12315
12316 [BZ #16639]
12317 * nscd/nscd.service: Make service type forking.
12318
54b46a4b
AZ
123192014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12320
12321 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
12322 sign in non default rounding modes.
12323 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12324
e9996ef7
JM
123252014-03-08 Joseph Myers <joseph@codesourcery.com>
12326
12327 * math/libm-test.inc (ALL_RM_TEST): New macro.
12328 (ceil_test): Use ALL_RM_TEST.
12329 (cimag_test): Likewise.
12330 (conj_test): Likewise.
12331 (copysign_test): Likewise.
12332 (cproj_test): Likewise.
12333 (creal_test): Likewise.
12334 (fabs_test): Likewise.
12335 (floor_test): Likewise.
12336 (fmax_test): Likewise.
12337 (fmin_test): Likewise.
12338 (fmod_test): Likewise.
12339 (fpclassify_test): Likewise.
12340 (frexp_test): Likewise.
12341 (ilogb_test): Likewise.
12342 (isfinite_test): Likewise.
12343 (finite_test): Likewise.
12344 (isgreater_test): Likewise.
12345 (isgreaterequal_test): Likewise.
12346 (isinf_test): Likewise.
12347 (isless_test): Likewise.
12348 (islessequal_test): Likewise.
12349 (islessgreater_test): Likewise.
12350 (isnan_test): Likewise.
12351 (isnormal_test): Likewise.
12352 (issignaling_test): Likewise.
12353 (isunordered_test): Likewise.
12354 (logb_test): Likewise.
12355 (logb_downward_test_data): Remove.
12356 (logb_test_downward): Likewise.
12357 (lround_test): Use ALL_RM_TEST.
12358 (llround_test): Likewise.
12359 (modf_test): Likewise.
12360 (nexttoward_test): Likewise.
12361 (remainder_test): Likewise.
12362 (drem_test): Likewise.
12363 (remainder_tonearest_test_data): Likewise.
12364 (remainder_test_tonearest): Likewise.
12365 (drem_test_tonearest): Likewise.
12366 (remainder_towardzero_test_data): Likewise.
12367 (remainder_test_towardzero): Likewise.
12368 (drem_test_towardzero): Likewise.
12369 (remainder_downward_test_data): Likewise.
12370 (remainder_test_downward): Likewise.
12371 (drem_test_downward): Likewise.
12372 (remainder_upward_test_data): Likewise.
12373 (remainder_test_upward): Likewise.
12374 (drem_test_upward): Likewise.
12375 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
12376 (round_test): Use ALL_RM_TEST.
12377 (signbit_test): Likewise.
12378 (trunc_test): Likewise.
12379 (significand_test): Likewise.
12380 (main): Don't call removed functions.
12381
bc61d27c
JM
123822014-03-07 Joseph Myers <joseph@codesourcery.com>
12383
5c780849
JM
12384 [BZ #16674]
12385 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
12386 || __USE_XOPEN2K8].
12387 (ILL_ILLOPN): Likewise.
12388 (ILL_ILLADR): Likewise.
12389 (ILL_ILLTRP): Likewise.
12390 (ILL_PRVOPC): Likewise.
12391 (ILL_PRVREG): Likewise.
12392 (ILL_COPROC): Likewise.
12393 (ILL_BADSTK): Likewise.
12394 (FPE_INTDIV): Likewise.
12395 (FPE_INTOVF): Likewise.
12396 (FPE_FLTDIV): Likewise.
12397 (FPE_FLTOVF): Likewise.
12398 (FPE_FLTUND): Likewise.
12399 (FPE_FLTRES): Likewise.
12400 (FPE_FLTINV): Likewise.
12401 (FPE_FLTSUB): Likewise.
12402 (SEGV_MAPERR): Likewise.
12403 (SEGV_ACCERR): Likewise.
12404 (BUS_ADRALN): Likewise.
12405 (BUS_ADRERR): Likewise.
12406 (BUS_OBJERR): Likewise.
12407 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12408 (TRAP_TRACE): Likewise.
12409 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12410 __USE_XOPEN2K8].
12411 (CLD_KILLED): Likewise.
12412 (CLD_DUMPED): Likewise.
12413 (CLD_TRAPPED): Likewise.
12414 (CLD_STOPPED): Likewise.
12415 (CLD_CONTINUED): Likewise.
12416 (POLL_IN): Likewise.
12417 (POLL_OUT): Likewise.
12418 (POLL_MSG): Likewise.
12419 (POLL_ERR): Likewise.
12420 (POLL_PRI): Likewise.
12421 (POLL_HUP): Likewise.
12422 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
12423 Likewise.
12424 (ILL_ILLOPN): Likewise.
12425 (ILL_ILLADR): Likewise.
12426 (ILL_ILLTRP): Likewise.
12427 (ILL_PRVOPC): Likewise.
12428 (ILL_PRVREG): Likewise.
12429 (ILL_COPROC): Likewise.
12430 (ILL_BADSTK): Likewise.
12431 (FPE_INTDIV): Likewise.
12432 (FPE_INTOVF): Likewise.
12433 (FPE_FLTDIV): Likewise.
12434 (FPE_FLTOVF): Likewise.
12435 (FPE_FLTUND): Likewise.
12436 (FPE_FLTRES): Likewise.
12437 (FPE_FLTINV): Likewise.
12438 (FPE_FLTSUB): Likewise.
12439 (SEGV_MAPERR): Likewise.
12440 (SEGV_ACCERR): Likewise.
12441 (BUS_ADRALN): Likewise.
12442 (BUS_ADRERR): Likewise.
12443 (BUS_OBJERR): Likewise.
12444 (BUS_MCEERR_AR): Likewise.
12445 (BUS_MCEERR_AO): Likewise.
12446 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12447 (TRAP_TRACE): Likewise.
12448 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12449 __USE_XOPEN2K8].
12450 (CLD_KILLED): Likewise.
12451 (CLD_DUMPED): Likewise.
12452 (CLD_TRAPPED): Likewise.
12453 (CLD_STOPPED): Likewise.
12454 (CLD_CONTINUED): Likewise.
12455 (POLL_IN): Likewise.
12456 (POLL_OUT): Likewise.
12457 (POLL_MSG): Likewise.
12458 (POLL_ERR): Likewise.
12459 (POLL_PRI): Likewise.
12460 (POLL_HUP): Likewise.
12461 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
12462 (ILL_ILLOPN): Likewise.
12463 (ILL_ILLADR): Likewise.
12464 (ILL_ILLTRP): Likewise.
12465 (ILL_PRVOPC): Likewise.
12466 (ILL_PRVREG): Likewise.
12467 (ILL_COPROC): Likewise.
12468 (ILL_BADSTK): Likewise.
12469 (FPE_INTDIV): Likewise.
12470 (FPE_INTOVF): Likewise.
12471 (FPE_FLTDIV): Likewise.
12472 (FPE_FLTOVF): Likewise.
12473 (FPE_FLTUND): Likewise.
12474 (FPE_FLTRES): Likewise.
12475 (FPE_FLTINV): Likewise.
12476 (FPE_FLTSUB): Likewise.
12477 (SEGV_MAPERR): Likewise.
12478 (SEGV_ACCERR): Likewise.
12479 (BUS_ADRALN): Likewise.
12480 (BUS_ADRERR): Likewise.
12481 (BUS_OBJERR): Likewise.
12482 (BUS_MCEERR_AR): Likewise.
12483 (BUS_MCEERR_AO): Likewise.
12484 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12485 (TRAP_TRACE): Likewise.
12486 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12487 __USE_XOPEN2K8].
12488 (CLD_KILLED): Likewise.
12489 (CLD_DUMPED): Likewise.
12490 (CLD_TRAPPED): Likewise.
12491 (CLD_STOPPED): Likewise.
12492 (CLD_CONTINUED): Likewise.
12493 (POLL_IN): Likewise.
12494 (POLL_OUT): Likewise.
12495 (POLL_MSG): Likewise.
12496 (POLL_ERR): Likewise.
12497 (POLL_PRI): Likewise.
12498 (POLL_HUP): Likewise.
12499 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
12500 Likewise.
12501 (ILL_ILLOPN): Likewise.
12502 (ILL_ILLADR): Likewise.
12503 (ILL_ILLTRP): Likewise.
12504 (ILL_PRVOPC): Likewise.
12505 (ILL_PRVREG): Likewise.
12506 (ILL_COPROC): Likewise.
12507 (ILL_BADSTK): Likewise.
12508 (ILL_BADIADDR): Likewise.
12509 (ILL_BREAK): Likewise.
12510 (FPE_INTDIV): Likewise.
12511 (FPE_INTOVF): Likewise.
12512 (FPE_FLTDIV): Likewise.
12513 (FPE_FLTOVF): Likewise.
12514 (FPE_FLTUND): Likewise.
12515 (FPE_FLTRES): Likewise.
12516 (FPE_FLTINV): Likewise.
12517 (FPE_FLTSUB): Likewise.
12518 (FPE_DECOVF): Likewise.
12519 (FPE_DECDIV): Likewise.
12520 (FPE_DECERR): Likewise.
12521 (FPE_INVASC): Likewise.
12522 (FPE_INVDEC): Likewise.
12523 (SEGV_MAPERR): Likewise.
12524 (SEGV_ACCERR): Likewise.
12525 (SEGV_PSTKOVF): Likewise.
12526 (BUS_ADRALN): Likewise.
12527 (BUS_ADRERR): Likewise.
12528 (BUS_OBJERR): Likewise.
12529 (BUS_MCEERR_AR): Likewise.
12530 (BUS_MCEERR_AO): Likewise.
12531 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12532 (TRAP_TRACE): Likewise.
12533 (TRAP_BRANCH): Likewise.
12534 (TRAP_HWBKPT): Likewise.
12535 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12536 __USE_XOPEN2K8].
12537 (CLD_KILLED): Likewise.
12538 (CLD_DUMPED): Likewise.
12539 (CLD_TRAPPED): Likewise.
12540 (CLD_STOPPED): Likewise.
12541 (CLD_CONTINUED): Likewise.
12542 (POLL_IN): Likewise.
12543 (POLL_OUT): Likewise.
12544 (POLL_MSG): Likewise.
12545 (POLL_ERR): Likewise.
12546 (POLL_PRI): Likewise.
12547 (POLL_HUP): Likewise.
12548 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
12549 (ILL_ILLOPN): Likewise.
12550 (ILL_ILLADR): Likewise.
12551 (ILL_ILLTRP): Likewise.
12552 (ILL_PRVOPC): Likewise.
12553 (ILL_PRVREG): Likewise.
12554 (ILL_COPROC): Likewise.
12555 (ILL_BADSTK): Likewise.
12556 (FPE_INTDIV): Likewise.
12557 (FPE_INTOVF): Likewise.
12558 (FPE_FLTDIV): Likewise.
12559 (FPE_FLTOVF): Likewise.
12560 (FPE_FLTUND): Likewise.
12561 (FPE_FLTRES): Likewise.
12562 (FPE_FLTINV): Likewise.
12563 (FPE_FLTSUB): Likewise.
12564 (SEGV_MAPERR): Likewise.
12565 (SEGV_ACCERR): Likewise.
12566 (BUS_ADRALN): Likewise.
12567 (BUS_ADRERR): Likewise.
12568 (BUS_OBJERR): Likewise.
12569 (BUS_MCEERR_AR): Likewise.
12570 (BUS_MCEERR_AO): Likewise.
12571 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12572 (TRAP_TRACE): Likewise.
12573 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12574 __USE_XOPEN2K8].
12575 (CLD_KILLED): Likewise.
12576 (CLD_DUMPED): Likewise.
12577 (CLD_TRAPPED): Likewise.
12578 (CLD_STOPPED): Likewise.
12579 (CLD_CONTINUED): Likewise.
12580 (POLL_IN): Likewise.
12581 (POLL_OUT): Likewise.
12582 (POLL_MSG): Likewise.
12583 (POLL_ERR): Likewise.
12584 (POLL_PRI): Likewise.
12585 (POLL_HUP): Likewise.
12586 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
12587 (ILL_ILLOPN): Likewise.
12588 (ILL_ILLADR): Likewise.
12589 (ILL_ILLTRP): Likewise.
12590 (ILL_PRVOPC): Likewise.
12591 (ILL_PRVREG): Likewise.
12592 (ILL_COPROC): Likewise.
12593 (ILL_BADSTK): Likewise.
12594 (FPE_INTDIV): Likewise.
12595 (FPE_INTOVF): Likewise.
12596 (FPE_FLTDIV): Likewise.
12597 (FPE_FLTOVF): Likewise.
12598 (FPE_FLTUND): Likewise.
12599 (FPE_FLTRES): Likewise.
12600 (FPE_FLTINV): Likewise.
12601 (FPE_FLTSUB): Likewise.
12602 (SEGV_MAPERR): Likewise.
12603 (SEGV_ACCERR): Likewise.
12604 (BUS_ADRALN): Likewise.
12605 (BUS_ADRERR): Likewise.
12606 (BUS_OBJERR): Likewise.
12607 (BUS_MCEERR_AR): Likewise.
12608 (BUS_MCEERR_AO): Likewise.
12609 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12610 (TRAP_TRACE): Likewise.
12611 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12612 __USE_XOPEN2K8].
12613 (CLD_KILLED): Likewise.
12614 (CLD_DUMPED): Likewise.
12615 (CLD_TRAPPED): Likewise.
12616 (CLD_STOPPED): Likewise.
12617 (CLD_CONTINUED): Likewise.
12618 (POLL_IN): Likewise.
12619 (POLL_OUT): Likewise.
12620 (POLL_MSG): Likewise.
12621 (POLL_ERR): Likewise.
12622 (POLL_PRI): Likewise.
12623 (POLL_HUP): Likewise.
12624 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
12625 (ILL_ILLOPN): Likewise.
12626 (ILL_ILLADR): Likewise.
12627 (ILL_ILLTRP): Likewise.
12628 (ILL_PRVOPC): Likewise.
12629 (ILL_PRVREG): Likewise.
12630 (ILL_COPROC): Likewise.
12631 (ILL_BADSTK): Likewise.
12632 (FPE_INTDIV): Likewise.
12633 (FPE_INTOVF): Likewise.
12634 (FPE_FLTDIV): Likewise.
12635 (FPE_FLTOVF): Likewise.
12636 (FPE_FLTUND): Likewise.
12637 (FPE_FLTRES): Likewise.
12638 (FPE_FLTINV): Likewise.
12639 (FPE_FLTSUB): Likewise.
12640 (SEGV_MAPERR): Likewise.
12641 (SEGV_ACCERR): Likewise.
12642 (BUS_ADRALN): Likewise.
12643 (BUS_ADRERR): Likewise.
12644 (BUS_OBJERR): Likewise.
12645 (BUS_MCEERR_AR): Likewise.
12646 (BUS_MCEERR_AO): Likewise.
12647 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12648 (TRAP_TRACE): Likewise.
12649 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12650 __USE_XOPEN2K8].
12651 (CLD_KILLED): Likewise.
12652 (CLD_DUMPED): Likewise.
12653 (CLD_TRAPPED): Likewise.
12654 (CLD_STOPPED): Likewise.
12655 (CLD_CONTINUED): Likewise.
12656 (POLL_IN): Likewise.
12657 (POLL_OUT): Likewise.
12658 (POLL_MSG): Likewise.
12659 (POLL_ERR): Likewise.
12660 (POLL_PRI): Likewise.
12661 (POLL_HUP): Likewise.
12662 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
12663 (ILL_ILLOPN): Likewise.
12664 (ILL_ILLADR): Likewise.
12665 (ILL_ILLTRP): Likewise.
12666 (ILL_PRVOPC): Likewise.
12667 (ILL_PRVREG): Likewise.
12668 (ILL_COPROC): Likewise.
12669 (ILL_BADSTK): Likewise.
12670 (ILL_DBLFLT): Likewise.
12671 (ILL_HARDWALL): Likewise.
12672 (FPE_INTDIV): Likewise.
12673 (FPE_INTOVF): Likewise.
12674 (FPE_FLTDIV): Likewise.
12675 (FPE_FLTOVF): Likewise.
12676 (FPE_FLTUND): Likewise.
12677 (FPE_FLTRES): Likewise.
12678 (FPE_FLTINV): Likewise.
12679 (FPE_FLTSUB): Likewise.
12680 (SEGV_MAPERR): Likewise.
12681 (SEGV_ACCERR): Likewise.
12682 (BUS_ADRALN): Likewise.
12683 (BUS_ADRERR): Likewise.
12684 (BUS_OBJERR): Likewise.
12685 (BUS_MCEERR_AR): Likewise.
12686 (BUS_MCEERR_AO): Likewise.
12687 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12688 (TRAP_TRACE): Likewise.
12689 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12690 __USE_XOPEN2K8].
12691 (CLD_KILLED): Likewise.
12692 (CLD_DUMPED): Likewise.
12693 (CLD_TRAPPED): Likewise.
12694 (CLD_STOPPED): Likewise.
12695 (CLD_CONTINUED): Likewise.
12696 (POLL_IN): Likewise.
12697 (POLL_OUT): Likewise.
12698 (POLL_MSG): Likewise.
12699 (POLL_ERR): Likewise.
12700 (POLL_PRI): Likewise.
12701 (POLL_HUP): Likewise.
12702 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
12703 (ILL_ILLOPN): Likewise.
12704 (ILL_ILLADR): Likewise.
12705 (ILL_ILLTRP): Likewise.
12706 (ILL_PRVOPC): Likewise.
12707 (ILL_PRVREG): Likewise.
12708 (ILL_COPROC): Likewise.
12709 (ILL_BADSTK): Likewise.
12710 (FPE_INTDIV): Likewise.
12711 (FPE_INTOVF): Likewise.
12712 (FPE_FLTDIV): Likewise.
12713 (FPE_FLTOVF): Likewise.
12714 (FPE_FLTUND): Likewise.
12715 (FPE_FLTRES): Likewise.
12716 (FPE_FLTINV): Likewise.
12717 (FPE_FLTSUB): Likewise.
12718 (SEGV_MAPERR): Likewise.
12719 (SEGV_ACCERR): Likewise.
12720 (BUS_ADRALN): Likewise.
12721 (BUS_ADRERR): Likewise.
12722 (BUS_OBJERR): Likewise.
12723 (BUS_MCEERR_AR): Likewise.
12724 (BUS_MCEERR_AO): Likewise.
12725 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12726 (TRAP_TRACE): Likewise.
12727 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12728 __USE_XOPEN2K8].
12729 (CLD_KILLED): Likewise.
12730 (CLD_DUMPED): Likewise.
12731 (CLD_TRAPPED): Likewise.
12732 (CLD_STOPPED): Likewise.
12733 (CLD_CONTINUED): Likewise.
12734 (POLL_IN): Likewise.
12735 (POLL_OUT): Likewise.
12736 (POLL_MSG): Likewise.
12737 (POLL_ERR): Likewise.
12738 (POLL_PRI): Likewise.
12739 (POLL_HUP): Likewise.
12740 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
12741 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12742
bc61d27c
JM
12743 [BZ #16670]
12744 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
12745 before #include of <time.h>.
12746 [!__USE_XOPEN2K] (__need_timespec): Likewise.
12747 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
12748 (test-xfail-UNIX98/sched.h/conform): Likewise.
12749
302949e2
MS
127502014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
12751
12752 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
12753 error absence of trapping exception support.
12754 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12755
a00f522a
JM
127562014-03-07 Joseph Myers <joseph@codesourcery.com>
12757
6f99f280
JM
12758 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
12759 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
12760 * timezone/Makefile (testdata): Move definition above include of
12761 Rules.
12762 (test-zones): New variable.
12763 (tests-special): Add zone files.
12764 (build-testdata): Use $(evaluate-test).
12765
0b20a9e8
JM
12766 * elf/Makefile (tests-special): Rename tests to end with .out.
12767 ($(objpfx)noload-mem): Likewise.
12768 ($(objpfx)tst-leaks1-mem): Likewise.
12769 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
12770 * iconv/Makefile (xtests-special): Change test-iconvconfig to
12771 $(objpfx)test-iconvconfig.out.
12772 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
12773 set -e inside subshell and redirect output to file.
12774 * iconvdata/Makefile (generated): Rename tests to end with .out.
12775 Correct type.
12776 (tests-special): Rename tests to end with .out.
12777 ($(objpfx)mtrace-tst-loading): Likewise.
12778 * intl/Makefile (generated): Likewise.
12779 (tests-special): Likewise.
12780 ($(objpfx)mtrace-tst-gettext): Likewise.
12781 * misc/Makefile (generated): Likewise.
12782 (tests-special): Likewise.
12783 ($(objpfx)tst-error1-mem): Likewise.
12784 * nptl/Makefile (tests-special): Likewise.
12785 ($(objpfx)tst-stack3-mem): Likewise.
12786 (generated): Likewise.
12787 * posix/Makefile (generated): Likewise.
12788 (tests-special): Likewise.
12789 (xtests-special): Likewise.
12790 ($(objpfx)tst-fnmatch-mem): Likewise.
12791 ($(objpfx)bug-regex2-mem): Likewise.
12792 ($(objpfx)bug-regex14-mem): Likewise.
12793 ($(objpfx)bug-regex21-mem): Likewise.
12794 ($(objpfx)bug-regex31-mem): Likewise.
12795 ($(objpfx)tst-vfork3-mem): Likewise.
12796 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12797 ($(objpfx)tst-pcre-mem): Likewise.
12798 ($(objpfx)tst-boost-mem): Likewise.
12799 ($(objpfx)bug-ga2-mem): Likewise.
12800 ($(objpfx)bug-glob2-mem): Likewise.
12801 * resolv/Makefile (generate): Likewise.
12802 (tests-special): Likewise.
12803 (xtests-special): Likewise.
12804 (generated): Likewise.
12805 ($(objpfx)mtrace-tst-leaks): Likewise.
12806 ($(objpfx)mtrace-tst-leaks2): Likewise.
12807
265d52ab
JM
12808 * scripts/merge-test-results.sh: New file.
12809 * Makefile (tests-special-notdir): New variable.
12810 (tests): Run merge-test-results.sh.
12811 (xtests): Likewise.
12812 * Rules (tests-special-notdir): New variable.
12813 (xtests-special-notdir): Likewise.
12814 (tests): Run merge-test-results.sh
12815 (xtests): Likewise.
12816
54ee292d
JM
12817 * Makeconfig (test-xfail-name): New variable.
12818 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
12819 compute variable name for expected failures.
12820 * conform/Makefile (conformtest-headers-data): New variable.
12821 (conformtest-standards): Likewise.
12822 (conformtest-headers-ISO): Likewise.
12823 (conformtest-headers-ISO99): Likewise.
12824 (conformtest-headers-ISO11): Likewise.
12825 (conformtest-headers-POSIX): Likewise.
12826 (conformtest-headers-XPG3): Likewise.
12827 (conformtest-headers-XPG4): Likewise.
12828 (conformtest-headers-UNIX98): Likewise.
12829 (conformtest-headers-XOPEN2K): Likewise.
12830 (conformtest-headers-POSIX2008): Likewise.
12831 (conformtest-headers-XOPEN2K8): Likewise.
12832 (conformtest-header-list-base): Likewise.
12833 (conformtest-header-list-tests): Likewise.
12834 (conformtest-header-base): Likewise.
12835 (conformtest-header-tests): Likewise.
12836 (tests-special): Add $(conformtest-header-list-tests). If
12837 [$(fast-check) && !$(cross-compiling)], add
12838 $(conformtest-header-tests) instead of
12839 $(objpfx)run-conformtest.out.
12840 (generated): Add $(conformtest-header-list-base). If
12841 [$(fast-check) && !$(cross-compiling)], add
12842 $(conformtest-header-base). Remove previous setting.
12843 ($(conformtest-header-list-tests)): New target.
12844 (test-xfail-run-conformtest): Remove variable.
12845 ($(objpfx)run-conformtest.out): Remove target.
12846 (test-xfail-ISO11/complex.h/conform): New variable.
12847 (test-xfail-ISO11/stdalign.h/conform): Likewise.
12848 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
12849 (test-xfail-XPG3/varargs.h/conform): Likewise.
12850 (test-xfail-XPG4/varargs.h/conform): Likewise.
12851 (test-xfail-UNIX98/varargs.h/conform): Likewise.
12852 (test-xfail-XPG4/ndbm.h/conform): Likewise.
12853 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
12854 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
12855 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
12856 (test-xfail-XPG3/fcntl.h/conform): Likewise.
12857 (test-xfail-XPG3/ftw.h/conform): Likewise.
12858 (test-xfail-XPG3/grp.h/conform): Likewise.
12859 (test-xfail-XPG3/langinfo.h/conform): Likewise.
12860 (test-xfail-XPG3/limits.h/conform): Likewise.
12861 (test-xfail-XPG3/pwd.h/conform): Likewise.
12862 (test-xfail-XPG3/search.h/conform): Likewise.
12863 (test-xfail-XPG3/signal.h/conform): Likewise.
12864 (test-xfail-XPG3/stdio.h/conform): Likewise.
12865 (test-xfail-XPG3/stdlib.h/conform): Likewise.
12866 (test-xfail-XPG3/string.h/conform): Likewise.
12867 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
12868 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
12869 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
12870 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
12871 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
12872 (test-xfail-XPG3/sys/types.h/conform): Likewise.
12873 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
12874 (test-xfail-XPG3/termios.h/conform): Likewise.
12875 (test-xfail-XPG3/time.h/conform): Likewise.
12876 (test-xfail-XPG3/unistd.h/conform): Likewise.
12877 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
12878 (test-xfail-XPG4/fcntl.h/conform): Likewise.
12879 (test-xfail-XPG4/langinfo.h/conform): Likewise.
12880 (test-xfail-XPG4/netdb.h/conform): Likewise.
12881 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
12882 (test-xfail-XPG4/signal.h/conform): Likewise.
12883 (test-xfail-XPG4/stdio.h/conform): Likewise.
12884 (test-xfail-XPG4/stdlib.h/conform): Likewise.
12885 (test-xfail-XPG4/stropts.h/conform): Likewise.
12886 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
12887 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
12888 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
12889 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
12890 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
12891 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
12892 (test-xfail-XPG4/sys/time.h/conform): Likewise.
12893 (test-xfail-XPG4/sys/types.h/conform): Likewise.
12894 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
12895 (test-xfail-XPG4/termios.h/conform): Likewise.
12896 (test-xfail-XPG4/ucontext.h/conform): Likewise.
12897 (test-xfail-XPG4/unistd.h/conform): Likewise.
12898 (test-xfail-XPG4/utmpx.h/conform): Likewise.
12899 (test-xfail-POSIX/sched.h/conform): Likewise.
12900 (test-xfail-POSIX/signal.h/conform): Likewise.
12901 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12902 (test-xfail-POSIX/tar.h/conform): Likewise.
12903 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
12904 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
12905 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
12906 (test-xfail-UNIX98/netdb.h/conform): Likewise.
12907 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
12908 (test-xfail-UNIX98/sched.h/conform): Likewise.
12909 (test-xfail-UNIX98/signal.h/conform): Likewise.
12910 (test-xfail-UNIX98/stdio.h/conform): Likewise.
12911 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
12912 (test-xfail-UNIX98/stropts.h/conform): Likewise.
12913 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
12914 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
12915 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
12916 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
12917 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
12918 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
12919 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
12920 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
12921 (test-xfail-UNIX98/unistd.h/conform): Likewise.
12922 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
12923 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
12924 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
12925 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
12926 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
12927 (test-xfail-XOPEN2K/math.h/conform): Likewise.
12928 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
12929 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
12930 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
12931 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
12932 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
12933 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
12934 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
12935 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
12936 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
12937 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
12938 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
12939 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
12940 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
12941 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
12942 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
12943 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12944 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
12945 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
12946 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
12947 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
12948 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
12949 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
12950 (test-xfail-POSIX2008/signal.h/conform): Likewise.
12951 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
12952 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
12953 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
12954 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
12955 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
12956 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
12957 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12958 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
12959 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
12960 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
12961 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
12962 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
12963 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
12964 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
12965 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
12966 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
12967 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
12968 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
12969 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
12970 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
12971 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
12972 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12973 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
12974 (conformtest-cc-flags): Likewise.
12975 ($(conformtest-header-tests): New target.
12976 * conform/check-header-lists.sh: New file.
12977 * conform/run-conformtest.sh: Remove.
12978
a00f522a
JM
12979 * conform/conformtest.pl: Allow ' and \ in values given for
12980 constants.
12981 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
12982 inclusion.
12983 [POSIX] (sys/types.h): Likewise.
12984 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
12985 inclusion.
12986 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
12987 inclusion.
12988 * conform/data/signal.h-data (SIGIO): Remove expectation.
12989 [XPG3] (SIGBUS): Do not expect.
12990 [POSIX || XPG3] (SIGPOLL): Likewise.
12991 [POSIX || XPG3] (SIGPROF): Likewise.
12992 [POSIX || XPG3] (SIGSYS): Likewise.
12993 [XPG3] (SIGTRAP): Likewise.
12994 [POSIX || XPG3] (SIGURG): Likewise.
12995 [POSIX || XPG3] (SIGVTALRM): Likewise.
12996 [POSIX || XPG3] (SIGXCPU): Likewise.
12997 [POSIX || XPG3] (SIGXFSZ): Likewise.
12998 [POSIX] (SA_SIGINFO): Expect.
12999 [XPG3] (siginfo_t): Do not expect type or contents.
13000 [POSIX] (si_pid): Do not expect element.
13001 [POSIX] (si_uid): Likewise.
13002 [POSIX] (si_addr): Likewise.
13003 [POSIX] (si_status): Likewise.
13004 [POSIX] (si_band): Likewise.
13005 [XPG4] (si_value): Likewise.
13006 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
13007 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
13008 [POSIX || XPG3] (ILL_ILLADR): Likewise.
13009 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
13010 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
13011 [POSIX || XPG3] (ILL_PRVREG): Likewise.
13012 [POSIX || XPG3] (ILL_COPROC): Likewise.
13013 [POSIX || XPG3] (ILL_BADSTK): Likewise.
13014 [POSIX || XPG3] (FPE_INTDIV): Likewise.
13015 [POSIX || XPG3] (FPE_INTOVF): Likewise.
13016 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
13017 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
13018 [POSIX || XPG3] (FPE_FLTUND): Likewise.
13019 [POSIX || XPG3] (FPE_FLTRES): Likewise.
13020 [POSIX || XPG3] (FPE_FLTINV): Likewise.
13021 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
13022 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
13023 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
13024 [POSIX || XPG3] (BUS_ADRALN): Likewise.
13025 [POSIX || XPG3] (BUS_ADRERR): Likewise.
13026 [POSIX || XPG3] (BUS_OBJERR): Likewise.
13027 [POSIX || XPG3] (CLD_EXITED): Likewise.
13028 [POSIX || XPG3] (CLD_KILLED): Likewise.
13029 [POSIX || XPG3] (CLD_DUMPED): Likewise.
13030 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
13031 [POSIX || XPG3] (CLD_STOPPED): Likewise.
13032 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
13033 [POSIX || XPG3] (POLL_IN): Likewise.
13034 [POSIX || XPG3] (POLL_OUT): Likewise.
13035 [POSIX || XPG3] (POLL_MSG): Likewise.
13036 [POSIX || XPG3] (POLL_ERR): Likewise.
13037 [POSIX || XPG3] (POLL_PRI): Likewise.
13038 [POSIX || XPG3] (POLL_HUP): Likewise.
13039 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
13040 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
13041 (SIG*): Do not allow.
13042 [XPG3] (si_*): Likewise.
13043 [XPG3] (SI_*): Likewise.
13044 [XPG3 || XPG4] (sigev_*): Likewise.
13045 [XPG3 || XPG4] (SIGEV_*): Likewise.
13046 [XPG3 || XPG4] (sival_*): Likewise.
13047 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
13048 [POSIX || XPG3] (BUS_*): Likewise.
13049 [POSIX || XPG3] (CLD_*): Likewise.
13050 [POSIX || XPG3] (FPE_*): Likewise.
13051 [POSIX || XPG3] (ILL_*): Likewise.
13052 [POSIX || XPG3] (POLL_*): Likewise.
13053 [POSIX || XPG3] (SEGV_*): Likewise.
13054 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
13055 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
13056 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
13057 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
13058 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
13059 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
13060 Specify type and value.
13061 (TVERSLEN): Likewise.
13062 (REGTYPE): Likewise.
13063 (AREGTYPE): Likewise.
13064 (LNKTYPE): Likewise.
13065 (SYMTYPE): Likewise.
13066 (CHRTYPE): Likewise.
13067 (BLKTYPE): Likewise.
13068 (DIRTYPE): Likewise.
13069 (FIFOTYPE): Likewise.
13070 (CONTTYPE): Likewise.
13071 (TSUID): Likewise.
13072 (TSGID): Likewise.
13073 (TSVTX): Likewise.
13074 (TUREAD): Likewise.
13075 (TUWRITE): Likewise.
13076 (TUEXEC): Likewise.
13077 (TGREAD): Likewise.
13078 (TGWRITE): Likewise.
13079 (TGEXEC): Likewise.
13080 (TOREAD): Likewise.
13081 (TOWRITE): Likewise.
13082 (TOEXEC): Likewise.
13083 [POSIX] (TSVTX): Expect constant.
13084
aa97dee1
JM
130852014-03-06 Joseph Myers <joseph@codesourcery.com>
13086
f214606a
JM
13087 * Makefile (tests): Change dependencies to ....
13088 (tests-special): ... additions to this variable.
13089 (tests): Depend on $(tests-special).
13090 * Makerules (check-abi-list): New variable.
13091 (check-abi): Depend on $(check-abi-list).
13092 [$(subdir) = elf] (tests-special): Add
13093 $(objpfx)check-abi-libc.out.
13094 [$(build-shared) = yes && subdir] (tests-special): Add
13095 $(check-abi-list).
13096 [$(build-shared) = yes && subdir] (tests): Do not depend on
13097 check-abi.
13098 * Rules (tests): Depend on $(tests-special).
13099 (xtests): Depend on $(xtests-special).
13100 * catgets/Makefile (tests): Change dependencies to ....
13101 (tests-special): ... additions to this variable.
13102 * conform/Makefile (tests): Change dependencies to ....
13103 (tests-special): ... additions to this variable.
13104 * elf/Makefile (tests): Change dependencies to ....
13105 (tests-special): ... additions to this variable.
13106 * grp/Makefile (tests): Change dependencies to ....
13107 (tests-special): ... additions to this variable.
13108 * iconv/Makefile (xtests): Change dependencies to ....
13109 (xtests-special): ... additions to this variable.
13110 * iconvdata/Makefile (tests): Change dependencies to ....
13111 (tests-special): ... additions to this variable.
13112 * intl/Makefile (tests): Change dependencies to ....
13113 (tests-special): ... additions to this variable. Also add
13114 $(objpfx)tst-gettext.out.
13115 * io/Makefile (tests): Change dependencies to ....
13116 (tests-special): ... additions to this variable.
13117 * libio/Makefile (tests): Change dependencies to ....
13118 (tests-special): ... additions to this variable.
13119 * malloc/Makefile (tests): Change dependencies to ....
13120 (tests-special): ... additions to this variable.
13121 * misc/Makefile (tests): Change dependencies to ....
13122 (tests-special): ... additions to this variable.
13123 * nptl/Makefile (tests): Change dependencies to ....
13124 (tests-special): ... additions to this variable.
13125 * nptl_db/Makefile (tests): Change dependencies to ....
13126 (tests-special): ... additions to this variable.
13127 * posix/Makefile (tests): Change dependencies to ....
13128 (tests-special): ... additions to this variable.
13129 (xtests): Change dependencies to ....
13130 (xtests-special): ... additions to this variable.
13131 * resolv/Makefile (tests): Change dependencies to ....
13132 (tests-special): ... additions to this variable.
13133 (xtests): Change dependencies to ....
13134 (xtests-special): ... additions to this variable.
13135 * stdio-common/Makefile (tests): Change dependencies to ....
13136 (tests-special): ... additions to this variable.
13137 (do-tst-unbputc): Remove target.
13138 (do-tst-printf): Likewise.
13139 * stdlib/Makefile (tests): Change dependencies to ....
13140 (tests-special): ... additions to this variable.
13141 * string/Makefile (tests): Change dependencies to ....
13142 (tests-special): ... additions to this variable.
13143 * sysdeps/x86/Makefile (tests): Change dependencies to ....
13144 (tests-special): ... additions to this variable.
13145
81700b53
JM
13146 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
13147 whole file.
13148 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
13149 whole file.
13150 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
13151 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
13152
2ea18461
JM
13153 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
13154 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
13155 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
13156 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
13157 * conform/data/libgen.h-data [XPG3]: Likewise.
13158 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
13159 * conform/data/ndbm.h-data [XPG3]: Likewise.
13160 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13161 * conform/data/netdb.h-data [XPG3]: Likewise.
13162 * conform/data/netinet/in.h-data [XPG3]: Likewise.
13163 * conform/data/poll.h-data [XPG3]: Likewise.
13164 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13165 * conform/data/strings.h-data [XPG3]: Likewise.
13166 * conform/data/stropts.h-data [XPG3]: Likewise.
13167 * conform/data/sys/mman.h-data [XPG3]: Likewise.
13168 * conform/data/sys/resource.h-data [XPG3]: Likewise.
13169 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
13170 Likewise.
13171 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
13172 * conform/data/sys/time.h-data [XPG3]: Likewise.
13173 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
13174 * conform/data/sys/uio.h-data [XPG3]: Likewise.
13175 * conform/data/sys/un.h-data [XPG3]: Likewise.
13176 * conform/data/syslog.h-data [XPG3]: Likewise.
13177 * conform/data/ucontext.h-data [XPG3]: Likewise.
13178 * conform/data/utmpx.h-data [XPG3]: Likewise.
13179 * conform/data/varargs.h-data [UNIX98]: Enable file.
13180
355bc986
JM
13181 * manual/Makefile (INSTALL_INFO): Remove variable setting.
13182
215db402
JM
13183 * math/libm-test.inc (struct test_f_f_data): Move expected results
13184 into structure for each rounding mode.
13185 (struct test_ff_f_data): Likewise.
13186 (struct test_ff_f_data_nexttoward): Likewise.
13187 (struct test_fi_f_data): Likewise.
13188 (struct test_fl_f_data): Likewise.
13189 (struct test_if_f_data): Likewise.
13190 (struct test_fff_f_data): Likewise.
13191 (struct test_c_f_data): Likewise.
13192 (struct test_f_f1_data): Likewise.
13193 (struct test_fF_f1_data): Likewise.
13194 (struct test_ffI_f1_data): Likewise.
13195 (struct test_c_c_data): Likewise.
13196 (struct test_cc_c_data): Likewise.
13197 (struct test_f_i_data): Likewise.
13198 (struct test_ff_i_data): Likewise.
13199 (struct test_f_l_data): Likewise.
13200 (struct test_f_L_data): Likewise.
13201 (struct test_fFF_11_data): Likewise.
13202 (RM_): New macro.
13203 (RM_FE_DOWNWARD): Likewise.
13204 (RM_FE_TONEAREST): Likewise.
13205 (RM_FE_TOWARDZERO): Likewise.
13206 (RM_FE_UPWARD): Likewise.
13207 (RUN_TEST_LOOP_f_f): Update references to expected results.
13208 (RUN_TEST_LOOP_2_f): Likewise.
13209 (RUN_TEST_LOOP_fff_f): Likewise.
13210 (RUN_TEST_LOOP_c_f): Likewise.
13211 (RUN_TEST_LOOP_f_f1): Likewise.
13212 (RUN_TEST_LOOP_fF_f1): Likewise.
13213 (RUN_TEST_LOOP_fI_f1): Likewise.
13214 (RUN_TEST_LOOP_ffI_f1): Likewise.
13215 (RUN_TEST_LOOP_c_c): Likewise.
13216 (RUN_TEST_LOOP_cc_c): Likewise.
13217 (RUN_TEST_LOOP_f_i): Likewise.
13218 (RUN_TEST_LOOP_f_i_tg): Likewise.
13219 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13220 (RUN_TEST_LOOP_f_b): Likewise.
13221 (RUN_TEST_LOOP_f_b_tg): Likewise.
13222 (RUN_TEST_LOOP_f_l): Likewise.
13223 (RUN_TEST_LOOP_f_L): Likewise.
13224 (RUN_TEST_LOOP_fFF_11): Likewise.
13225 * math/gen-libm-test.pl (parse_args): Output four copies of
13226 expected results for each test.
13227
67737b8f
JM
13228 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13229 (__ASSUME_UTIMES): Remove.
13230 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13231 (__ASSUME_UTIMES): Likewise.
13232
aa97dee1
JM
13233 * math/gen-auto-libm-tests.c: Update comment on output format.
13234 (output_for_one_input_case): Generate before-rounding and
13235 after-rounding information as conditions on output flags not
13236 floating-point format.
13237 * math/auto-libm-test-out: Regenerated.
13238 * math/gen-libm-test.pl (cond_value): New function.
13239 (or_cond_value): Use cond_value.
13240 (generate_testfile): Handle conditional exceptions.
13241
e6b6a857
JM
132422014-03-05 Joseph Myers <joseph@codesourcery.com>
13243
2f0a0f44
JM
13244 * math/libm-test.inc (max_valid_error): New variable.
13245 (init_max_error): Take new argument specifying whether function
13246 results are exactly determined. Set max_valid_error and bound
13247 other variables for errors based on this argument.
13248 (set_max_error): Do not record results above max_valid_error.
13249 (check_float_internal): Only accept errors of up to 0.5ulps if
13250 also at most max_valid_error.
13251 (START): Take new argument EXACT and pass it to init_max_error.
13252 (acos_test): Update call to START.
13253 (acos_test_tonearest): Likewise.
13254 (acos_test_towardzero): Likewise.
13255 (acos_test_downward): Likewise.
13256 (acos_test_upward): Likewise.
13257 (acosh_test): Likewise.
13258 (asin_test): Likewise.
13259 (asin_test_tonearest): Likewise.
13260 (asin_test_towardzero): Likewise.
13261 (asin_test_downward): Likewise.
13262 (asin_test_upward): Likewise.
13263 (asinh_test): Likewise.
13264 (atan_test): Likewise.
13265 (atanh_test): Likewise.
13266 (atan2_test): Likewise.
13267 (cabs_test): Likewise.
13268 (cacos_test): Likewise.
13269 (cacosh_test): Likewise.
13270 (carg_test): Likewise.
13271 (casin_test): Likewise.
13272 (casinh_test): Likewise.
13273 (catan_test): Likewise.
13274 (catanh_test): Likewise.
13275 (cbrt_test): Likewise.
13276 (ccos_test): Likewise.
13277 (ccosh_test): Likewise.
13278 (ceil_test): Likewise.
13279 (cexp_test): Likewise.
13280 (cimag_test): Likewise.
13281 (clog_test): Likewise.
13282 (clog10_test): Likewise.
13283 (conj_test): Likewise.
13284 (copysign_test): Likewise.
13285 (cos_test): Likewise.
13286 (cos_test_tonearest): Likewise.
13287 (cos_test_towardzero): Likewise.
13288 (cos_test_downward): Likewise.
13289 (cos_test_upward): Likewise.
13290 (cosh_test): Likewise.
13291 (cosh_test_tonearest): Likewise.
13292 (cosh_test_towardzero): Likewise.
13293 (cosh_test_downward): Likewise.
13294 (cosh_test_upward): Likewise.
13295 (cpow_test): Likewise.
13296 (cproj_test): Likewise.
13297 (creal_test): Likewise.
13298 (csin_test): Likewise.
13299 (csinh_test): Likewise.
13300 (csqrt_test): Likewise.
13301 (ctan_test): Likewise.
13302 (ctan_test_tonearest): Likewise.
13303 (ctan_test_towardzero): Likewise.
13304 (ctan_test_downward): Likewise.
13305 (ctan_test_upward): Likewise.
13306 (ctanh_test): Likewise.
13307 (ctanh_test_tonearest): Likewise.
13308 (ctanh_test_towardzero): Likewise.
13309 (ctanh_test_downward): Likewise.
13310 (ctanh_test_upward): Likewise.
13311 (erf_test): Likewise.
13312 (erfc_test): Likewise.
13313 (exp_test): Likewise.
13314 (exp_test_tonearest): Likewise.
13315 (exp_test_towardzero): Likewise.
13316 (exp_test_downward): Likewise.
13317 (exp_test_upward): Likewise.
13318 (exp10_test): Likewise.
13319 (exp10_test_tonearest): Likewise.
13320 (exp10_test_towardzero): Likewise.
13321 (exp10_test_downward): Likewise.
13322 (exp10_test_upward): Likewise.
13323 (pow10_test): Likewise.
13324 (exp2_test): Likewise.
13325 (expm1_test): Likewise.
13326 (expm1_test_tonearest): Likewise.
13327 (expm1_test_towardzero): Likewise.
13328 (expm1_test_downward): Likewise.
13329 (expm1_test_upward): Likewise.
13330 (fabs_test): Likewise.
13331 (fdim_test): Likewise.
13332 (floor_test): Likewise.
13333 (fma_test): Likewise.
13334 (fma_test_towardzero): Likewise.
13335 (fma_test_downward): Likewise.
13336 (fma_test_upward): Likewise.
13337 (fmax_test): Likewise.
13338 (fmin_test): Likewise.
13339 (fmod_test): Likewise.
13340 (fpclassify_test): Likewise.
13341 (frexp_test): Likewise.
13342 (hypot_test): Likewise.
13343 (ilogb_test): Likewise.
13344 (isfinite_test): Likewise.
13345 (finite_test): Likewise.
13346 (isgreater_test): Likewise.
13347 (isgreaterequal_test): Likewise.
13348 (isinf_test): Likewise.
13349 (isless_test): Likewise.
13350 (islessequal_test): Likewise.
13351 (islessgreater_test): Likewise.
13352 (isnan_test): Likewise.
13353 (isnormal_test): Likewise.
13354 (issignaling_test): Likewise.
13355 (isunordered_test): Likewise.
13356 (j0_test): Likewise.
13357 (j1_test): Likewise.
13358 (jn_test): Likewise.
13359 (ldexp_test): Likewise.
13360 (lgamma_test): Likewise.
13361 (gamma_test): Likewise.
13362 (lrint_test): Likewise.
13363 (lrint_test_tonearest): Likewise.
13364 (lrint_test_towardzero): Likewise.
13365 (lrint_test_downward): Likewise.
13366 (lrint_test_upward): Likewise.
13367 (llrint_test): Likewise.
13368 (llrint_test_tonearest): Likewise.
13369 (llrint_test_towardzero): Likewise.
13370 (llrint_test_downward): Likewise.
13371 (llrint_test_upward): Likewise.
13372 (log_test): Likewise.
13373 (log10_test): Likewise.
13374 (log1p_test): Likewise.
13375 (log2_test): Likewise.
13376 (logb_test): Likewise.
13377 (logb_test_downward): Likewise.
13378 (lround_test): Likewise.
13379 (llround_test): Likewise.
13380 (modf_test): Likewise.
13381 (nearbyint_test): Likewise.
13382 (nextafter_test): Likewise.
13383 (nexttoward_test): Likewise.
13384 (pow_test): Likewise.
13385 (pow_test_tonearest): Likewise.
13386 (pow_test_towardzero): Likewise.
13387 (pow_test_downward): Likewise.
13388 (pow_test_upward): Likewise.
13389 (remainder_test): Likewise.
13390 (drem_test): Likewise.
13391 (remainder_test_tonearest): Likewise.
13392 (drem_test_tonearest): Likewise.
13393 (remainder_test_towardzero): Likewise.
13394 (drem_test_towardzero): Likewise.
13395 (remainder_test_downward): Likewise.
13396 (drem_test_downward): Likewise.
13397 (remainder_test_upward): Likewise.
13398 (drem_test_upward): Likewise.
13399 (remquo_test): Likewise.
13400 (rint_test): Likewise.
13401 (rint_test_tonearest): Likewise.
13402 (rint_test_towardzero): Likewise.
13403 (rint_test_downward): Likewise.
13404 (rint_test_upward): Likewise.
13405 (round_test): Likewise.
13406 (scalb_test): Likewise.
13407 (scalbn_test): Likewise.
13408 (scalbln_test): Likewise.
13409 (signbit_test): Likewise.
13410 (sin_test): Likewise.
13411 (sin_test_tonearest): Likewise.
13412 (sin_test_towardzero): Likewise.
13413 (sin_test_downward): Likewise.
13414 (sin_test_upward): Likewise.
13415 (sincos_test): Likewise.
13416 (sinh_test): Likewise.
13417 (sinh_test_tonearest): Likewise.
13418 (sinh_test_towardzero): Likewise.
13419 (sinh_test_downward): Likewise.
13420 (sinh_test_upward): Likewise.
13421 (sqrt_test): Likewise.
13422 (sqrt_test_tonearest): Likewise.
13423 (sqrt_test_towardzero): Likewise.
13424 (sqrt_test_downward): Likewise.
13425 (sqrt_test_upward): Likewise.
13426 (tan_test): Likewise.
13427 (tan_test_tonearest): Likewise.
13428 (tan_test_towardzero): Likewise.
13429 (tan_test_downward): Likewise.
13430 (tan_test_upward): Likewise.
13431 (tanh_test): Likewise.
13432 (tgamma_test): Likewise.
13433 (trunc_test): Likewise.
13434 (y0_test): Likewise.
13435 (y1_test): Likewise.
13436 (yn_test): Likewise.
13437 (significand_test): Likewise.
13438
e6b6a857
JM
13439 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
13440 individual tests in comment.
13441 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
13442 (prev_max_error): New variable.
13443 (prev_real_max_error): Likewise.
13444 (prev_imag_max_error): Likewise.
13445 (compare_ulp_data): Don't refer to test names in comment.
13446 (find_test_ulps): Remove function.
13447 (find_function_ulps): Likewise.
13448 (find_complex_function_ulps): Likewise.
13449 (init_max_error): Take function name as argument. Look up ulps
13450 for that function.
13451 (print_ulps): Remove function.
13452 (print_max_error): Use prev_max_error instead of calling
13453 find_function_ulps.
13454 (print_complex_max_error): Use prev_real_max_error and
13455 prev_imag_max_error instead of calling find_complex_function_ulps.
13456 (check_float_internal): Take max_ulp parameter instead of calling
13457 find_test_ulps. Don't call print_ulps.
13458 (check_float): Update call to check_float_internal.
13459 (check_complex): Update calls to check_float_internal.
13460 (START): Pass argument to init_max_error.
13461 * math/gen-libm-test.pl (%results): Don't include "kind"
13462 information.
13463 (parse_ulps): Don't handle ulps of individual tests.
13464 (print_ulps_file): Likewise.
13465 (output_ulps): Likewise.
13466 * math/README.libm-test: Update.
13467 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
13468 individual tests.
13469 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
13470 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
13471 * sysdeps/arm/libm-test-ulps: Likewise.
13472 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
13473 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
13474 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
13475 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
13476 * sysdeps/microblaze/libm-test-ulps: Likewise.
13477 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13478 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13479 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13480 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13481 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13482 * sysdeps/sh/libm-test-ulps: Likewise.
13483 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13484 * sysdeps/tile/libm-test-ulps: Likewise.
13485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13486
45adef3c
JM
134872014-03-04 Joseph Myers <joseph@codesourcery.com>
13488
13489 * math/libm-test.inc (print_complex_max_error): Check separately
13490 whether real and imaginary errors are within allowed range and
13491 pass 0 to print_complex_function_ulps instead of value within
13492 allowed range.
13493
000232b9
SP
134942014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13495
d4b17258
SP
13496 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
13497 formatting.
13498 (get_handles_fopen): Likewise.
13499 (do_write_test): Likewise.
13500
091eff71
SP
13501 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
13502
fa3cd248
SP
13503 * libio/fileops.c (do_ftell): Use cached offset when
13504 available.
13505 * libio/iofwide.c (do_ftell_wide): Likewise.
13506 * libio/iofdopen.c (_IO_new_fdopen): Don't use
13507 _IO_file_attach.
13508 * libio/wfileops.c (_IO_fwide): Don't cache offset.
13509
000232b9
SP
13510 [BZ #16532]
13511 * libio/libioP.h (get_file_offset): New function.
13512 * libio/fileops.c (get_file_offset): Likewise.
13513 (do_ftell): Likewise.
13514 (_IO_new_file_seekoff): Split out ftell logic.
13515 * libio/wfileops.c (do_ftell_wide): Likewise.
13516 (_IO_wfile_seekoff): Split out ftell logic.
13517 * libio/tst-ftell-active-handler.c: New test case.
13518 * libio/Makefile (tests): Add it.
13519
116f4d1a
RM
135202014-03-03 Roland McGrath <roland@hack.frob.com>
13521
13522 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
13523 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
13524
532a6035
SP
135252014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13526
13527 [BZ #16639]
13528 * nscd/connections.c (nscd_init): Call do_exit.
13529 (start_threads): Call do_exit and notify_parent.
13530 (begin_drop_privileges): Call do_exit.
13531 (finish_drop_privileges): Likewise.
13532 * nscd/selinux.c (preserve_capabilities): Likewise.
13533 (install_real_capabilities): Likewise.
13534 (nscd_selinux_enabled): Likewise.
13535 (avc_create_thread): Likewise.
13536 (avc_alloc_lock): Likewise.
13537 (nscd_avc_init): Likewise.
13538 * nscd/nscd.c (parent_fd): New static variable.
13539 (main): Create a pipe between parent and child processes.
13540 Skip closing parent_fd.
13541 (monitor_child): New function.
13542 (do_exit): Likewise.
13543 (notify_parent): Likewise.
13544 * nscd/nscd.h (notify_parent): Likewise.
13545 (do_exit): Likewise.
13546
d6285c9f
CD
135472014-03-03 Carlos O'Donell <carlos@redhat.com>
13548
13549 * malloc/malloc.c (__libc_calloc): Revert last change.
13550
2b85d2a0
AZ
135512014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13552
13553 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13554
c7debbdf
RS
135552014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13556
13557 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
13558 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
13559 implementation.
13560 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13561 (__libc_ifunc_impl_list): Likewise.
13562 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
13563 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
13564 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
13565 * string/strrchr.c: Define STRRCHR.
13566
235eed86
OB
135672014-02-28 Ondřej Bílka <neleai@seznam.cz>
13568
13569 * benchtest/bench-strtok.c (simple_strtok): Delete.
13570 (strtok_string): Use as benchmark.
13571 * string/strtok (STRTOK): New macro.
13572
8e25d1e7
CD
135732014-02-28 Carlos O'Donell <carlos@redhat.com>
13574
ef563f92
CD
13575 * manual/threads.texi: Add header and standard comments to all
13576 functions.
13577
8e25d1e7
CD
13578 * elf/dl-lookup.c (check_match): New function.
13579 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
13580 (do_lookup_x): Remove nested function check_match. Use non-nested
13581 function check_match.
13582
ff71cc37
RM
135832014-02-28 Roland McGrath <roland@hack.frob.com>
13584
f08e9a26
RM
13585 * csu/Makefile (generated, before-compile): Use += rather than =.
13586 * catgets/Makefile (generated, generated-dirs): Likewise.
13587 * debug/Makefile (generated): Likewise.
13588 * dlfcn/Makefile (generated): Likewise.
13589 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
13590 * iconvdata/Makefile (before-compile, generated): Likewise.
13591 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
13592 * libio/Makefile (generated): Likewise.
13593 * malloc/Makefile (generated): Likewise.
13594 * manual/Makefile (generated, generated-dirs): Likewise.
13595 * misc/Makefile (generated): Likewise.
13596 * posix/Makefile (generated): Likewise.
13597 * resolv/Makefile (generated): Likewise.
13598 * sunrpc/Makefile (generated, generated-dirs): Likewise.
13599 * timezone/Makefile (generated, generated-dirs): Likewise.
13600
ff71cc37
RM
13601 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
13602
fe13a20c
AZ
136032014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13604
57f41c40
AS
13605 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13606 power8 implementation.
13607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
13608 file: POWER8 llround ifunc implementation.
13609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
13610 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
13611 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
13612 POWER8 llround implementation.
13613
57f41c40
AS
13614 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
13615 power8 implementation.
13616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
13617 file: POWER8 llrint ifunc implementation.
13618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
13619 Add POWER8 implementation.
1ad8950a
AZ
13620 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
13621 POWER8 llrint implementation.
13622
57f41c40
AS
13623 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
13624 power8 implementation.
13625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
13626 file: POWER8 finite ifunc implementation.
13627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
13628 Add POWER8 implementation.
cac626d6
AZ
13629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
13630 Likewise.
13631 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
13632 POWER8 finite implementation.
13633 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
13634
57f41c40
AS
13635 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
13636 power8 implementation.
13637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
13638 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
13639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
13640 POWER8 implementation.
13641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
13642 Likewise.
57f41c40
AS
13643 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
13644 isinf implementation.
4393fc11
AZ
13645 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
13646
57f41c40
AS
13647 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
13648 (INIT_ARCH): Add hwcap2 initialization.
13649 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13650 power8 implementation.
13651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
13652 file: POWER8 isnan ifunc implementation.
487972ae
AZ
13653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
13654 POWER8 implementation.
13655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
13656 Likewise.
57f41c40
AS
13657 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
13658 isnan implementation.
487972ae
AZ
13659 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
13660
7d92b787
JY
136612014-02-27 Joey Ye <joey.ye@arm.com>
13662
13663 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13664 (_FP_NANFRAC_Q): Set to zero.
13665
1cadc858
SP
136662014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13667
13668 [BZ #16623]
13669 * math/auto-libm-test-in: New test inputs.
13670 * math/auto-libm-test-out: Regenerate.
13671 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
13672 and DA.
13673 (__cos): Likewise.
13674 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
13675
f8c17e79
JM
136762014-02-27 Joseph Myers <joseph@codesourcery.com>
13677
13678 * scripts/evaluate-test.sh: Take new argument indicating whether
13679 failure is expected.
13680 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
13681 indicating whether failure is expected.
13682 * conform/Makefile (test-xfail-run-conformtest): New variable.
13683 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
13684 level.
13685 * posix/Makefile (test-xfail-annexc): New variable.
13686 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
13687
a5f891ac
JM
136882014-02-26 Joseph Myers <joseph@codesourcery.com>
13689
13690 * argp/Makefile: Include Makeconfig immediately after defining
13691 subdir.
13692 * assert/Makefile: Likewise.
13693 * benchtests/Makefile: Likewise.
13694 * catgets/Makefile: Likewise.
13695 * conform/Makefile: Likewise.
13696 * crypt/Makefile: Likewise.
13697 * csu/Makefile: Likewise.
13698 (all): Remove target.
13699 * ctype/Makefile: Include Makeconfig immediately after defining
13700 subdir.
13701 * debug/Makefile: Likewise.
13702 * dirent/Makefile: Likewise.
13703 * dlfcn/Makefile: Likewise.
13704 * gmon/Makefile: Likewise.
13705 * gnulib/Makefile: Likewise.
13706 * grp/Makefile: Likewise.
13707 * gshadow/Makefile: Likewise.
13708 * hesiod/Makefile: Likewise.
13709 * hurd/Makefile: Likewise.
13710 (all): Remove target.
13711 * iconvdata/Makefile: Include Makeconfig immediately after
13712 defining subdir.
13713 * inet/Makefile: Likewise.
13714 * intl/Makefile: Likewise.
13715 * io/Makefile: Likewise.
13716 * libio/Makefile: Likewise.
13717 (all): Remove target.
13718 * locale/Makefile: Include Makeconfig immediately after defining
13719 subdir.
13720 * login/Makefile: Likewise.
13721 * mach/Makefile: Likewise.
13722 (all): Remove target.
13723 * malloc/Makefile: Include Makeconfig immediately after defining
13724 subdir.
13725 (all): Remove target.
13726 * manual/Makefile: Include Makeconfig immediately after defining
13727 subdir.
13728 * math/Makefile: Likewise.
13729 * misc/Makefile: Likewise.
13730 * nis/Makefile: Likewise.
13731 * nss/Makefile: Likewise.
13732 * po/Makefile: Likewise.
13733 (all): Remove target.
13734 * posix/Makefile: Include Makeconfig immediately after defining
13735 subdir.
13736 * pwd/Makefile: Likewise.
13737 * resolv/Makefile: Likewise.
13738 * resource/Makefile: Likewise.
13739 * rt/Makefile: Likewise.
13740 * setjmp/Makefile: Likewise.
13741 * shadow/Makefile: Likewise.
13742 * signal/Makefile: Likewise.
13743 * socket/Makefile: Likewise.
13744 * soft-fp/Makefile: Likewise.
13745 * stdio-common/Makefile: Likewise.
13746 * stdlib/Makefile: Likewise.
13747 * streams/Makefile: Likewise.
13748 * string/Makefile: Likewise.
13749 * sunrpc/Makefile: Likewise.
13750 (all): Remove target.
13751 * sysvipc/Makefile: Include Makeconfig immediately after defining
13752 subdir.
13753 * termios/Makefile: Likewise.
13754 * time/Makefile: Likewise.
13755 * timezone/Makefile: Likewise.
13756 (all): Remove target.
13757 * wcsmbs/Makefile: Include Makeconfig immediately after defining
13758 subdir.
13759 * wctype/Makefile: Likewise.
13760
5b456e9d
SE
137612014-02-26 Steve Ellcey <sellcey@mips.com>
13762
13763 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
13764 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
13765 (libc_feholdexcept_setround_mips): Ditto.
13766 (libc_feholdsetround): New.
13767 (libc_feholdsetroundf): New.
13768 (libc_feholdsetroundl): New.
13769 (libc_feupdateenv_test_mips): New.
13770 (libc_feupdateenv_test): New.
13771 (libc_feupdateenv_testf): New.
13772 (libc_feupdateenv_testl): New.
13773 (libc_feresetround): New.
13774 (libc_feresetroundf): New.
13775 (libc_feresetroundl): New.
13776 (libc_fetestexcept_mips): New.
13777 (libc_fetestexcept): New.
13778 (libc_fetestexceptf): New.
13779 (libc_fetestexceptl): New.
13780 (HAVE_RM_CTX): New.
13781 (libc_feholdexcept_setround_mips_ctx): New.
13782 (libc_feholdexcept_setround_ctx): New.
13783 (libc_feholdexcept_setroundf_ctx): New.
13784 (libc_feholdexcept_setroundl_ctx): New.
13785 (libc_fesetenv_mips_ctx): New.
13786 (libc_fesetenv_ctx): New.
13787 (libc_fesetenv_ctxf): New.
13788 (libc_fesetenv_ctxl): New.
13789 (libc_feupdateenv_mips_ctx): New.
13790 (libc_feupdateenv_ctx): New.
13791 (libc_feupdateenvf_ctx): New.
13792 (libc_feupdateenvl_ctx): New.
13793 (libc_feholdsetround_mips_ctx): New.
13794 (libc_feholdsetround_ctx): New.
13795 (libc_feholdsetroundf_ctx): New.
13796 (libc_feholdsetroundl_ctx): New.
13797 (libc_feresetround_mips_ctx): New.
13798 (libc_feresetround_ctx): New.
13799 (libc_feresetroundf_ctx): New.
13800 (libc_feresetroundl_ctx): New.
13801
085d0e35
CD
138022014-02-26 Carlos O'Donell <carlos@redhat.com>
13803
f067bf1f
CD
13804 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
13805
085d0e35
CD
13806 * manual/ipc.texi: New file.
13807 * manual/Makefile (chapters): Add ipc.
13808 * manual/job.texi: Add "Inter-Process Communication" to next.
13809 * manual/process.texi: Add "Inter-Process Communication" to prev.
13810
86e58c08
AZ
138112014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13812
13813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13814
4248f0da
OB
138152014-02-26 Ondřej Bílka <neleai@seznam.cz>
13816
13817 * malloc/malloc.c (__libc_calloc): Simplify implementation.
13818
cf822e3c
OB
13819 * manual/arith.texi: Fix spaces after sentences.
13820 * manual/charset.texi: Likewise.
13821 * manual/errno.texi: Likewise.
13822 * manual/install.texi: Likewise.
13823 * manual/llio.texi: Likewise.
13824 * manual/locale.texi: Likewise.
13825 * manual/maint.texi: Likewise.
13826 * manual/math.texi: Likewise.
13827 * manual/memory.texi: Likewise.
13828 * manual/message.texi: Likewise.
13829 * manual/probes.texi: Likewise.
13830 * manual/resource.texi: Likewise.
13831 * manual/signal.texi: Likewise.
13832 * manual/socket.texi: Likewise.
13833 * manual/stdio.texi: Likewise.
13834 * manual/string.texi: Likewise.
13835 * manual/time.texi: Likewise.
13836 * manual/users.texi: Likewise.
13837
ade40b10
CD
138382014-02-25 Carlos O'Donell <carlos@redhat.com>
13839
13840 [BZ #16632]
13841 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
13842 _DEFAULT_SOURCE is defined.
13843
d0503676
CD
138442014-02-25 Ulrich Drepper <drepper@gmail.com>
13845 Carlos O'Donell <carlos@redhat.com>
13846
13847 [BZ #16613]
13848 * elf/dl-tls.c (_dl_count_modids): New function.
13849 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
13850 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
13851 audit library and increment generation counter.
13852 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
13853 * elf/tst-audit9.c: New file.
13854 * elf/tst-auditmod9a.c: New file.
13855 * elf/tst-auditmod9b.c: New file.
13856 * elf/Makefile: Add rules to build and run tst-audit9.
13857
4cbf380c
FW
138582014-02-25 Florian Weimer <fweimer@redhat.com>
13859
13860 [BZ #15347]
13861 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
13862
80a56cc3
WN
138632014-02-25 Will Newton <will.newton@linaro.org>
13864
13865 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
13866 (__longjmp): Restore sp and lr before restoring callee
13867 saved registers. Add longjmp and longjmp_target
13868 SystemTap probe point.
13869 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
13870 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
13871 Define to zero to match jmpbuf layout.
13872 * sysdeps/arm/setjmp.S: Include stap-probe.h.
13873 (__sigsetjmp): Save sp and lr before saving callee
13874 saved registers. Add setjmp SystemTap probe point.
13875
3ea0f74e
SL
138762014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13877
13878 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13879
b04acb26
AS
138802014-02-24 Andreas Schwab <schwab@suse.de>
13881
13882 [BZ #15804]
13883 * elf/pldd.c (wait_for_ptrace_stop): New function.
13884 (main): Call it after attaching.
13885
098ad55c
RM
138862014-02-22 Roland McGrath <roland@hack.frob.com>
13887
d4ec6ae1
RM
13888 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
13889 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
13890 Versions files is now verboten.
13891 * hurd/Versions (libc: GLIBC_2.0):
13892 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
13893 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
13894 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
13895 * mach/Versions: Likewise.
13896
098ad55c
RM
13897 * csu/Versions: Remove unused %include.
13898 * resolv/Versions: Likewise.
13899
acd7f096
JM
139002014-02-21 Joseph Myers <joseph@codesourcery.com>
13901
f0881698
JM
13902 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
13903 ($(objpfx)check-local-headers.out): Likewise.
13904 ($(objpfx)begin-end-check.out): Likewise.
13905 * Makerules (check-abi-%.out): Likewise.
13906 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
13907 ($(objpfx)test2.cat): Likewise.
13908 ($(objpfx)de/libc.cat): Likewise.
13909 ($(objpfx)test-gencat.out): Likewise.
13910 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
13911 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
13912 ($(objpfx)noload-mem): Likewise.
13913 ($(objpfx)tst-pathopt.out): Likewise.
13914 ($(objpfx)tst-rtld-load-self.out): Likewise.
13915 ($(objpfx)tst-array1-cmp.out): Likewise.
13916 ($(objpfx)tst-array1-static-cmp.out): Likewise.
13917 ($(objpfx)tst-array2-cmp.out): Likewise.
13918 ($(objpfx)tst-array3-cmp.out): Likewise.
13919 ($(objpfx)tst-array4-cmp.out): Likewise.
13920 ($(objpfx)tst-array5-cmp.out): Likewise.
13921 ($(objpfx)tst-array5-static-cmp.out): Likewise.
13922 ($(objpfx)check-textrel.out): Likewise.
13923 ($(objpfx)check-execstack.out): Likewise.
13924 ($(objpfx)check-localplt.out): Likewise.
13925 ($(objpfx)order2-cmp.out): Likewise.
13926 ($(objpfx)tst-leaks1-mem): Likewise.
13927 ($(objpfx)tst-leaks1-static-mem): Likewise.
13928 ($(objpfx)tst-initorder-cmp.out): Likewise.
13929 ($(objpfx)tst-initorder2-cmp.out): Likewise.
13930 ($(objpfx)tst-unused-dep.out): Likewise.
13931 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
13932 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
13933 * iconv/Makefile (test-iconvconfig): Likewise.
13934 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
13935 ($(objpfx)iconv-test.out): Likewise.
13936 ($(objpfx)tst-tables.out): Likewise.
13937 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
13938 ($(objpfx)tst-gettext.out): Likewise.
13939 ($(objpfx)tst-translit.out): Likewise.
13940 ($(objpfx)tst-gettext2.out): Likewise.
13941 ($(objpfx)tst-gettext4.out): Likewise.
13942 ($(objpfx)tst-gettext6.out): Likewise.
13943 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
13944 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
13945 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
13946 ($(objpfx)tst-fopenloc-mem.out): Likewise.
13947 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
13948 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
13949 * posix/Makefile ($(objpfx)globtest.out): Likewise.
13950 ($(objpfx)wordexp-tst.out): Likewise.
13951 ($(objpfx)annexc.out): Likewise.
13952 ($(objpfx)tst-fnmatch-mem): Likewise.
13953 ($(objpfx)bug-regex2-mem): Likewise.
13954 ($(objpfx)bug-regex14-mem): Likewise.
13955 ($(objpfx)bug-regex21-mem): Likewise.
13956 ($(objpfx)bug-regex31-mem): Likewise.
13957 ($(objpfx)tst-vfork3-mem): Likewise.
13958 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13959 ($(objpfx)tst-pcre-mem): Likewise.
13960 ($(objpfx)tst-boost-mem): Likewise.
13961 ($(objpfx)tst-getconf.out): Likewise.
13962 ($(objpfx)bug-ga2-mem): Likewise.
13963 ($(objpfx)bug-glob2-mem): Likewise.
13964 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
13965 ($(objpfx)mtrace-tst-leaks2): Likewise.
13966 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
13967 ($(objpfx)tst-printf.out): Likewise.
13968 ($(objpfx)tst-setvbuf1.out): Likewise.
13969 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
13970 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
13971 ($(objpfx)tst-fmtmsg.out): Likewise.
13972 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
13973 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
13974
acd7f096
JM
13975 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
13976 * bits/sigaction.h [__USE_MISC]: Likewise.
13977 * bits/waitstatus.h: Update #endif comments.
13978 * ctype/ctype.h: Likewise.
13979 * dirent/dirent.h: Likewise.
13980 [__USE_MISC]: Remove redundant conditionals.
13981 * grp/grp.h: Update #endif comments.
13982 [__USE_GNU]: Remove redundant conditionals.
13983 [__USE_MISC]: Likewise.
13984 * inet/netinet/in.h [__USE_GNU]: Likewise.
13985 * io/sys/stat.h [__USE_MISC]: Likewise.
13986 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
13987 * libio/bits/stdio.h: Update #endif comments.
13988 [__USE_MISC]: Remove redundant conditionals.
13989 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
13990 * libio/stdio.h: Update #endif comments.
13991 [__USE_MISC]: Remove redundant conditionals.
13992 * math/bits/math-finite.h [__USE_MISC]: Likewise.
13993 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
13994 * math/math.h: Update #else and #endif comments.
13995 [__USE_MISC]: Remove redundant conditionals.
13996 * misc/sys/uio.h: Update #endif comments.
13997 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
13998 * posix/glob.h [__USE_MISC]: Likewise.
13999 * posix/sys/types.h: Update #endif comments.
14000 [__USE_MISC]: Remove redundant conditionals.
14001 * posix/sys/wait.h: Update #endif comments.
14002 [__USE_MISC]: Remove redundant conditionals.
14003 * posix/unistd.h: Update #endif comments.
14004 [__USE_MISC]: Remove redundant conditionals.
14005 * pwd/pwd.h [__USE_GNU]: Likewise.
14006 [__USE_MISC]: Likewise.
14007 * resolv/netdb.h [__USE_GNU]: Likewise.
14008 * signal/signal.h: Update #endif comments.
14009 [__USE_MISC]: Remove redundant conditionals.
14010 * stdlib/stdlib.h: Update #else and #endif comments.
14011 [__USE_MISC]: Remove redundant conditionals.
14012 [__USE_GNU]: Likewise.
14013 * string/bits/string2.h [__USE_MISC]: Likewise.
14014 * string/string.h: Update #endif comments.
14015 [__USE_MISC]: Remove redundant conditionals.
14016 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
14017 Likewise.
14018 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
14019 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
14020 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
14021 Likewise.
14022 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
14023 Likewise.
14024 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
14025 comments.
14026 [__USE_MISC]: Remove redundant conditionals.
14027 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
14028 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
14029 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
14030 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
14031 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
14032 Likewise.
14033 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
14034 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
14035 Likewise.
14036 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
14037 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
14038 Likewise.
14039 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
14040 Likewise.
14041 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
14042 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
14043 Likewise.
14044 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
14045 Likewise.
14046 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
14047 * sysdeps/x86/bits/string.h: Update #endif comments.
14048 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
14049 conditionals.
14050 * time/sys/time.h: Update #endif comments.
14051 * time/time.h: Likewise.
14052 [__USE_MISC]: Remove redundant conditionals.
14053
a5d82e4e
YG
140542014-02-21 Yury Gribov <y.gribov@samsung.com>
14055
14056 [BZ #16600]
14057 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
14058
9a80491d
AS
140592014-02-21 Andreas Schwab <schwab@linux-m68k.org>
14060
14061 * Versions.def (librt): Add GLIBC_2.17.
14062
105fa381
AC
140632014-02-21 Adam Conrad <adconrad@0c3.net>
14064
14065 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
14066 synonym for _SYS_AUXV_H to allow direct inclusion.
14067 * sysdeps/sparc/bits/hwcap.h: Likewise.
14068 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
14069 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
14070 * sysdeps/sparc/sysdep.h: Likewise.
14071
b8cd1c4e
SP
140722014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14073
14074 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
14075
bd939d23
RS
140762014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14077
14078 * benchtests/bench-strrchr.c: Print length instead of position.
14079
5d7b57ca
JM
140802014-02-20 Joseph Myers <joseph@codesourcery.com>
14081
bc688c10
JM
14082 [BZ #16611]
14083 * sysdeps/unix/sysv/linux/kernel-features.h
14084 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
14085 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
14086 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
14087 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
14088 Likewise.
14089 [__i386__ || __powerpc__ || __sh__ || __sparc__]
14090 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14091 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
14092 (__ASSUME_SENDMMSG): Define instead of using previous
14093 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
14094 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14095 (__ASSUME_SENDMMSG_SYSCALL): Define.
14096 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14097 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
14098 Likewise.
14099 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14100 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14101 Likewise.
14102 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14103 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14104 Likewise.
14105 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
14106 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14107 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14108 [__ASSUME_SENDMMSG]: Change conditionals to
14109 [__ASSUME_SENDMMSG_SOCKETCALL].
14110 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14111 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
14112 Define.
14113 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14114 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
14115 Likewise.
14116 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
14117 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14118 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14119 [!__ASSUME_SENDMMSG]: Change conditional to
14120 [!__ASSUME_SENDMMSG_SOCKETCALL].
14121 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14122 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14123 Define.
14124
0e31b18c
JM
14125 [BZ #16610]
14126 * sysdeps/unix/sysv/linux/kernel-features.h
14127 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
14128 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
14129 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
14130 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
14131 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14132 [__i386__ || __sparc__]
14133 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14134 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
14135 (__ASSUME_RECVMMSG): Define instead of using previous
14136 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
14137 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14138 (__ASSUME_RECVMMSG_SYSCALL): Define.
14139 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14140 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14141 Likewise.
14142 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14143 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14144 Likewise.
14145 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14146 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14147 Likewise.
14148 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
14149 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14150 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14151 [__ASSUME_RECVMMSG]: Change condition to
14152 [__ASSUME_RECVMMSG_SOCKETCALL].
14153 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14154 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14155 Define.
14156 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14157 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14158 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14159 Likewise.
14160 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
14161 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14162 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14163 [!__ASSUME_RECVMMSG]: Change condition to
14164 [!__ASSUME_RECVMMSG_SOCKETCALL].
14165 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14166 (__ASSUME_RECVMMSG_SYSCALL): Define.
14167
dd481ccf
JM
14168 [BZ #16609]
14169 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
14170 __powerpc__ || __s390__ || __sh__ || __sparc__]
14171 (__ASSUME_SOCKETCALL): Define.
14172 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
14173 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
14174 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
14175 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
14176 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14177 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14178 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
14179 (__ASSUME_ACCEPT4): Define instead of using previous
14180 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
14181 __powerpc__ || __sparc__ || __s390__)] condition.
14182 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14183 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14184 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
14185 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14186 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14187 [!__ASSUME_ACCEPT4]: Change condition to
14188 [!__ASSUME_ACCEPT4_SOCKETCALL].
14189 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14190 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
14191 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
14192 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14193 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
14194 __ASSUME_ACCEPT4_SYSCALL.
14195 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
14196 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
14197 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14198 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
14199 __ASSUME_ACCEPT4_SYSCALL.
14200 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
14201 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14202 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14203 [__ASSUME_ACCEPT4]: Change condition to
14204 [__ASSUME_ACCEPT4_SOCKETCALL].
14205 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14206 (__ASSUME_SOCKETCALL): Define.
14207 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
14208 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14209 (__ASSUME_SOCKETCALL): Define.
14210 (__ASSUME_ACCEPT4): Remove.
14211 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
14212 Define.
14213 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14214 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
14215 Likewise.
14216 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14217 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14218
5d7b57ca
JM
14219 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
14220 macro.
14221 (HWCAP_ARM_LPAE): Likewise.
14222 (HWCAP_ARM_EVTSTRM): Likewise.
14223 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
14224 Add vpfd32, lpae and evtstrm.
14225 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
14226 Increase to 22.
14227
63689d61
JM
142282014-02-19 Joseph Myers <joseph@codesourcery.com>
14229
14230 * math/auto-libm-test-in: Add tests of clog10.
14231 * math/auto-libm-test-out: Regenerated.
14232 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
14233 * sysdeps/i386/fpu/libm-test-ulps: Update.
14234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14235
ab09bf61
AS
142362014-02-18 Andreas Schwab <schwab@suse.de>
14237
14238 [BZ #16574]
14239 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
14240 Store non-zero if the second buffer was newly allocated.
14241 (send_dg): Likewise.
14242 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
14243 to send_vc and send_dg.
14244 (res_nsend): Pass NULL for ansp2_malloced.
14245 * resolv/res_query.c (__libc_res_nquery): Add parameter
14246 answerp2_malloced and pass it down to __libc_res_nsend.
14247 (res_nquery): Pass additional NULL to __libc_res_nquery.
14248 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
14249 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
14250 second answer buffer if answerp2_malloced was set.
14251 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
14252 (__libc_res_nquerydomain): Add parameter
14253 answerp2_malloced and pass it down to __libc_res_nquery.
14254 (res_nquerydomain): Pass additional NULL to
14255 __libc_res_nquerydomain.
14256 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
14257 additional NULL to __libc_res_nsend and __libc_res_nquery.
14258 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
14259 additional NULL to __libc_res_nsearch.
14260 (_nss_dns_gethostbyname4_r): Revert last change. Use new
14261 parameter of __libc_res_nsearch to check for separately allocated
14262 second buffer.
14263 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
14264 __libc_res_nquery.
14265 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
14266 additional NULL to __libc_res_nquery.
14267 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
14268 __libc_res_nsearch.
14269 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
14270 * include/resolv.h: Update prototypes of __libc_res_nquery,
14271 __libc_res_nsearch, __libc_res_nsend.
14272
a4fb7861
JM
142732014-02-18 Joseph Myers <joseph@codesourcery.com>
14274
c6af2d89
JM
14275 * math/auto-libm-test-in: Add tests of fma.
14276 * math/auto-libm-test-out: Regenerated.
14277 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
14278 (fma_towardzero_test_data): Likewise.
14279 (fma_downward_test_data): Likewise.
14280 (fma_upward_test_data): Likewise.
14281 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
14282 mpc_mode.
14283 (rounding_modes): Add values for new field.
14284 (func_calc_method): Add value mpfr_fff_f.
14285 (func_calc_desc): Add mpfr_fff_f union field.
14286 (test_function): Add field exact_args.
14287 (FUNC): Add macro argument EXACT_ARGS.
14288 (FUNC_mpfr_f_f): Update call to FUNC.
14289 (FUNC_mpfr_f_f): Likewise.
14290 (FUNC_mpfr_ff_f): Likewise.
14291 (FUNC_mpfr_if_f): Likewise.
14292 (FUNC_mpc_c_f): Likewise.
14293 (FUNC_mpc_c_c): Likewise.
14294 (test_functions): Add fma. Update calls to FUNC.
14295 (handle_input_arg): Add argument exact_args.
14296 (add_test): Update call to handle_input_arg.
14297 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
14298 (output_for_one_input_case): Update call to calc_generic_results.
14299 Recalculate exact zero results in each rounding mode.
14300
a4fb7861
JM
14301 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
14302 non-negative before setting low bit.
14303 * math/auto-libm-test-in: Mark one asin test possibly having
14304 spurious underflow.
14305 * math/auto-libm-test-out: Regenerated.
14306 * sysdeps/i386/fpu/libm-test-ulps: Update.
14307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14308
ef114eaf
DH
143092014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
14310
2b7f4f2c
SP
14311 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
14312 * sysdeps/unix/sysv/linux/microblaze: Move directory from
14313 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
14314 * README: Add missing listing for microblaze*-*-linux-gnu.
14315
8125aedc
AM
143162014-02-16 Ondřej Bílka <neleai@seznam.cz>
14317
14318 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
14319 duplicate code
14320
c70a4b1d
MF
143212014-02-16 Mike Frysinger <vapier@gentoo.org>
14322
14323 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
14324 * sysdeps/unix/sysv/linux/ia64: Move directory from
14325 ports/sysdeps/unix/sysv/linux/ia64.
14326 * README: Update listing for ia64-*-linux-gnu.
14327
591aeaf7
TD
143282014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
14329 Joseph Myers <joseph@codesourcery.com>
14330
14331 * Makeconfig (test-name): New variable.
14332 (evaluate-test): Likewise.
14333 * Makerules (do-test-clean): Remove .test-result files.
14334 (common-mostlyclean): Likewise.
14335 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
14336 * scripts/evaluate-test.sh: New file.
14337
6e89caf1
JM
143382014-02-14 Joseph Myers <joseph@codesourcery.com>
14339
7f98f180
JM
14340 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
14341 separate $(objpfx)tst-fopenloc-cmp.out and
14342 $(objpfx)tst-fopenloc-mem.out targets.
14343 (tests): Update dependencies.
14344 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
14345 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
14346 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
14347 (tst-rxspencer-no-utf8-ARGS): New variable.
14348 (tst-rxspencer-no-utf8-ENV): Likewise.
14349 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
14350 instead of $(objpfx)tst-rxspencer-mem.
14351 ($(objpfx)tst-rxspencer-mem): Change target to
14352 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
14353 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
14354 * posix/tst-rxspencer-no-utf8.c: New file.
14355
6e89caf1
JM
14356 * elf/Makefile ($(objpfx)order.out): Remove rule.
14357 [$(run-built-tests) = yes] (tests): Depend on
14358 $(objpfx)order-cmp.out.
14359 ($(objpfx)order-cmp.out): New rule.
14360 [$(run-built-tests) = yes] (tests): Depend on
14361 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
14362 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
14363 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
14364 $(objpfx)tst-array5-static-cmp.out.
14365 ($(objpfx)tst-array1.out): Remove rule.
14366 ($(objpfx)tst-array1-cmp.out): New rule.
14367 ($(objpfx)tst-array1-static.out): Remove rule.
14368 ($(objpfx)tst-array1-static-cmp.out): New rule.
14369 ($(objpfx)tst-array2.out): Remove rule.
14370 ($(objpfx)tst-array2-cmp.out): New rule.
14371 ($(objpfx)tst-array3.out): Remove rule.
14372 ($(objpfx)tst-array3-cmp.out): New rule.
14373 ($(objpfx)tst-array4.out): Remove rule.
14374 ($(objpfx)tst-array4-cmp.out): New rule.
14375 ($(objpfx)tst-array5.out): Remove rule.
14376 ($(objpfx)tst-array5-cmp.out): New rule.
14377 ($(objpfx)tst-array5-static.out): Remove rule.
14378 ($(objpfx)tst-array5-static-cmp.out): New rule.
14379 [$(run-built-tests) = yes] (tests): Depend on
14380 $(objpfx)order2-cmp.out.
14381 ($(objpfx)order2.out): Remove rule.
14382 ($(objpfx)order2-cmp.out): New rule.
14383 ($(objpfx)tst-initorder.out): Remove rule.
14384 [$(run-built-tests) = yes] (tests): Depend on
14385 $(objpfx)tst-initorder-cmp.out.
14386 ($(objpfx)tst-initorder-cmp.out): New rule.
14387 ($(objpfx)tst-initorder2.out): Remove rule.
14388 [$(run-built-tests) = yes] (tests): Depend on
14389 $(objpfx)tst-initorder2-cmp.out.
14390 ($(objpfx)tst-initorder2-cmp.out): New rule.
14391 [$(run-built-tests) = yes] (tests): Depend on
14392 $(objpfx)tst-unused-dep-cmp.out.
14393 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
14394 ($(objpfx)tst-unused-dep-cmp.out): New rule.
14395 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
14396 on $(objpfx)tst-setvbuf1-cmp.out.
14397 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
14398 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
14399 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
14400 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
14401 ($(objpfx)tst-svc.out): Remove rule.
14402 ($(objpfx)tst-svc-cmp.out): New rule.
14403
ed9a38e2
JM
144042014-02-13 Joseph Myers <joseph@codesourcery.com>
14405
14406 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
14407 * ctype/ctype.h [__USE_MISC]: Likewise.
14408 * dirent/dirent.h [__USE_MISC]: Likewise.
14409 * grp/grp.h [__USE_MISC]: Likewise.
14410 * io/fcntl.h [__USE_MISC]: Likewise.
14411 * io/sys/stat.h [__USE_MISC]: Likewise.
14412 * libio/stdio.h [__USE_MISC]: Likewise.
14413 * posix/unistd.h [__USE_MISC]: Likewise.
14414 * pwd/pwd.h [__USE_MISC]: Likewise.
14415 * stdlib.h [__USE_MISC]: Likewise.
14416 * string/bits/string2.h [__USE_MISC]: Likewise.
14417 * string/string.h [__USE_MISC]: Likewise.
14418 * time/time.h [__USE_MISC]: Likewise.
14419
d6680619
AS
144202014-02-13 Andreas Schwab <schwab@suse.de>
14421
14422 [BZ #16574]
14423 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
14424 second answer buffer if it was separately allocated.
14425
ace614b8
JM
144262014-02-12 Joseph Myers <joseph@codesourcery.com>
14427
743151ae
JM
14428 * sysdeps/mips/math-tests.h: Include <features.h>.
14429 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14430 (ROUNDING_TESTS_long_double): Do not define.
14431 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14432 (EXCEPTION_TESTS_long_double): Likewise.
14433 * sysdeps/mips/mips64/libm-test-ulps: Update.
14434
498afc54
JM
14435 * include/features.h (__USE_BSD): Remove macro definitions.
14436 (__USE_SVID): Likewise.
14437 (_BSD_SOURCE): Likewise.
14438 (_SVID_SOURCE): Likewise.
14439 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
14440 from definition of _DEFAULT_SOURCE.
14441 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
14442 [_DEFAULT_SOURCE].
14443 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
14444 * bits/mman.h [__USE_BSD]: Likewise.
14445 * bits/termios.h [__USE_BSD]: Likewise.
14446 * bits/waitstatus.h [__USE_BSD]: Likewise.
14447 * ctype/ctype.h [__USE_SVID]: Likewise.
14448 * dirent/dirent.h [__USE_BSD]: Likewise.
14449 * grp/grp.h [__USE_SVID]: Likewise.
14450 [__USE_BSD]: Likewise.
14451 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
14452 * io/fcntl.h [__USE_BSD]: Likewise.
14453 * io/ftw.h [__USE_BSD]: Likewise.
14454 * io/sys/stat.h [__USE_BSD]: Likewise.
14455 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
14456 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
14457 * libio/stdio.h [__USE_SVID]: Likewise.
14458 [__USE_BSD]: Likewise.
14459 * math/math.h [__USE_SVID]: Likewise.
14460 [__USE_BSD]: Likewise.
14461 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
14462 * misc/bits/syslog.h [__USE_BSD]: Likewise.
14463 * misc/search.h [__USE_SVID]: Likewise.
14464 * misc/sys/mman.h [__USE_BSD]: Likewise.
14465 * misc/sys/syslog.h [__USE_BSD]: Likewise.
14466 * misc/sys/uio.h [__USE_BSD]: Likewise.
14467 * posix/bits/unistd.h [__USE_BSD]: Likewise.
14468 * posix/glob.h [__USE_BSD]: Likewise.
14469 * posix/regex.h [__USE_BSD]: Likewise.
14470 * posix/sys/types.h [__USE_BSD]: Likewise.
14471 [__USE_SVID]: Likewise.
14472 * posix/sys/utsname.h [__USE_SVID]: Likewise.
14473 * posix/sys/wait.h [__USE_BSD]: Likewise.
14474 [__USE_SVID]: Likewise.
14475 * posix/unistd.h [__USE_BSD]: Likewise.
14476 [__USE_SVID]: Likewise.
14477 * pwd/pwd.h [__USE_SVID]: Likewise.
14478 * resolv/netdb.h [__USE_BSD]: Likewise.
14479 * setjmp/setjmp.h [__USE_BSD]: Likewise.
14480 * signal/signal.h [__USE_BSD]: Likewise.
14481 [__USE_SVID]: Likewise.
14482 * socket/sys/socket.h [__USE_BSD]: Likewise.
14483 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
14484 * stdlib/stdlib.h [__USE_BSD]: Likewise.
14485 [__USE_SVID]: Likewise.
14486 * string/bits/string2.h [__USE_BSD]: Likewise.
14487 [__USE_SVID]: Likewise.
14488 * string/bits/string3.h [__USE_BSD]: Likewise.
14489 * string/endian.h [__USE_BSD]: Likewise.
14490 * string/string.h [__USE_SVID]: Likewise.
14491 [__USE_BSD]: Likewise.
14492 * string/strings.h [__USE_BSD]: Likewise.
14493 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
14494 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
14495 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
14496 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
14497 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
14498 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
14499 Likewise.
14500 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
14501 Likewise.
14502 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
14503 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
14504 Likewise.
14505 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
14506 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
14507 Likewise.
14508 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
14509 Likewise.
14510 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
14511 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
14512 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
14513 Likewise.
14514 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
14515 Likewise.
14516 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
14517 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
14518 * termios/termios.h [__USE_BSD]: Likewise.
14519 * time/sys/time.h [__USE_BSD]: Likewise.
14520 * time/time.h [__USE_BSD]: Likewise.
14521 [__USE_SVID]: Likewise.
14522
dd7b064c
JM
14523 * Makefile (subdir_targets): Remove subdir_lint.out.
14524
a2c4c199
JM
14525 * stdio-common/Makefile (do-tst-unbputc): Remove target.
14526 (do-tst-printf): Likewise.
14527 (tests): Depend directly on $(objpfx)tst-unbputc.out and
14528 $(objpfx)tst-printf.out.
14529
8756f740
JM
14530 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
14531
1b6dd3f1
JM
14532 * Makerules (check-abi-%): Change target to
14533 $(objpfx)check-abi-%.out.
14534 (check-abi target): Update dependencies.
14535 (check-abi-pattern variable): Redirect output of diff to $@.
14536 (check-abi variable): Likewise.
14537 * elf/Makefile (check-abi): Update dependencies.
14538
ace614b8
JM
14539 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
14540 unused.
14541 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
14542 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
14543 subnormal range.
14544 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
14545 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
14546 value has largest subnormal exponent.
14547 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
14548 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
14549 * sysdeps/aarch64/soft-fp/sfp-machine.h
14550 (_FP_TININESS_AFTER_ROUNDING): New macro.
14551 * sysdeps/alpha/soft-fp/sfp-machine.h
14552 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14553 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14554 Likewise.
14555 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
14556 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14557 * sysdeps/mips/soft-fp/sfp-machine.h
14558 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14559 * sysdeps/powerpc/soft-fp/sfp-machine.h
14560 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14561 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14562 Likewise.
14563 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14564 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14565 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14566 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14567 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14568 Likewise.
14569
fbfdf9cb
DAS
145702014-02-12 Dylan Alex Simon <dylan@dylex.net>
14571
14572 [BZ #16545]
14573 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
14574 model 1.
14575
68b7efaa
RH
145762014-02-12 Richard Henderson <rth@redhat.com>
14577
c70a4b1d 14578 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
14579 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
14580 * sysdeps/unix/sysv/linux/alpha: Move directory from
14581 ports/sysdeps/unix/sysv/linux/alpha.
14582 * README: Update listing for alpha-*-linux-gnu.
14583
cb4a2928
JM
145842014-02-11 Joseph Myers <joseph@codesourcery.com>
14585
c941736c
JM
14586 * include/features.h: Update comment documenting feature test
14587 macros.
14588 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
14589 _DEFAULT_SOURCE.
14590 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
14591 (_SVID_SOURCE): Likewise.
14592 (_DEFAULT_SOURCE): Update description of default features.
14593 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
14594 with _GNU_SOURCE.
14595 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
14596 (S_ISVTX): Likewise.
14597 * manual/math.texi (Mathematical Constants): Likewise.
14598 * manual/signal.texi (Interrupted Primitives): Likewise.
14599 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
14600 * math/test-matherr.c (_SVID_SOURCE): Do not define.
14601 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
14602 Don't refer to _SVID_SOURCE in warning text.
14603
e8d8d7ec
JM
14604 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14605
cb4a2928
JM
14606 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
14607 already defined.
14608 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
14609 * sysdeps/mips/dl-lookup.c: Remove.
14610 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
14611
7e6424e3
AK
146122014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14613
14614 [BZ #16447]
14615 * math/auto-libm-test-in: Add testcase for expl.
14616 * math/auto-libm-test-out: Regenerate.
14617 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
14618 calculation of unsafe.
14619 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
14620
75eff3fe
MS
146212014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
14622
14623 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
14624 * sysdeps/unix/sysv/linux/aarch64: Move directory from
14625 ports/sysdeps/unix/sysv/linux/aarch64.
14626 * README: Update listing for aarch64*-*-linux-gnu.
14627
d35f1e80
WN
146282014-02-11 Will Newton <will.newton@linaro.org>
14629
14630 * manual/probes.texi (Mathematical Function Probes): Use
14631 "triggered" instead of "hit".
14632
7b3436d4
WN
14633 * manual/probes.texi (Internal Probes): Add documentation
14634 of setjmp, longjmp and longjmp_target probes.
14635
b4f12ca3
WN
14636 * include/stap-probe.h: Add comment about probe argument
14637 format.
14638
c13a72b7
WN
14639 * malloc/mtrace.c (attribute_hidden): Remove unused macro
14640 definition. (tr_where, tr_freehook, tr_mallochook,
14641 tr_reallochook, tr_memalignhook): Use ANSI protoype.
14642
195b8165
DM
146432014-02-11 David S. Miller <davem@davemloft.net>
14644
14645 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
14646 processing int_tests.
14647
2ad7600b
JM
146482014-02-10 Joseph Myers <joseph@codesourcery.com>
14649
14650 * sysdeps/mips: Move directory from ports/sysdeps/mips.
14651 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
14652 * sysdeps/unix/sysv/linux/mips: Move directory from
14653 ports/sysdeps/unix/sysv/linux/mips.
14654 * README: Update listing for mips-*-linux-gnu and
14655 mips64-*-linux-gnu.
14656
73588a72
AS
146572014-02-10 Andreas Schwab <schwab@linux-m68k.org>
14658
14659 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
14660 * sysdeps/unix/sysv/linux/m68k: Move directory from
14661 ports/sysdeps/unix/sysv/linux/m68k.
14662 * README: Update listing for m68k-*-linux-gnu.
14663
4372980f
CM
146642014-02-10 Chris Metcalf <cmetcalf@tilera.com>
14665
14666 * sysdeps/tile: Move directory from ports/sysdeps/tile.
14667 * sysdeps/unix/sysv/linux/generic: Move directory from
14668 ports/sysdeps/unix/sysv/linux/generic.
14669 * sysdeps/unix/sysv/linux/tile: Move directory from
14670 ports/sysdeps/unix/sysv/linux/tile.
14671 * README: Update listing for tile*-*-linux-gnu.
14672
a1ffb40e
OB
146732014-02-10 Ondřej Bílka <neleai@seznam.cz>
14674
57f41c40
AS
14675 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
14676 __builtin_expect.
a1ffb40e
OB
14677 * benchtests/bench-memmem.c (simple_memmem): Likewise.
14678 * catgets/open_catalog.c (__open_catalog): Likewise.
14679 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
14680 * debug/confstr_chk.c: Likewise.
14681 * debug/fread_chk.c (__fread_chk): Likewise.
14682 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
14683 * debug/getgroups_chk.c: Likewise.
14684 * debug/mbsnrtowcs_chk.c: Likewise.
14685 * debug/mbsrtowcs_chk.c: Likewise.
14686 * debug/mbstowcs_chk.c: Likewise.
14687 * debug/memcpy_chk.c: Likewise.
14688 * debug/memmove_chk.c: Likewise.
14689 * debug/mempcpy_chk.c: Likewise.
14690 * debug/memset_chk.c: Likewise.
14691 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14692 * debug/strcat_chk.c (__strcat_chk): Likewise.
14693 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
14694 * debug/strncat_chk.c (__strncat_chk): Likewise.
14695 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
14696 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
14697 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
14698 * debug/wcpncpy_chk.c: Likewise.
14699 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14700 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
14701 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
14702 * debug/wcsncpy_chk.c: Likewise.
14703 * debug/wcsnrtombs_chk.c: Likewise.
14704 * debug/wcsrtombs_chk.c: Likewise.
14705 * debug/wcstombs_chk.c: Likewise.
14706 * debug/wmemcpy_chk.c: Likewise.
14707 * debug/wmemmove_chk.c: Likewise.
14708 * debug/wmempcpy_chk.c: Likewise.
14709 * debug/wmemset_chk.c: Likewise.
14710 * dirent/scandirat.c (SCANDIRAT): Likewise.
14711 * dlfcn/dladdr1.c (dladdr1): Likewise.
14712 * dlfcn/dladdr.c (dladdr): Likewise.
14713 * dlfcn/dlclose.c (dlclose_doit): Likewise.
14714 * dlfcn/dlerror.c (__dlerror): Likewise.
14715 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
14716 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
14717 * dlfcn/dlopen.c (dlopen_doit): Likewise.
14718 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
14719 * dlfcn/dlsym.c (dlsym_doit): Likewise.
14720 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
14721 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
14722 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
14723 Likewise.
14724 * elf/dl-conflict.c: Likewise.
14725 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
14726 * elf/dl-dst.h: Likewise.
14727 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
14728 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
14729 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
14730 * elf/dl-init.c (call_init, _dl_init): Likewise.
14731 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
14732 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
14733 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
14734 Likewise.
a1ffb40e
OB
14735 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
14736 Likewise.
14737 * elf/dl-minimal.c (__libc_memalign): Likewise.
14738 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
14739 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14740 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
14741 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
14742 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
14743 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
14744 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
14745 * elf/dl-writev.h (_dl_writev): Likewise.
14746 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
14747 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
14748 (dl_main): Likewise.
a1ffb40e
OB
14749 * elf/setup-vdso.h (setup_vdso): Likewise.
14750 * grp/compat-initgroups.c (compat_call): Likewise.
14751 * grp/fgetgrent.c (fgetgrent): Likewise.
14752 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
14753 * grp/putgrent.c (putgrent): Likewise.
14754 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14755 Likewise.
14756 * hurd/hurdinit.c: Likewise.
14757 * iconvdata/8bit-gap.c (struct): Likewise.
14758 * iconvdata/ansi_x3.110.c : Likewise.
14759 * iconvdata/big5.c : Likewise.
14760 * iconvdata/big5hkscs.c : Likewise.
14761 * iconvdata/cp1255.c: Likewise.
14762 * iconvdata/cp1258.c : Likewise.
14763 * iconvdata/cp932.c : Likewise.
14764 * iconvdata/euc-cn.c: Likewise.
14765 * iconvdata/euc-jisx0213.c : Likewise.
14766 * iconvdata/euc-jp.c: Likewise.
14767 * iconvdata/euc-jp-ms.c : Likewise.
14768 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
14769 * iconvdata/gb18030.c : Likewise.
14770 * iconvdata/gbbig5.c (const): Likewise.
14771 * iconvdata/gbgbk.c: Likewise.
14772 * iconvdata/gbk.c : Likewise.
14773 * iconvdata/ibm1364.c : Likewise.
14774 * iconvdata/ibm930.c : Likewise.
14775 * iconvdata/ibm932.c: Likewise.
14776 * iconvdata/ibm933.c : Likewise.
14777 * iconvdata/ibm935.c : Likewise.
14778 * iconvdata/ibm937.c : Likewise.
14779 * iconvdata/ibm939.c : Likewise.
14780 * iconvdata/ibm943.c: Likewise.
14781 * iconvdata/iso_11548-1.c: Likewise.
14782 * iconvdata/iso-2022-cn.c : Likewise.
14783 * iconvdata/iso-2022-cn-ext.c : Likewise.
14784 * iconvdata/iso-2022-jp-3.c: Likewise.
14785 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
14786 * iconvdata/iso-2022-kr.c : Likewise.
14787 * iconvdata/iso646.c (gconv_end): Likewise.
14788 * iconvdata/iso_6937-2.c : Likewise.
14789 * iconvdata/iso_6937.c : Likewise.
14790 * iconvdata/iso8859-1.c: Likewise.
14791 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
14792 * iconvdata/shift_jisx0213.c : Likewise.
14793 * iconvdata/sjis.c : Likewise.
14794 * iconvdata/t.61.c : Likewise.
14795 * iconvdata/tcvn5712-1.c : Likewise.
14796 * iconvdata/tscii.c: Likewise.
14797 * iconvdata/uhc.c : Likewise.
14798 * iconvdata/unicode.c (gconv_end): Likewise.
14799 * iconvdata/utf-16.c (gconv_end): Likewise.
14800 * iconvdata/utf-32.c (gconv_end): Likewise.
14801 * iconvdata/utf-7.c (base64): Likewise.
14802 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
14803 * iconv/gconv_close.c (__gconv_close): Likewise.
14804 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
14805 * iconv/gconv_simple.c (internal_ucs4_loop_single)
14806 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
14807 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
14808 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
14809 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
14810 * iconv/iconv.c (iconv): Likewise.
14811 * iconv/iconv_close.c: Likewise.
14812 * iconv/loop.c (SINGLE): Likewise.
14813 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
14814 * include/atomic.h: Likewise.
14815 * inet/inet6_option.c (option_alloc): Likewise.
14816 * intl/bindtextdom.c (set_binding_values): Likewise.
14817 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
14818 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
14819 * intl/localealias.c (read_alias_file): Likewise.
14820 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
14821 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
14822 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
14823 * libio/fmemopen.c (fmemopen): Likewise.
14824 * libio/iofgets.c (_IO_fgets): Likewise.
14825 * libio/iofgets_u.c (fgets_unlocked): Likewise.
14826 * libio/iofgetws.c (fgetws): Likewise.
14827 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
14828 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
14829 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
14830 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
14831 * locale/findlocale.c (_nl_find_locale): Likewise.
14832 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
14833 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
14834 Likewise.
14835 * locale/setlocale.c (setlocale): Likewise.
14836 * login/programs/pt_chown.c (main): Likewise.
14837 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
14838 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
14839 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
14840 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
14841 * math/e_exp2l.c: Likewise.
14842 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
14843 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
14844 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
14845 * math/s_catan.c (__catan): Likewise.
14846 * math/s_catanf.c (__catanf): Likewise.
14847 * math/s_catanh.c (__catanh): Likewise.
14848 * math/s_catanhf.c (__catanhf): Likewise.
14849 * math/s_catanhl.c (__catanhl): Likewise.
14850 * math/s_catanl.c (__catanl): Likewise.
14851 * math/s_ccosh.c (__ccosh): Likewise.
14852 * math/s_ccoshf.c (__ccoshf): Likewise.
14853 * math/s_ccoshl.c (__ccoshl): Likewise.
14854 * math/s_cexp.c (__cexp): Likewise.
14855 * math/s_cexpf.c (__cexpf): Likewise.
14856 * math/s_cexpl.c (__cexpl): Likewise.
14857 * math/s_clog10.c (__clog10): Likewise.
14858 * math/s_clog10f.c (__clog10f): Likewise.
14859 * math/s_clog10l.c (__clog10l): Likewise.
14860 * math/s_clog.c (__clog): Likewise.
14861 * math/s_clogf.c (__clogf): Likewise.
14862 * math/s_clogl.c (__clogl): Likewise.
14863 * math/s_csin.c (__csin): Likewise.
14864 * math/s_csinf.c (__csinf): Likewise.
14865 * math/s_csinh.c (__csinh): Likewise.
14866 * math/s_csinhf.c (__csinhf): Likewise.
14867 * math/s_csinhl.c (__csinhl): Likewise.
14868 * math/s_csinl.c (__csinl): Likewise.
14869 * math/s_csqrt.c (__csqrt): Likewise.
14870 * math/s_csqrtf.c (__csqrtf): Likewise.
14871 * math/s_csqrtl.c (__csqrtl): Likewise.
14872 * math/s_ctan.c (__ctan): Likewise.
14873 * math/s_ctanf.c (__ctanf): Likewise.
14874 * math/s_ctanh.c (__ctanh): Likewise.
14875 * math/s_ctanhf.c (__ctanhf): Likewise.
14876 * math/s_ctanhl.c (__ctanhl): Likewise.
14877 * math/s_ctanl.c (__ctanl): Likewise.
14878 * math/w_pow.c: Likewise.
14879 * math/w_powf.c: Likewise.
14880 * math/w_powl.c: Likewise.
14881 * math/w_scalb.c (sysv_scalb): Likewise.
14882 * math/w_scalbf.c (sysv_scalbf): Likewise.
14883 * math/w_scalbl.c (sysv_scalbl): Likewise.
14884 * misc/error.c (error_tail): Likewise.
14885 * misc/pselect.c (__pselect): Likewise.
14886 * nis/nis_callback.c (__nis_create_callback): Likewise.
14887 * nis/nis_call.c (__nisfind_server): Likewise.
14888 * nis/nis_creategroup.c (nis_creategroup): Likewise.
14889 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
14890 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
14891 * nis/nis_getservlist.c (nis_getservlist): Likewise.
14892 * nis/nis_lookup.c (nis_lookup): Likewise.
14893 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
14894 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
14895 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 14896 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
14897 * nis/nss_compat/compat-grp.c (getgrent_next_file)
14898 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
14899 * nis/nss_compat/compat-initgroups.c (add_group)
14900 (internal_getgrent_r): Likewise.
14901 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
14902 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
14903 * nis/nss_compat/compat-spwd.c (getspent_next_file)
14904 (internal_getspnam_r): Likewise.
14905 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
14906 (_nss_nis_getaliasbyname_r): Likewise.
14907 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
14908 (_nss_nis_getntohost_r): Likewise.
14909 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
14910 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
14911 (_nss_nis_getgrgid_r): Likewise.
14912 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
14913 (internal_nis_gethostent_r, internal_gethostbyname2_r)
14914 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
14915 (_nss_nis_gethostbyname4_r): Likewise.
14916 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
14917 (initgroups_netid): Likewise.
a1ffb40e 14918 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
14919 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
14920 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
14921 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
14922 (_nss_nis_getprotobynumber_r): Likewise.
14923 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
14924 (_nss_nis_getsecretkey): Likewise.
14925 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
14926 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
14927 (_nss_nis_getpwuid_r): Likewise.
14928 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
14929 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
14930 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
14931 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
14932 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
14933 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
14934 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
14935 Likewise.
57f41c40
AS
14936 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
14937 (_nss_nisplus_getntohost_r): Likewise.
14938 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
14939 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
14940 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
14941 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 14942 Likewise.
57f41c40
AS
14943 * nis/nss_nisplus/nisplus-initgroups.c
14944 (_nss_nisplus_initgroups_dyn): Likewise.
14945 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
14946 (_nss_nisplus_getnetbyaddr_r): Likewise.
14947 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
14948 (_nss_nisplus_getprotobynumber_r): Likewise.
14949 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
14950 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
14951 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
14952 Likewise.
57f41c40
AS
14953 * nis/nss_nisplus/nisplus-service.c
14954 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
14955 (_nss_nisplus_getservbyport_r): Likewise.
14956 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
14957 (_nss_nisplus_getspnam_r): Likewise.
14958 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
14959 Likewise.
a1ffb40e
OB
14960 * nscd/aicache.c (addhstaiX): Likewise.
14961 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
14962 * nscd/connections.c (register_traced_file, send_ro_fd)
14963 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
14964 (main_loop_epoll): Likewise.
a1ffb40e
OB
14965 * nscd/grpcache.c (addgrbyX): Likewise.
14966 * nscd/hstcache.c (addhstbyX): Likewise.
14967 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14968 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
14969 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
14970 (addinnetgrX): Likewise.
14971 * nscd/nscd-client.h (__nscd_acquire_maplock)
14972 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
14973 * nscd/nscd_getai.c (__nscd_getai): Likewise.
14974 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14975 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
14976 Likewise.
14977 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
14978 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
14979 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
14980 (__nscd_get_map_ref): Likewise.
a1ffb40e 14981 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
14982 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
14983 Likewise.
a1ffb40e
OB
14984 * nscd/pwdcache.c (addpwbyX): Likewise.
14985 * nscd/selinux.c (preserve_capabilities): Likewise.
14986 * nscd/servicescache.c (addservbyX): Likewise.
14987 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
14988 * posix/fnmatch.c (fnmatch): Likewise.
14989 * posix/getopt.c (_getopt_internal_r): Likewise.
14990 * posix/glob.c (glob, glob_in_dir): Likewise.
14991 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
14992 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
14993 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
14994 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
14995 * resolv/res_init.c: Likewise.
14996 * resolv/res_mkquery.c (res_nmkquery): Likewise.
14997 * resolv/res_query.c (__libc_res_nquery): Likewise.
14998 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
14999 Likewise.
15000 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
15001 * stdio-common/perror.c (perror): Likewise.
15002 * stdio-common/printf_fp.c (___printf_fp): Likewise.
15003 * stdio-common/tmpnam.c (tmpnam): Likewise.
15004 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15005 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
15006 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15007 Likewise.
a1ffb40e
OB
15008 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
15009 * stdlib/putenv.c (putenv): Likewise.
15010 * stdlib/setenv.c (__add_to_environ): Likewise.
15011 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15012 * stdlib/strtol_l.c (INTERNAL): Likewise.
15013 * string/memmem.c (memmem): Likewise.
15014 * string/strerror.c (strerror): Likewise.
15015 * string/strnlen.c (__strnlen): Likewise.
15016 * string/test-memmem.c (simple_memmem): Likewise.
15017 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
15018 * sunrpc/pm_getport.c (__get_socket): Likewise.
15019 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
15020 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
15021 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
15022 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
15023 Likewise.
15024 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15025 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15026 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
15027 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
15028 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
15029 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
15030 Likewise.
15031 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
15032 Likewise.
a1ffb40e
OB
15033 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
15034 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
15035 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15036 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15037 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15038 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
15039 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15040 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
15041 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
15042 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
15043 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15044 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15045 Likewise.
15046 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
15047 Likewise.
15048 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
15049 Likewise.
15050 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
15051 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15052 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
15053 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
15054 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15055 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
15056 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15057 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
15058 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
15059 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
15060 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
15061 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15062 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15063 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
15064 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
15065 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15066 Likewise.
a1ffb40e
OB
15067 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
15068 Likewise.
15069 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
15070 Likewise.
15071 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
15072 Likewise.
15073 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15074 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15075 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
15076 Likewise.
15077 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
15078 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
15079 * sysdeps/posix/opendir.c (__opendirat): Likewise.
15080 * sysdeps/posix/sleep.c: Likewise.
15081 * sysdeps/posix/tempname.c: Likewise.
15082 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
15083 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15084 Likewise.
57f41c40
AS
15085 * sysdeps/powerpc/powerpc32/dl-machine.h
15086 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
15087 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15088 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15089 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
15090 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
15091 Likewise.
15092 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
15093 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
15094 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15095 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
15096 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
15097 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
15098 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
15099 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
15100 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15101 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
15102 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
15103 (elf_machine_lazy_rel): Likewise.
a1ffb40e 15104 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
15105 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
15106 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
15107 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
15108 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
15109 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
15110 * sysdeps/unix/grantpt.c (grantpt): Likewise.
15111 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
15112 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
15113 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
15114 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15115 Likewise.
15116 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15117 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15118 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
15119 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
15120 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15121 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15122 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
15123 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
15124 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
15125 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15126 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15127 Likewise.
15128 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
15129 (__posix_fallocate64_l64): Likewise.
15130 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
15131 (posix_fallocate): Likewise.
57f41c40
AS
15132 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
15133 Likewise.
a1ffb40e 15134 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
15135 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
15136 (getifaddrs_internal): Likewise.
a1ffb40e
OB
15137 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
15138 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
15139 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
15140 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
15141 * sysdeps/unix/sysv/linux/posix_fallocate64.c
15142 (__posix_fallocate64_l64): Likewise.
15143 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
15144 Likewise.
15145 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
15146 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
15147 (__get_clockfreq): Likewise.
a1ffb40e
OB
15148 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
15149 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15150 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
15151 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15152 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15153 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
15154 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
15155 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
15156 Likewise.
15157 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
15158 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
15159 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
15160 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
15161 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15162 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
15163 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
15164 Likewise.
15165 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15166 (posix_fallocate): Likewise.
15167 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15168 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
15169 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
15170 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
15171 (elf_machine_rela, elf_machine_rela_relative)
15172 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
15173 * time/asctime.c (asctime_internal): Likewise.
15174 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
15175 * time/tzset.c (__tzset_parse_tz): Likewise.
15176 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15177 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15178 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
15179 * wcsmbs/wcsmbsload.h: Likewise.
15180
f3d338c9
OB
15181 [BZ #15894]
15182 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
15183
57f41c40
AS
15184 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
15185 (arena_get2): Remove THREAD_STATS conditionals.
15186 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
15187 (__malloc_stats, int): Likewise.
bdfe308a 15188
d674667c
MF
151892014-02-08 Mike Frysinger <vapier@gentoo.org>
15190
15191 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
15192 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
15193
6349768c
MF
15194 * manual/setjmp.texi: Fix typos/grammar errors.
15195
0b7c7473
MF
15196 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
15197 Only return early when n is <= 0. Delete unused return statement.
15198
ac8cc9e3
MF
15199 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
15200 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
15201 * debug/tst-longjmp_chk3.c: New file.
15202
c5bb8e23
MF
15203 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
15204 (test_main): Replace code with set_fortify_handler call.
15205 * debug/test-strcpy_chk.c: Likewise.
15206 * debug/tst-chk1.c: Likewise.
15207 * debug/tst-longjmp_chk.c: Likewise.
15208 * test-skeleton.c: Include fcntl.h & paths.h
15209 (set_fortify_handler): Define.
15210
10444e42
MF
15211 * debug/tst-longjmp_chk.c: Add header comment and include
15212 ../test-skeleton.c.
15213 (do_test): Mark static.
15214 (TEST_FUNCTION): Define.
15215
1e805e8d
MF
15216 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
15217 (IP_PMTUDISC_INTERFACE): Likewise.
15218 (IP_MULTICAST_IF): Likewise.
15219 (IP_MULTICAST_TTL): Likewise.
15220 (IP_MULTICAST_LOOP): Likewise.
15221 (IP_ADD_MEMBERSHIP): Likewise.
15222 (IP_DROP_MEMBERSHIP): Likewise.
15223 (IP_UNBLOCK_SOURCE): Likewise.
15224 (IP_BLOCK_SOURCE): Likewise.
15225 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
15226 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
15227 (IP_MSFILTER): Likewise.
15228 (MCAST_JOIN_GROUP): Likewise.
15229 (MCAST_BLOCK_SOURCE): Likewise.
15230 (MCAST_UNBLOCK_SOURCE): Likewise.
15231 (MCAST_LEAVE_GROUP): Likewise.
15232 (MCAST_JOIN_SOURCE_GROUP): Likewise.
15233 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
15234 (MCAST_MSFILTER): Likewise.
15235 (IP_MULTICAST_ALL): Likewise.
15236 (IP_UNICAST_IF): Likewise.
15237
73f79bb7
MF
15238 * timezone/Makefile: Delete $(have-ksh) check.
15239 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
15240 * timezone/tzselect.ksh: Add +x mode bits.
15241
8da79b60
MF
15242 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
15243 (ANON_INODE_FS_MAGIC): Likewise.
15244 (BDEVFS_MAGIC): Likewise.
15245 (BINFMTFS_MAGIC): Likewise.
15246 (BTRFS_TEST_MAGIC): Likewise.
15247 (CRAMFS_MAGIC_WEND): Likewise.
15248 (DEBUGFS_MAGIC): Likewise.
15249 (ECRYPTFS_SUPER_MAGIC): Likewise.
15250 (EXT3_SUPER_MAGIC): Likewise.
15251 (EXT4_SUPER_MAGIC): Likewise.
15252 (FUTEXFS_SUPER_MAGIC): Likewise.
15253 (HOSTFS_SUPER_MAGIC): Likewise.
15254 (HUGETLBFS_MAGIC): Likewise.
15255 (MINIX3_SUPER_MAGIC): Likewise.
15256 (MTD_INODE_FS_MAGIC): Likewise.
15257 (NILFS_SUPER_MAGIC): Likewise.
15258 (OPENPROM_SUPER_MAGIC): Likewise.
15259 (PIPEFS_MAGIC): Likewise.
15260 (PSTOREFS_MAGIC): Likewise.
15261 (QNX6_SUPER_MAGIC): Likewise.
15262 (RAMFS_MAGIC): Likewise.
15263 (REISERFS_SUPER_MAGIC_STRING): Likewise.
15264 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
15265 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
15266 (SECURITYFS_MAGIC): Likewise.
15267 (SELINUX_MAGIC): Likewise.
15268 (SMACK_MAGIC): Likewise.
15269 (SOCKFS_MAGIC): Likewise.
15270 (SQUASHFS_MAGIC): Likewise.
15271 (STACK_END_MAGIC): Likewise.
15272 (TMPFS_MAGIC): Likewise.
15273 (USBDEVICE_SUPER_MAGIC): Likewise.
15274 (V9FS_MAGIC): Likewise.
15275 (XENFS_SUPER_MAGIC): Likewise.
15276 (CRAMFS_MAGIC): Fix typo in comment.
15277 (EXT2_SUPER_MAGIC): Update comment.
15278 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
15279
464263cc
JM
152802014-02-08 Joseph Myers <joseph@codesourcery.com>
15281
c6bfe5c4
JM
15282 * sysdeps/arm: Move directory from ports/sysdeps/arm.
15283 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
15284 * sysdeps/unix/sysv/linux/arm: Move directory from
15285 ports/sysdeps/unix/sysv/linux/arm.
15286 * README: Update listing for arm-*-linux-gnueabi.
15287
464263cc
JM
15288 * README: Remove mention of am33.
15289
32749f6c
RM
152902014-02-07 Roland McGrath <roland@hack.frob.com>
15291
15292 * bits/sigset.h (__sigemptyset): Use a statement expression rather
15293 than the comma operator, to avoid "rhs of comma has no effect"
15294 compiler warnings.
15295 (__sigfillset, __sigandset, __sigorset): Likewise.
15296 * include/signal.h (__sigemptyset): Likewise.
15297 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
15298
d5b396c1
AM
152992014-02-07 Allan McRae <allan@archlinux.org>
15300
15301 * version.h (RELEASE): Set to "development".
15302 (VERSION): Set to "2.19.90"
15303 * NEWS: Add 2.20 section.
15304
3bfff2ed
CD
153052014-02-06 Carlos O'Donell <carlos@redhat.com>
15306
15307 [BZ #16529]
15308 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
15309
ee7cc385
SP
153102014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15311
15312 * manual/contrib.texi: Update entry for Carlos O'Donell,
15313 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
15314
f877c4f2
CD
153152014-02-05 Carlos O'Donell <carlos@rehdat.com>
15316
27e839f6
CD
15317 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
15318
f877c4f2
CD
15319 * sysdeps/unix/sysv/linux/kernel-features.h
15320 [__LINUX_KERNEL_VERSION >= 0x020621]
15321 (__ASSUME_PROC_PID_TASK_COMM): Define.
15322
68159946
SP
153232014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15324
ba17cdbd
SP
15325 [BZ #16398]
15326 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
15327 conversion when destination buffer does not have enough space.
15328 * libio/tst-ftell-partial-wide.c: New test case.
15329 * libio/Makefile (tests): Add tst-ftell-partial-wide.
15330
68159946
SP
15331 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
15332 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
15333 Leonard and Allan McRae.
15334
2b528732
DM
153352014-02-04 David S. Miller <davem@davemloft.net>
15336
15337 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
15338 32-bit.
15339
0ff82463
AZ
153402014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15341
57f41c40
AS
15342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15343 New file
c01603f7
AZ
15344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15345 New file
57f41c40
AS
15346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15347 New file.
15348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15349 New file.
c01603f7
AZ
15350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15351 New file.
57f41c40
AS
15352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15353 New file.
15354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15355 New file.
c01603f7
AZ
15356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15357 New file.
15358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15359 New file.
15360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15361 New file.
15362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15363 New file.
15364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15365 New file.
15366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15367 New file.
15368
153692014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15370
0ff82463
AZ
15371 * nptl/shlib-versions: Change powerpc*le start to 2.17.
15372 * shlib-versions: Likewise.
15373
1695c773
AZ
153742014-02-04 Roland McGrath <roland@hack.frob.com>
15375 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15376
15377 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
15378 (abilist-pattern): New variable, set to %-le.abilist.
15379
15380 * Makerules (abilist-pattern): New variable.
15381 (vpath): Use $(abilist-pattern) in place of %.abilist.
15382 (check-abi-% pattern rule): Likewise.
15383 (check-abi, update-abi): Likewise.
15384
6c0ce4b4
EW
153852014-02-04 Eric Wong <normalperson@yhbt.net>
15386
15387 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15388
481e3524
CD
153892014-02-03 Carlos O'Donell <carlos@redhat.com>
15390
15391 * manual/startup.texi: Add next, previous, and top entries for
15392 the `Program Arguments' and `Environment Variables' nodes.
15393
375592d3
AO
153942014-02-03 Alexandre Oliva <aoliva@redhat.com>
15395
15396 * manual/macros.texi: Add comments before MTASC-safety macros.
15397
f54838ba
AO
15398 * manual/users.texi: Document MTASC-safety properties.
15399
57f41c40
AS
15400 * manual/threads.texi (pthread_key_create, pthread_key_delete)
15401 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
15402 @deftypefun, and add @safety note.
15403 * manual/signal.texi: Move comments that analyze the above
15404 functions to their home place.
15405
fd3daba4
AM
154062014-02-03 Allan McRae <allan@archlinux.org>
15407
15408 * po/sl.po: Update Slovenian translation from translation project.
15409
597636d7
AO
154102014-02-02 Alexandre Oliva <aoliva@redhat.com>
15411
15412 * manual/time.texi (timegm): Add missing blank after @c.
15413 Reported by Joseph Myers <joseph@codesourcery.com>.
15414
ee196e3c
AO
154152014-02-01 Alexandre Oliva <aoliva@redhat.com>
15416
15417 * manual/check-safety.sh: New.
15418 * manual/Makefile ($(objpfx)stamp-summary): Run it.
15419
f8d529d5
AO
15420 * manual/terminal.texi: Document MTASC-safety properties.
15421
de55fdf4
AO
15422 * manual/filesys.texi: Document MTASC-safety properties.
15423
c3299c08
AO
15424 * manual/errno.texi: Document MTASC-safety properties.
15425
06e90b14
AO
15426 * manual/intro.texi: Document safety identifiers and
15427 conditionals.
15428
1acd4371
AO
15429 * manual/string.texi (wcstok): Fix prototype.
15430 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
15431
23e5b8cb
AO
15432 * manual/time.texi: Document MTASC-safety properties.
15433
11087373
AO
15434 * manual/string.texi: Document MTASC-safety properties.
15435
5da2c93d
AO
15436 * manual/threads.texi: Document MTASC-safety properties.
15437
171e9210
AO
15438 * manual/stdio.texi: Document MTASC-safety properties.
15439
d9e02532
AO
15440 * manual/syslog.texi: Document MTASC-safety properties.
15441
6af8bab7
AO
15442 * manual/sysinfo.texi: Document MTASC-safety properties.
15443
663b02d7
AO
15444 * manual/startup.texi: Document MTASC-safety properties.
15445
973f180b
AO
15446 * manual/socket.texi: Document MTASC-safety properties.
15447
8f3c25c8
AO
15448 * manual/signal.texi: Document MTASC-safety properties.
15449
542210fb
AO
154502014-01-31 Alexandre Oliva <aoliva@redhat.com>
15451
15452 * manual/setjmp.texi: Document MTASC-safety properties.
15453
433c45a2
AO
15454 * manual/search.texi: Document MTASC-safety properties.
15455
c8ce789c
AO
15456 * manual/resource.texi: Document MTASC-safety properties.
15457
19f5d29c
AO
15458 * manual/process.texi: Document MTASC-safety properties.
15459
e2dfb7f4
AO
15460 * manual/platform.texi: Document MTASC-safety properties.
15461
8c1413f5
AO
15462 * manual/pipe.texi: Document MTASC-safety properties.
15463
03483ada
AO
15464 * manual/pattern.texi: Document MTASC-safety properties.
15465
29e7e2df
AO
15466 * manual/message.texi: Document MTASC-safety properties.
15467
9f529d7c
AO
15468 [BZ #12751]
15469 * manual/memory.texi: Document MTASC-safety properties.
15470
27aaa791
AO
15471 * manual/math.texi: Document MTASC-safety properties.
15472
f2d58726
AO
15473 * manual/locale.texi: Document MTASC-safety properties.
15474
2cc3615c
AO
15475 * manual/llio.texi: Document MTASC-safety properties.
15476
d9f0ec97
AO
15477 * manual/libdl.texi: New.
15478
e7c4409a
AO
15479 * manual/lang.texi: Document MTASC-safety properties.
15480
27bdc63c
AO
15481 * manual/job.texi: Document MTASC-safety properties.
15482
a7b90ea9
AO
15483 * manual/getopt.texi: Document MTASC-safety properties.
15484
c49130e3
AO
15485 * manual/ctype.texi: Document MTASC-safety properties.
15486
0d23a5c1
MR
154872014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
15488
15489 [BZ #16046]
15490 * csu/libc-tls.c (static_map): Remove variable.
15491 (__libc_setup_tls): Use main executable's link map for TLS data.
15492 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
15493 casing for LM_ID_BASE and GL(dl_nns).
15494 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
15495 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
15496 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
15497 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
15498 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
15499 member.
15500 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
15501 l_phnum members.
15502
0037bb60
AO
155032014-01-30 Alexandre Oliva <aoliva@redhat.com>
15504
15505 * manual/debug.texi: Document MTASC-safety properties.
15506
409e00bd
L
155072014-01-29 H.J. Lu <hongjiu.lu@intel.com>
15508
15509 [BZ #16510]
15510 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
15511 of __x86_64__ when disabling x87 inline functions.
15512
86e60666
AO
155132014-01-29 Alexandre Oliva <aoliva@redhat.com>
15514
15515 * manual/charset.texi: Document MTASC-safety properties.
15516
76167637
AO
15517 * manual/crypt.texi: Document MTASC-safety properties.
15518
e567f2a0
AO
15519 * manual/conf.texi: Document MTASC-safety properties.
15520
b719dafd
AO
15521 * manual/arith.texi: Document MTASC-safety properties.
15522
4a16c662
AO
15523 * manual/argp.texi: Document MTASC-safety properties.
15524
0a57b83e
AO
15525 * manual/macros.texi: Introduce macros to document multi
15526 thread, asynchronous signal and asynchronous cancellation
15527 safety properties.
15528 * manual/intro.texi: Introduce the properties themselves.
15529
feab2397
KK
155302014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15531
15532 * sysdeps/sh/sh4/Makefile: New file.
15533
1c0d11bc
AS
155342014-01-27 Andreas Schwab <schwab@linux-m68k.org>
15535
15536 * math/gen-libm-test.pl ($srcdir): New variable.
15537 ($auto_input): Use it.
15538
af37a8a3
SP
155392014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15540
d7b00f98
SP
15541 [BZ #16506]
15542 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
15543 access beyond array bounds when parsing netgroups file.
15544
af37a8a3
SP
15545 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
15546 the old buffer before realloc.
15547
0c00f062
AM
155482014-01-27 Allan McRae <allan@archlinux.org>
15549
15550 * po/fr.po: Update French translation from translation project.
15551
7d69a1b0
KK
155522014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15553
15554 * sysdeps/sh/libm-test-ulps: Regenerate.
15555
6e697ff7
DM
155562014-01-24 David S. Miller <davem@davemloft.net>
15557
15558 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
15559
9cadb35c
KK
155602014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15561
15562 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
15563 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
15564
5d41dadf
SP
155652013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15566
15567 [BZ #16474]
15568 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
15569 string pointers after reallocation.
15570
0bad441c
KK
155712014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15572
15573 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
15574 __SH4A__ instead of __SH_FPU_ANY__.
15575
7007c661
KK
155762014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15577
15578 * sysdeps/sh/fpu_control.h: New file.
15579 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
15580 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
15581 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
15582 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
15583 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
15584 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
15585 * sysdeps/sh/sys/ucontext.h: Remove.
15586 * sysdeps/sh/sys: Remove directory.
15587
0f0c35e4
AK
155882014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15589
15590 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
15591 s390/sys/ucontext.h.
15592 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
15593 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
15594
4959e284
L
155952014-01-20 H.J. Lu <hongjiu.lu@intel.com>
15596
15597 [BZ #15605]
15598 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
15599
d98720e0
AZ
156002014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15601
15602 [BZ#16431]
15603 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15604 Adjust the vDSO correctly for internal calls.
15605 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15606
91cbd0bc
AM
156072014-01-20 Allan McRae <allan@archlinux.org>
15608
15609 * po/ca.po: Update Catalan translation from translation project.
15610
7a02cfad
MF
156112014-01-16 Mike Frysinger <vapier@gentoo.org>
15612
15613 * sysdeps/s390/sotruss-lib.c: New file.
15614
736c304a
AZ
156152014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15616
15617 [BZ#16430]
6e077ee5 15618 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
15619 (__GI___gettimeofday): Alias for a different internal symbol to avoid
15620 local calls issues by not having a PLT stub required for IFUNC calls.
15621 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
15622
94d0cea0
JM
156232014-01-16 Joseph Myers <joseph@codesourcery.com>
15624
15625 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
15626 * math/test-fpucw-static.c: Likewise.
15627
980cb518
SP
156282013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15629
15630 [BZ #16453]
15631 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
15632
2393fc01
AZ
156332014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15634
15635 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
15636 implementation for powerpc.
15637
d359bcc2
OB
156382014-01-15 Ondřej Bílka <neleai@seznam.cz>
15639
15640 [BZ #14782]
15641 * sysdeps/posix/system.c (__libc_system): Do not enable
15642 asynchronous cancellation.
15643
7beb48cb
AK
156442014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15645
15646 [BZ #16427]
15647 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
15648 handling only for numbers special also in the IEEE case.
15649
c20d5bf5
AK
156502014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15651
15652 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15653
e83bd4ee
AM
156542014-01-11 Allan McRae <allan@archlinux.org>
15655
76d0ea69
AM
15656 * po/bg.po: Update Bulgarian translation from translation project.
15657
e83bd4ee
AM
15658 * po/de.po: Update German translation from translation project.
15659
bc2ba20a
RM
156602014-01-10 Roland McGrath <roland@hack.frob.com>
15661
15662 * sysdeps/generic/gcc-compat.h: New file.
15663
649ecea2
SP
156642014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15665
15666 * benchtests/asin-inputs: Correct slow inputs.
15667 * benchtests/acos-inputs: Likewise.
15668
1b19c006
AM
156692014-01-10 Allan McRae <allan@archlinux.org>
15670
a46dab08
AM
15671 * po:sv.po: Update Swedish translation from translation project.
15672
421df74a
AM
15673 * po/vi.po: Update Vietnamese translation from translation project.
15674
d61c51a7
AM
15675 * po/eo.po: Update Esperanto translation from translation project.
15676
0339a319
AM
15677 * po/cs.po: Update Czech translation from translation project.
15678
94ad3e99
AM
15679 * po/nl.po: Update Dutch translation from translation project.
15680
e349ca71
AM
15681 * po/pl.po: Update Polish translation from translation project.
15682
ddf930c1
AM
15683 * po/ru.po: Update Russian translation from translation project.
15684
1b19c006
AM
15685 * po/uk.po: Update Ukrainian translation from translation project.
15686
9f236c49
BM
156872014-01-08 Brooks Moses <bmoses@google.com>
15688
15689 * elf/dl-load.c: Fix comment typo.
15690
cd6701cf
CD
156912014-01-08 Carlos O'Donell <carlos@redhat.com>
15692
15693 * po/header.pot: Rename to...
15694 * po/pot.header: ... this.
15695 * po/Makefile: Use pot.header.
15696
66671c84
YK
156972014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
15698 Maxim Kuvyrkov <maxim@kugelworks.com>
15699
15700 [BZ #16394]
cd6701cf
CD
15701 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
15702 SRC and DEST against LEN.
66671c84 15703
38f34581
AZ
157042014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15705
15706 [BZ #16414]
15707 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
15708 implementation.
15709 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
15710
157112014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
15712
15713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15714
4c327f2a
JM
157152014-01-08 Joseph Myers <joseph@codesourcery.com>
15716
15717 [BZ #16408]
15718 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
15719 for large positive arguments.
15720
b821f414
JM
157212014-01-07 Joseph Myers <joseph@codesourcery.com>
15722
1f0f2067
JM
15723 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15724
a5a326f6
JM
15725 * math/auto-libm-test-in: Mark various tests with
15726 xfail-rounding:ldbl-128ibm.
15727 * math/auto-libm-test-out: Regenerated.
15728
b821f414
JM
15729 [BZ #16407]
15730 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15731 Increase overflow threshold.
15732
94c8a4bc
OB
157332014-01-07 Ondřej Bílka <neleai@seznam.cz>
15734
15735 [BZ #14286]
15736 * stdio-common/vfprintf.c: Check for integer overflow.
15737
87ded0c3
AK
157382014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15739
15740 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
15741 the first argument and return value of __tls_get_addr_internal.
15742
c5eebdd0
AK
157432014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15744
15745 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
15746 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
15747
05d138ef
AK
157482014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15749
15750 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
15751 * sysdeps/s390/rtld-global-offsets.sym: New file.
15752 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
15753 GLIBC_2.19 symbol.
15754 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
15755 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
15756 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15757 ... this.
15758 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
15759 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15760 ... this.
15761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15762 Regenerate.
15763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15764 Regenerate.
15765 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
15766 halfs of GPRs for high_gprs contexts.
15767 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
15768 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
15769 field.
15770 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
15771 uc_flags field.
15772 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
15773 64 bit versions:
15774 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
15775 for high GPRs (uc_high_gprs) and for future extensions
15776 (__reserved).
15777 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
15778 for future extensions (__reserved).
15779 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
15780 64 bit versions:
15781 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
15782 SC_HIGHGPRS offset definition.
15783 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
15784 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
15785
93a45ff1
AK
15786 * Versions.def: Add GLIBC_2.19 for libpthread.
15787 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
15788 siglongjmp for libpthread with GLIBC_2.19 symver.
15789 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
15790 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
15791 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
15792 * sysdeps/s390/__longjmp.c: New file.
15793 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
15794 * sysdeps/s390/longjmp.c: New file.
15795 * sysdeps/s390/setjmp.S: New file.
15796 * sysdeps/s390/sigjmp.S: New file.
15797 * sysdeps/s390/v1-longjmp.c: New file.
15798 * sysdeps/s390/v1-setjmp.h: New file.
15799 * sysdeps/s390/v1-sigjmp.c: New file.
15800 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
15801 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
15802 GLIBC_2.19 version.
15803 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
15804 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
15805 versioned symbols for ____longjmp_chk.
15806 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15807 Likewise.
15808 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15809 Regenerate.
15810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15811 Regenerate.
15812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15813 Regenerate.
15814 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15815 Regenerate.
15816 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
15817 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
15818 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
15819 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
15820 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
15821 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
15822 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
15823 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
15824 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
15825 * sysdeps/s390/rtld-__longjmp.c: New file.
15826 * sysdeps/s390/rtld-setjmp.S: New file.
15827
eb3fc44b
JM
158282014-01-06 Joseph Myers <joseph@codesourcery.com>
15829
15830 [BZ #16400]
15831 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15832 Return -__logl (x) for small positive arguments without evaluating
15833 a polynomial.
15834
9341dde4
MF
158352014-01-06 Mike Frysinger <vapier@gentoo.org>
15836
15837 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
15838 Rename to ...
15839 (__ptrace_peeksiginfo_args): ... this.
15840 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15841 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15842 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15843
4cff0293
AM
158442014-01-06 Allan McRae <allan@archlinux.org>
15845
15846 * inet/netinet/in.h: Fix typo in comment.
15847
75595dcf
AJ
158482014-01-05 Andreas Jaeger <aj@suse.de>
15849
15850 * sysdeps/i386/fpu/libm-test-ulps: Update.
15851
79c1e109
AM
158522014-01-05 Allan McRae <allan@archlinux.org>
15853
dd804818
AM
15854 * po/libc.pot: Regenerated.
15855
79c1e109
AM
15856 * malloc/memusagestat.c: Fix gettext call formatting.
15857
0c813d1f
SK
158582014-01-04 Sami Kerola <kerolasa@iki.fi>
15859
15860 * nscd/nscd.c: Improve usage() output.
15861
20f4a8d9
MF
158622014-01-04 Mike Frysinger <vapier@gentoo.org>
15863
15864 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
15865 * sysdeps/unix/sysv/linux/configure: Regenerated.
15866 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
15867 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
15868
22562bb2
JM
158692014-01-03 Joseph Myers <joseph@codesourcery.com>
15870
15871 [BZ #16390]
15872 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15873 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
15874
d7ad2d9b
AZ
158752014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15876
15877 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
15878 extra tokens at end of #undef directive.
15879 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
15880 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
15881 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
15882
7dd009d8
JM
158832014-01-03 Joseph Myers <joseph@codesourcery.com>
15884
24db925a
JM
15885 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15886
7dd009d8
JM
15887 * math/auto-libm-test-in: Mark various tests with
15888 xfail-rounding:ldbl-128ibm.
15889 * math/auto-libm-test-out: Regenerated.
15890
396e3ecf
JM
158912014-01-02 Joseph Myers <joseph@codesourcery.com>
15892
819e5d50
JM
15893 [BZ #16386]
15894 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
15895 numbers with subnormal high part when calculating exponent.
15896
90b6a1e5
JM
15897 [BZ #16385]
15898 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
15899 fabs.
15900
396e3ecf
JM
15901 [BZ #16384]
15902 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
15903 M_LN2l.
15904 (__ieee754_acoshl): Use __log1pl not __log1p.
15905
6c8dbf00
OB
159062013-01-02 Ondřej Bílka <neleai@seznam.cz>
15907
57f41c40
AS
15908 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
15909 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
15910 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
15911 (grow_heap, heap_trim, _int_new_arena, get_free_list)
15912 (reused_arena, arena_get2): Convert to GNU style.
15913 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
15914 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
15915 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 15916 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
15917 * malloc/malloc.c (__malloc_assert, malloc_init_state)
15918 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
15919 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
15920 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
15921 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
15922 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 15923 * malloc/malloc.h: Likewise.
57f41c40
AS
15924 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
15925 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 15926 * malloc/mcheck.h: Likewise.
57f41c40
AS
15927 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
15928 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
15929 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
15930 * malloc/morecore.c (__default_morecore): Likewise.
15931 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
15932 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
15933 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
15934 (print_and_abort): Likewise.
6c8dbf00
OB
15935 * malloc/obstack.h: Likewise.
15936 * malloc/set-freeres.c (__libc_freeres): Likewise.
15937 * malloc/tst-mallocstate.c (main): Likewise.
15938 * malloc/tst-mtrace.c (main): Likewise.
15939 * malloc/tst-realloc.c (do_test): Likewise.
15940
d4124212
SP
159412013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15942
9a3c6a6f
SP
15943 [BZ #16366]
15944 * nscd/netgroupcache.c (do_notfound): New function.
15945 (addgetnetgrentX): Use it.
15946
d4124212
SP
15947 [BZ # 16365]
15948 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
15949 NSS_STATUS_NOTFOUND.
15950
97b9a009
JM
159512014-01-01 Joseph Myers <joseph@codesourcery.com>
15952
15953 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15955
d4697bc9
AM
159562014-01-01 Allan McRae <allan@archlinux.org>
15957
ddb3687f
AM
15958 * scripts/update-copyrights: Update configure input file suffix.
15959
88726d48
AM
15960 * NEWS: Update copyright year.
15961 * catgets/gencat.c: Likewise.
15962 * csu/version.c: Likewise.
15963 * debug/catchsegv.sh: Likewise.
15964 * debug/pcprofiledump.c: Likewise.
15965 * debug/xtrace.sh: Likewise.
15966 * elf/ldconfig.c: Likewise.
15967 * elf/ldd.bash.in: Likewise.
15968 * elf/pldd.c: Likewise.
15969 * elf/sotruss.ksh: Likewise.
15970 * elf/sprof.c: Likewise.
15971 * iconv/iconv_prog.c: Likewise.
15972 * iconv/iconvconfig.c: Likewise.
15973 * locale/programs/locale.c: Likewise.
15974 * locale/programs/localedef.c: Likewise.
15975 * login/programs/pt_chown.c: Likewise.
15976 * malloc/memusage.sh: Likewise.
15977 * malloc/memusagestat.c: Likewise.
15978 * malloc/mtrace.pl: Likewise.
15979 * manual/libc.texinfo: Likewise.
15980 * nscd/nscd.c: Likewise.
15981 * nss/getent.c: Likewise.
15982 * nss/makedb.c: Likewise.
15983 * posix/getconf.c: Likewise.
15984 * scripts/test-installation.pl: Likewise.
15985
d4697bc9
AM
15986 * All files with FSF copyright notices: Update copyright dates
15987 using scripts/update-copyrights.
15988 * intl/plural.c: Regenerated.
15989 * locale/programs/charmap-kw.h: Likewise.
15990 * locale/programs/locfile-kw.h: Likewise.
15991
c8590f9d
MF
159922013-12-31 Mike Frysinger <vapier@gentoo.org>
15993
15994 * sysdeps/unix/sysv/linux/configure: Regenerated.
15995 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
15996 the linux/fanotify.h header.
15997 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
15998 HAVE_LINUX_FANOTIFY_H is defined.
15999
b19221b9
SP
160002013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16001
dd1d85e5
SP
16002 * benchtests/cos-inputs: New inputs.
16003 * benchtests/sin-inputs: Likewise.
16004
1acbb90f
SP
16005 * benchtests/atan-inputs: New inputs. Fix name of multiple
16006 precision fallback inputs.
16007
4c012ed3
SP
16008 * benchtests/atanh-inputs: New inputs.
16009 * benchtests/tanh-inputs: Likewise.
16010
eff98324
SP
16011 * benchtests/acosh-inputs: New inputs.
16012 * benchtests/asinh-inputs: Likewise.
16013
ce641152
SP
16014 * benchtests/cosh-inputs: New inputs.
16015 * benchtests/sinh-inputs: Likewise.
16016
b19221b9
SP
16017 * benchtests/acos-inputs: Add more inputs.
16018 * benchtests/asin-inputs: Likewise.
16019
030a4976 160202013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 16021
030a4976 16022 [BZ #16375]
9dcc8f11
VS
16023 * manual/arith.texi: Fix spelling.
16024 * manual/charset.texi: Likewise.
16025 * manual/errno.texi: Likewise.
16026 * manual/filesys.texi: Likewise.
16027 * manual/lang.texi: Likewise.
16028 * manual/llio.texi: Likewise.
16029 * manual/locale.texi: Likewise.
16030 * manual/message.texi: Likewise.
16031 * manual/resource.texi: Likewise.
16032 * manual/search.texi: Likewise.
16033 * manual/setjmp.texi: Likewise.
16034 * manual/stdio.texi: Likewise.
16035 * manual/string.texi: Likewise.
16036 * manual/sysinfo.texi: Likewise.
16037 * manual/time.texi: Likewise.
16038
11520a57
CD
160392013-12-27 Carlos O'Donell <carlos@redhat.com>
16040
16041 * po/sl.po: New file.
16042
471103ae
MF
160432013-12-27 Mike Frysinger <vapier@gentoo.org>
16044
16045 * .gitignore: Add core/.gdbinit/.gdb_history.
16046
6c9642ed
AM
160472013-12-27 Allan McRae <allan@archlinux.org>
16048
16049 [BZ #16369]
16050 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
16051 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
16052
3f637079
BM
160532013-12-24 Brooks Moses <bmoses@google.com>
16054
16055 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
16056 all compilers that claim C++98 compliance, not just GCC.
16057 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16058 Likewise.
16059
abc26e99
MK
160602013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
16061
16062 * NEWS: Restore accidentally deleted bug-fix entries.
16063
362b47fe
MK
160642013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
16065 Ondřej Bílka <neleai@seznam.cz>
16066
16067 [BZ #15073]
16068 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 16069 have_lock.
362b47fe 16070
b9bcbbcb
OB
160712013-12-23 Ondřej Bílka <neleai@seznam.cz>
16072
16073 [BZ #12986]
16074 * manual/stdio.texi (String Input Conversions): Clarify that character
16075 classes are not supported.
16076
fb55fcd2
AZ
160772013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16078
16079 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16080
ef7344f0
JM
160812013-12-22 Joseph Myers <joseph@codesourcery.com>
16082
4f40e4b3
JM
16083 [BZ #16337]
16084 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16085 Calculate results for small negative arguments directly rather
16086 than using reflection formula with special underflow handling.
16087
ef7344f0
JM
16088 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
16089 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
16090 sysdeps/unix/bsd/bsd4.4/syscalls.list.
16091 (fchflags): Likewise.
16092 (revoke): Likewise.
16093 (setlogin): Likewise.
16094 (sigaltstack): Likewise.
16095 (wait4): Likewise.
16096 (sigblock): Remove.
16097 (sigsetmask): Likewise.
16098 (wait3): Likewise.
16099 (waitpid): Likewise.
16100 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
16101 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
16102 file.
16103 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
16104 * sysdeps/unix/bsd/Makefile: ... here.
16105 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
16106 * sysdeps/unix/bsd/Versions: ... here.
16107 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
16108 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
16109 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
16110 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
16111 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
16112 * sysdeps/unix/bsd/sigblock.c: ... here.
16113 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
16114 * sysdeps/unix/bsd/sigsetmask.c: ... here.
16115 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
16116 * sysdeps/unix/bsd/sigvec.c: ... here.
16117 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
16118 * sysdeps/unix/bsd/tcdrain.c: ... here.
16119 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
16120 * sysdeps/unix/bsd/tcgetattr.c: ... here.
16121 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
16122 * sysdeps/unix/bsd/tcsetattr.c: ... here.
16123 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
16124 * sysdeps/unix/bsd/wait.c: ... here.
16125 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
16126 * sysdeps/unix/bsd/wait3.c: ... here.
16127 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
16128 * sysdeps/unix/bsd/waitpid.c: ... here.
16129
5b0626b9
JM
161302013-12-21 Joseph Myers <joseph@codesourcery.com>
16131
16132 [BZ #16356]
16133 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
16134 round-to-nearest for [!USE_AS_EXPM1L].
16135 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
16136 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
16137 more tests of exp and exp10. Expect some exp10 tests to miss
16138 exceptions or fail in directed rounding modes.
16139 * math/auto-libm-test-out: Regenerated.
16140 * math/libm-test.inc (exp10_tonearest_test_data): New array.
16141 (exp10_test_tonearest): New function.
16142 (exp10_towardzero_test_data): New array.
16143 (exp10_test_towardzero): New function.
16144 (exp10_downward_test_data): New array.
16145 (exp10_test_downward): New function.
16146 (exp10_upward_test_data): New array.
16147 (exp10_test_upward): New function.
16148 (main): Call the new functions.
16149 * sysdeps/i386/fpu/libm-test-ulps: Update.
16150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16151
7fda5682
JM
161522013-12-20 Joseph Myers <joseph@codesourcery.com>
16153
31e3a405
JM
16154 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16155 asinh, atan, atan2, atanh, cbrt, cos and cosh.
16156 * math/auto-libm-test-out: Regenerated.
16157 * math/libm-test.inc (acosh_test_data): Add more tests.
16158 (atanh_test_data): Likewise.
16159 (ceil_test_data): Likewise.
16160 (copysign_test_data): Likewise.
16161 * sysdeps/i386/fpu/libm-test-ulps: Update.
16162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16163
85bff96a
JM
16164 * timezone/checktab.awk: Update from tzcode 2013i.
16165 * timezone/private.h: Likewise.
16166 * timezone/scheck.c: Likewise.
16167 * timezone/tzfile.h: Likewise.
16168 * timezone/tzselect.ksh: Likewise.
16169 * timezone/zdump.c: Likewise.
16170 * timezone/zic.c: Likewise.
16171
b7867a3b
JM
16172 * math/auto-libm-test-in: Add tests of cpow.
16173 * math/auto-libm-test-out: Regenerated.
16174 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 16175 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
16176 mpc_cc_c.
16177 (func_calc_desc): Add mpc_cc_c union field.
16178 (test_functions): Add cpow.
16179 (special_fill_2pi): New function.
16180 (special_real_inputs): Add 2pi.
16181 (calc_generic_results): Handle mpc_cc_c.
16182 * sysdeps/i386/fpu/libm-test-ulps: Update.
16183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16184
7fda5682
JM
16185 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
16186 csqrt, ctan and ctanh.
16187 * math/auto-libm-test-out: Regenerated.
16188 * math/libm-test.inc (TEST_COND_x86_64): New macro.
16189 (TEST_COND_x86): Likewise.
16190 (ccos_test_data): Use AUTO_TESTS_c_c.
16191 (ccosh_test_data): Likewise.
16192 (cexp_test_data): Likewise.
16193 (clog_test_data): Likewise.
16194 (csqrt_test_data): Likewise.
16195 (ctan_test_data): Likewise.
16196 (ctan_tonearest_test_data): Likewise.
16197 (ctan_towardzero_test_data): Likewise.
16198 (ctan_downward_test_data): Likewise.
16199 (ctan_upward_test_data): Likewise.
16200 (ctanh_test_data): Likewise.
16201 (ctanh_tonearest_test_data): Likewise.
16202 (ctanh_towardzero_test_data): Likewise.
16203 (ctanh_downward_test_data): Likewise.
16204 (ctanh_upward_test_data): Likewise.
16205 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16206 mpc_c_c.
16207 (func_calc_desc): Add mpc_c_c union field.
16208 (FUNC_mpc_c_c): New macro.
16209 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
16210 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
16211 ctanh.
16212 (special_fill_min_subnorm_p120): New function.
16213 (special_real_inputs): Add min_subnorm_p120.
16214 (calc_generic_results): Handle mpc_c_c.
16215 * sysdeps/i386/fpu/libm-test-ulps: Update.
16216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16217
5ff8d60e
SP
162182013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16219
57f41c40
AS
16220 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
16221 (do_sin_slow): New functions.
16222 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
16223 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 16224
84ba214c
SP
16225 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
16226 Use M to change sign of result instead of X. Assume X is
16227 positive.
16228 (csloww1): Likewise.
16229 (__sin): Adjust.
16230 (__cos): Adjust.
16231
975195e4
SP
16232 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
16233 arguments A and DA.
16234 (__sin): Adjust.
16235 (__cos): Likewise.
16236
5ff8d60e
SP
16237 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
16238 (__cos): Likewise.
16239 (sloww1): Don't adjust sign of DX.
16240 (csloww1): Likewise.
16241 (sloww2): Use X directly and don't adjust sign of DX.
16242 (csloww2): Likewise.
16243
eb983568
JM
162442013-12-19 Joseph Myers <joseph@codesourcery.com>
16245
64a17f1a
JM
16246 * math/auto-libm-test-in: Add tests of cabs and carg.
16247 * math/auto-libm-test-out: Regenerated.
16248 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
16249 (carg_test_data): Likewise.
16250 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16251 mpc_c_f.
16252 (func_calc_desc): Add mpc_c_f union field.
16253 (test_functions): Add cabs and carg.
16254 (calc_generic_results): Handle mpc_c_f.
16255
eb983568
JM
16256 * sysdeps/powerpc/powerpc32/libgcc-compat.S
16257 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
16258 as a macro and a compat symbol.
16259 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
16260 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
16261 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
16262 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
16263 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
16264 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
16265 not use .hidden.
16266 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
16267 Likewise.
16268 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
16269 Likewise.
16270 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
16271 Likewise.
16272 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
16273 Likewise.
16274 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
16275 Likewise.
16276 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
16277 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
16278 from GLIBC_2.3.2.
16279
6eeb678a
AZ
162802013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16281
16282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16283
6f6fc482
JM
162842013-12-19 Joseph Myers <joseph@codesourcery.com>
16285
21fea2e2
JM
16286 * manual/texinfo.tex: Update to version 2013-11-26.10 with
16287 trailing whitespace removed.
16288 * scripts/config.guess: Update to version 2013-11-29.
16289 * scripts/config.sub: Update to version 2013-10-01.
16290
6f6fc482
JM
16291 * math/auto-libm-test-in: Add tests of sincos.
16292 * math/auto-libm-test-out: Regenerated.
16293 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
16294 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16295 mpfr_f_11.
16296 (func_calc_desc): Add mpfr_f_11 union field.
16297 (test_functions): Add sincos.
16298 (calc_generic_results): Handle mpfr_f_11.
16299 * sysdeps/i386/fpu/libm-test-ulps: Update.
16300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16301
83f5c32d
AS
163022013-12-19 Andreas Schwab <schwab@suse.de>
16303
16304 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
16305 CALL_MCOUNT.
16306 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16307 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
16308 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
16309
c688b419
JM
163102013-12-19 Joseph Myers <joseph@codesourcery.com>
16311
335ee092
JM
16312 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
16313 * sysdeps/i386/fpu/libm-test-ulps: Update.
16314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16315
f88acd39
JM
16316 [BZ #16293]
16317 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
16318 round-to-nearest mode when using frndint.
16319 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
16320 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16321 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16322 Likewise.
16323 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
16324 sinh test to fail.
16325 * math/auto-libm-test-out: Regenerated.
16326 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
16327 (TEST_COND_x86): Likewise.
16328 (expm1_tonearest_test_data): New array.
16329 (expm1_test_tonearest): New function.
16330 (expm1_towardzero_test_data): New array.
16331 (expm1_test_towardzero): New function.
16332 (expm1_downward_test_data): New array.
16333 (expm1_test_downward): New function.
16334 (expm1_upward_test_data): New array.
16335 (expm1_test_upward): New function.
16336 (main): Run the new test functions.
16337 * sysdeps/i386/fpu/libm-test-ulps: Update.
16338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16339
c688b419
JM
16340 * include/features.h: Update comment documenting feature test
16341 macros. Mention _DEFAULT_SOURCE in comment.
16342 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
16343 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
16344 _BSD_SOURCE and _SVID_SOURCE.
16345 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
16346 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
16347 !_SVID_SOURCE]: Likewise.
16348 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16349 (__USE_POSIX_IMPLICITLY): Define.
16350 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16351 (_POSIX_SOURCE): Undefine and redefine.
16352 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16353 (_POSIX_C_SOURCE): Likewise.
16354 * manual/creature.texi (_DEFAULT_SOURCE): Document.
16355 (Feature Test Macros): Update documentation of default features.
16356
9f6e964c
RS
163572013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16358
16359 * benchtests/Makefile: Add bench-strtok.
16360 * benchtests/bench-strtok.c: New file: strtok benchtest.
16361
ee0a148a
AM
163622013-12-19 Allan McRae <allan@archlinux.org>
16363
16364 * manual/install.texi: Suppress menu for plain text output.
16365 * INSTALL: Regenerated.
16366
b9ab448f
BM
163672013-12-18 Brooks Moses <bmoses@google.com>
16368
16369 [BZ #15846]
16370 * misc/getauxval.c: Include errno.h.
16371 (__getauxval): Set errno to ENOENT if the requested type is not
16372 found.
16373 * misc/sys/auxv.h (getauxval): Document that it may set errno;
16374 don't declare with __attribute_const__.
16375 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
16376 * manual/startup.texi: Document that getauxval sets errno.
16377
23776487
JM
163782013-12-18 Joseph Myers <joseph@codesourcery.com>
16379
f889953b
JM
16380 * math/auto-libm-test-in: Add tests of jn and yn.
16381 * math/auto-libm-test-out: Regenerated.
16382 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
16383 (yn_test_data): Likewise.
16384 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16385 mpfr_if_f.
16386 (func_calc_desc): Add mpfr_if_f union field.
16387 (FUNC_mpfr_if_f): New macro.
16388 (test_functions): Add jn and yn.
16389 (calc_generic_results): Assert type of second input for
16390 mpfr_ff_f. Handle mpfr_if_f.
16391 (output_for_one_input_case): Disable all checking for arguments
16392 fitting floating-point types in case of an integer argument.
16393 * sysdeps/i386/fpu/libm-test-ulps: Update.
16394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16395
23776487
JM
16396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16397 Don't expect fegetround reference in libm.so.
16398
cb756c6d
MS
163992013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16400
16401 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
16402 $(config-cflags-nofma).
16403
2dec468f
JM
164042013-12-18 Joseph Myers <joseph@codesourcery.com>
16405
5953eb3a
JM
16406 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
16407 * math/auto-libm-test-out: Regenerated.
16408
2dec468f
JM
16409 [BZ #16338]
16410 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
16411 to determine exponent and adjust argument to have exponent of -1.
16412 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16413 log2.
16414 * math/auto-libm-test-out: Regenerated.
16415 * sysdeps/i386/fpu/libm-test-ulps: Update.
16416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16417
4d84e6ad
OB
164182013-12-18 Ondřej Bílka <neleai@seznam.cz>
16419
16420 * manual/probes.texi: Remove cases when per-thread arenas are
16421 disabled.
16422
1818483b
AS
164232013-12-18 Andreas Schwab <schwab@suse.de>
16424
16425 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
16426 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
16427 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
16428 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
16429 * sysdeps/i386/i686/multiarch/Makefile: Update.
16430 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
16431
25de95bf
JM
164322013-12-17 Joseph Myers <joseph@codesourcery.com>
16433
16434 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
16435 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
16436
674762d9
PE
164372013-12-17 Paul Eggert <eggert@cs.ucla.edu>
16438
ed27ed83 16439 [BZ #15968]
0748546f
PE
16440 Support TZ transition times < 00:00:00.
16441 This is needed for version-3 tz-format files; it supports time
16442 stamps past 2037 for America/Godthab (the only entry in the tz
16443 database for which this change is relevant).
16444 * manual/time.texi (TZ Variable): Document transition times
16445 from -167:59:59 through -00:00:01.
16446 * time/tzset.c (tz_rule): Time of day is now signed.
16447 (__tzset_parse_tz): Parse negative time of day.
16448
4480e934
PE
16449 Document TZ transition times >= 25:00:00.
16450 * manual/time.texi (TZ Variable): Document transition times from
16451 25:00:00 through 167:59:59. These are already supported, and this
16452 support will help with version-3 tz-format files.
16453
69947401
PE
16454 * manual/time.texi (TZ Variable): Modernize North America example
16455 to reflect current (i.e., 2007-and-later) daylight saving rules.
16456
674762d9
PE
16457 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
16458
7011c262
JM
164592013-12-17 Joseph Myers <joseph@codesourcery.com>
16460
2fc6557e
JM
16461 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
16462 * sysdeps/unix/bsd/bits/stat.h: Likewise.
16463 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
16464 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16465 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
16466 * sysdeps/unix/bsd/bsdstat.h: Likewise.
16467 * sysdeps/unix/bsd/clock.c: Likewise.
16468 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
16469 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
16470 * sysdeps/unix/bsd/init-posix.c: Likewise.
16471 * sysdeps/unix/bsd/poll.c: Likewise.
16472 * sysdeps/unix/bsd/ptsname.c: Likewise.
16473 * sysdeps/unix/bsd/seekdir.c: Likewise.
16474 * sysdeps/unix/bsd/setegid.c: Likewise.
16475 * sysdeps/unix/bsd/seteuid.c: Likewise.
16476 * sysdeps/unix/bsd/setgid.c: Likewise.
16477 * sysdeps/unix/bsd/setrgid.c: Likewise.
16478 * sysdeps/unix/bsd/setruid.c: Likewise.
16479 * sysdeps/unix/bsd/setsid.c: Likewise.
16480 * sysdeps/unix/bsd/setuid.c: Likewise.
16481 * sysdeps/unix/bsd/sigaction.c: Likewise.
16482 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
16483 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
16484 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
16485 * sysdeps/unix/bsd/telldir.c: Likewise.
16486 * sysdeps/unix/bsd/times.c: Likewise.
16487 * sysdeps/unix/bsd/usleep.c: Likewise.
16488
029c7b25
JM
16489 * misc/Makefile (install-lib): Remove libbsd-compat.a.
16490 ($(objpfx)libbsd-compat.a): Remove rule.
16491
7011c262
JM
16492 * include/features.h (__FAVOR_BSD): Do not define.
16493 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
16494 features conflicting with POSIX.
16495 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
16496 (_BSD_SOURCE): Remove description of not being a subset of other
16497 feature test macros.
16498 * manual/job.texi (getpgrp): Do not document BSD version.
16499 (getpgid): Do not document by reference to BSD getpgrp.
16500 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
16501 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
16502 * signal/signal.h [__FAVOR_BSD]: Likewise.
16503 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
16504 instead of making contents conditional on [__FAVOR_BSD].
16505 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
16506
affb6f78
AZ
165072013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16508
16509 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16510
c88769dd
JM
165112013-12-17 Joseph Myers <joseph@codesourcery.com>
16512
6432a540
JM
16513 [BZ #16314]
16514 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
16515 values below 2**-450, not 2**-500.
16516 * math/auto-libm-test-in: Don't allow spurious underflow from
16517 hypot.
16518 * math/auto-libm-test-out: Regenerated.
16519
c88769dd
JM
16520 [BZ #16316]
16521 [BZ #16330]
16522 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
16523 values of ha and hb and sort them after adjusting subnormal
16524 arguments.
16525 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
16526 Likewise.
16527 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
16528 values of ea and eb and sort them after adjusting subnormal
16529 arguments.
16530 * math/auto-libm-test-in: Do not expect some hypot tests of
16531 subnormals to fail. Add more hypot tests.
16532 * math/auto-libm-test-out: Regenerated.
16533
29618f6b
KK
165342013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16535
16536 [BZ #13304]
16537 * sysdeps/sh/s_fma.c: New file.
16538 * sysdeps/sh/s_fmaf.c: New file.
16539 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
16540 version.
16541 * sysdeps/sh/Implies: Add sh/soft-fp.
16542
eacfdfbf
RM
165432013-12-16 Roland McGrath <roland@hack.frob.com>
16544
16545 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
16546 level of indirection to members `objname', `errstring', `malloced'.
16547 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
16548 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
16549 it as the __longjmp argument (just pass 1 instead).
16550 (_dl_catch_error): Initialize C with argument pointers and address of
16551 volatile local ERRCODE rather than copying values out of C at return.
16552
ff362e5b
JM
165532013-12-16 Joseph Myers <joseph@codesourcery.com>
16554
16555 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
16556 * math/auto-libm-test-out: Regenerated.
16557 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
16558 (hypot_test_data): Likewise.
16559 (pow_test_data): Likewise.
16560 (pow_tonearest_test_data): Likewise.
16561 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16562 mpfr_ff_f.
16563 (func_calc_desc): Add mpfr_ff_f union field.
16564 (FUNC_mpfr_ff_f): New macro.
16565 (test_functions): Add atan2, hypot and pow.
16566 (special_fill_min): New function.
16567 (special_fill_minus_min): Likewise.
16568 (special_fill_min_subnorm): Likewise.
16569 (special_fill_minus_min_subnorm): Likewise.
16570 (special_real_inputs): Add min, -min, min_subnorm and
16571 -min_subnorm.
16572 (calc_generic_results): Handle mpfr_ff_f.
16573 * sysdeps/i386/fpu/libm-test-ulps: Update.
16574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16575
5764c27f
WN
165762013-12-16 Will Newton <will.newton@linaro.org>
16577
16578 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
16579 (Aligned Memory Blocks): Add documentation for aligned_alloc
16580 and suggest it as an alternative to posix_memalign.
16581 (Hooks for Malloc): Document __memalign_hook is also called
16582 for aligned_alloc. (Summary of Malloc): Add summary for
16583 aligned alloc. Document __memalign_hook is also called
16584 for aligned_alloc.
16585
0a096e44
WN
165862013-12-16 Will Newton <will.newton@linaro.org>
16587
16588 * manual/memory.texi (Malloc Examples): Clarify default
16589 alignment documentation. Suggest posix_memalign rather
16590 than memalign or valloc.
16591 (Aligned Memory Blocks): Remove suggestion to use memalign
16592 or valloc. Remove obsolete comment about BSD.
16593 Document memalign errno values and mark the function obsolete.
16594 Document posix_memalign returned error codes. Mark valloc
16595 as obsolete. (Hooks for Malloc): __memalign_hook is also
16596 called for posix_memalign and valloc.
16597 (Summary of Malloc): Add posix_memalign to function summary.
16598 __memalign_hook is also called for posix_memalign and valloc.
16599
8d561986
SP
166002013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16601
16602 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
16603 TAYLOR_SIN.
16604 (__sin): Adjust.
16605 (__cos): Likewise.
16606 (sloww): Use mynumber union. Expand ternary operator into
16607 if-else statements.
16608 (cslow): use mynumber union.
16609
73616a74
AM
166102013-12-16 Allan McRae <allan@archlinux.org>
16611
9e8ac24b
AM
16612 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
16613 * configure: Regenerated.
16614
6f8e37eb
AM
16615 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
16616
8894bad3
AM
16617 [BZ #14120]
16618 * configure.ac: Added --enable-maintainer-mode. Check for
16619 autoconf when enabled.
16620 * configure: Regenerated.
16621
73616a74
AM
16622 * nscd/nscd.service: New file.
16623 * nscd/nscd.tmpfiles: New file.
16624
584b18eb
OB
166252013-12-14 Ondřej Bílka <neleai@seznam.cz>
16626
16627 [BZ #12100]
16628 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
16629 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
16630 * sysdeps/x86_64/multiarch/strstr.c: ... here.
16631 (strstr): Add __strstr_sse2_unaligned ifunc.
16632 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
16633 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
16634 (strcasestr): Remove __strcasestr_sse42 ifunc.
16635 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
16636 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16637 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16638
8a5c7897
KK
166392013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16640
16641 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
16642 * sysdeps/sh/bits/fenv.h: ... here.
16643 * sysdeps/sh/sh4/fpu/bits: Remove directory.
16644
fd712ef3
AZ
166452013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16646
16647 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
16648
42fcb46c
AZ
16649 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
16650 hypotf multiarch implementations.
16651 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
16652 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
16653 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
16654 multiarch hypot for PPC64.
16655 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
16656 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
16657 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
16658 multiarch hypotf for PPC64.
16659
83efded4
AZ
16660 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
16661 modff multiarch implementations.
16662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
16663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
16664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
16665 multiarch modf for PPC64.
16666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
16667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
16668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
16669 multiarch modff for PPC64.
16670
43e246d2
AZ
16671 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
16672 and logl multiarch implementations.
16673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
16674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
16675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
16676 multiarch logb for PPC64.
16677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
16678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
16679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
16680 multiarch logb for PPC64.
16681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
16682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
16683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
16684 multiarch logb for PPC64.
16685
8fdad123
AZ
16686 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
16687 isinff multiarch implementation.
16688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
16689 file.
16690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
16691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
16692 multiarch isinf for PPC64.
16693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
16694 file.
16695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
16696 multiarch isinff for PPC64.
16697
1481d706
AZ
16698 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
16699 finitef multiarch implementation.
16700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
16701 file.
16702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
16703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
16704 multiarch finite for PPC64.
16705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
16706 file.
16707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
16708 multiarch finitef for PPC64.
16709
5ccd5fc8
AZ
16710 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
16711 lrint multiarch implementation.
16712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
16713 file.
16714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
16715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
16716 multiarch llrint for PPC64.
16717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
16718 multiarch lrint for PPC64.
16719
2568f3fa
AZ
16720 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
16721 copysignf multiarch implementation.
16722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
16723 file.
16724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
16725 file.
16726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
16727 multiarch copysign for PPC64.
16728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
16729 multiarch copysignf for PPC64.
16730
1cb341fd
AZ
16731 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
16732 multiarch implementation.
16733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
16734 file.
16735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
16736 file.
16737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
16738 file.
16739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
16740 file.
16741 multiarch llround for PPC64.
16742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
16743 multiarch trunc for PPC64.
16744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
16745 multiarch truncf for PPC64.
16746
59a3e194
AZ
16747 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
16748 multiarch implementation.
16749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
16750 file.
16751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
16752 file.
16753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
16754 file.
16755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
16756 file.
16757 multiarch llround for PPC64.
16758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
16759 multiarch round for PPC64.
16760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
16761 multiarch roundf for PPC64.
16762
357fd3b4
AZ
16763 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
16764 multiarch implementation.
16765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
16766 file.
16767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
16768 file.
16769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
16770 file.
16771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
16772 file.
16773 multiarch llround for PPC64.
16774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
16775 multiarch floor for PPC64.
16776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
16777 multiarch floorf for PPC64.
16778
96770f12
AZ
16779 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
16780 multiarch implementation.
16781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
16782 file.
16783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
16784 file.
16785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
16786 file.
16787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
16788 file.
16789 multiarch llround for PPC64.
16790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
16791 multiarch ceil for PPC64.
16792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
16793 multiarch ceilf for PPC64.
16794
c3627f6e
AZ
16795 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16796 multiarch implementation.
16797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
16798 file.
16799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
16800 file.
16801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
16802 file.
16803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
16804 multiarch llround for PPC64.
16805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
16806 multiarch lround for PPC64.
16807
b2284ad7
AZ
16808 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16809 multiarch implementation.
16810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
16811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
16812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
16813 file.
16814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
16815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
16816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
16817 multiarch isnan for PPC64.
16818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
16819 multiarch isnanf for PPC64.
16820
69bbc63d
AZ
16821 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
16822 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
16823 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
16824 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
16825 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
16826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
16827
c24517c9
AZ
16828 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
16829 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16830 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16831 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16832
a52374e8
AZ
16833 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
16834 multiarch implementations.
16835 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16836 (__libc_ifunc_impl_list): Likewise.
16837 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16838 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
16839 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
16840 multiarch stpcpy for PPC64.
16841
7f5ec113
AZ
16842 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
16843 multiarch implementations.
16844 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16845 (__libc_ifunc_impl_list): Likewise.
16846 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
16847 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
16848 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
16849 multiarch strcpy for PPC64.
16850
e28bcd42
AZ
16851 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
16852 redefine function name.
16853 (_wordcopy_fwd_dest_aligned): Likewise.
16854 (_wordcopy_bwd_aligned): Likewise.
16855 (_wordcopy_bwd_dest_aligned): Likewise.
16856 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
16857 multiarch implementations.
16858 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16859 (__libc_ifunc_impl_list): Likewise.
16860 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
16861 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
16862 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
16863 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
16864 multiarch wcscpy for PPC64.
16865
92cacfce
AZ
16866 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
16867 multiarch implementations.
16868 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16869 (__libc_ifunc_impl_list): Likewise.
16870 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
16871 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
16872 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
16873 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
16874 multiarch wcscpy for PPC64.
16875
7b714620
AZ
16876 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
16877 multiarch implementations.
16878 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16879 (__libc_ifunc_impl_list): Likewise.
16880 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
16881 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
16882 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
16883 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
16884 multiarch wcsrchr for PPC64.
16885
16fd2ae3
AZ
16886 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
16887 multiarch implementations.
16888 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16889 (__libc_ifunc_impl_list): Likewise.
16890 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
16891 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
16892 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
16893 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
16894 multiarch wcschr for PPC64.
16895
9ee2969b
AZ
16896 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
16897 multiarch implementations.
16898 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16899 (__libc_ifunc_impl_list): Likewise.
16900 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
16901 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
16902 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
16903 multiarch strchrnul for PPC64.
16904
372dc060
AZ
16905 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
16906 implementations.
16907 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16908 (__libc_ifunc_impl_list): Likewise.
16909 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
16910 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
16911 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
16912 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
16913 strchr for PPC64.
16914
24c2c3b9
AZ
16915 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
16916 implementations.
16917 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16918 (__libc_ifunc_impl_list): Likewise.
16919 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
16920 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
16921 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
16922 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
16923 strncmp for PPC64.
16924
1c92d9a0
AZ
16925 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
16926 multiarch implementations.
16927 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16928 (__libc_ifunc_impl_list): Likewise.
16929 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
16930 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
16931 strncasecmp for PPC64.
16932 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
16933 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
16934 multiarch strncasecmp_l for PPC64.
16935
17de3ee3
AZ
16936 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
16937 multiarch implementations.
16938 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16939 (__libc_ifunc_impl_list): Likewise.
16940 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
16941 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
16942 multiarch strcasecmp for PPC64.
16943 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
16944 file.
16945 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
16946 multiarch strcasecmp_l for PPC64.
16947
62982bf9
AZ
16948 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
16949 implementations.
16950 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16951 (__libc_ifunc_impl_list): Likewise.
16952 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
16953 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
16954 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
16955 strnlen for PPC64.
16956
a65f4904
AZ
16957 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
16958 implementations.
16959 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16960 (__libc_ifunc_impl_list): Likewise.
16961 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
16962 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
16963 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
16964 strlen for PPC64.
16965
1fd005ad
AZ
16966 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
16967 implementations.
16968 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16969 (__libc_ifunc_impl_list): Likewise.
16970 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
16971 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
16972 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
16973 rawmemrchr for PPC64.
16974
cd05ba91
AZ
16975 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
16976 implementation.
16977 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16978 (__libc_ifunc_impl_list): Likewise.
16979 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
16980 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
16981 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
16982 memrchr for PPC64.
16983
870f8676
AZ
16984 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
16985 implementation.
16986 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16987 (__libc_ifunc_impl_list): Likewise.
16988 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
16989 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
16990 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
16991 memchr for PPC64.
16992
f00be62b
AZ
16993 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
16994 implementation.
16995 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16996 (__libc_ifunc_impl_list): Likewise.
16997 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
16998 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
16999 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
17000 mempcpy for PPC64.
17001
8a29a3d0
AZ
17002 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
17003 avoid cretion of __bzero symbol.
17004 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
17005 Likewise.
17006 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
17007 Likewise.
17008 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
17009 Likewise.
17010 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
17011 multiarch implementations.
17012 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17013 (__libc_ifunc_impl_list): Likewise.
17014 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
17015 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
17016 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
17017 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
17018 bzero for PPC32.
17019 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
17020 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
17021 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
17022 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
17023 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
17024 memset for PPC64.
17025 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
17026
07253fcf
AZ
17027 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
17028 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
17029 implementations.
17030 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17031 (__libc_ifunc_impl_list): Likewise.
17032 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
17033 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
17034 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
17035 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
17036 memcmp for PPC64.
17037
b5beafbc
AZ
17038 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
17039 multiarch for POWER/PPC64.
17040 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17041 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
17042 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
17043 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
17044 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
17045 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
17046 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
17047 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
17048 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
17049 memcpy for PPC64.
17050
5e6a4d4b
AZ
17051 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
17052 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
17053 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
17054 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
17055 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
17056 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
17057 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
17058 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
17059 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
17060 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
17061 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
17062 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
17063 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
17064 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
17065 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
17066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
17067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
17068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
17069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
17070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
17071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
17072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
17073
ddfab6dc
KK
170742013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17075
17076 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
17077
19b5525e
SP
170782013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17079
17080 * benchtests/Makefile (bench): Add exp2 and log2.
17081 (LDLIBS-bench-exp2): Add -lm.
17082 (LDLIBS-bench-log2): Likewise.
17083 * benchtests/exp2-inputs: New inputs file.
17084 * benchtests/log2-inputs: New inputs file.
17085 * benchtests/log-inputs: Add new inputs.
17086 * benchtests/tan-inputs: Likewise.
17087
196f7f5d
SP
170882013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17089
7a74607f
SP
17090 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
17091 definition...
57f41c40
AS
17092 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
17093 (csloww2): ... from here.
7a74607f 17094
196f7f5d
SP
17095 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
17096 instead of structures.
17097 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
17098 (POLYNOMIAL): Likewise.
17099 (TAYLOR_SLOW): Likewise.
17100 (__sin): Likewise.
17101 (__cos): Likewise.
17102 (slow1): Likewise.
17103 (slow2): Likewise.
17104 (sloww): Likewise.
17105 (sloww1); Likewise.
17106 (sloww2): Likewise.
17107 (bsloww1): Likewise.
17108 (bsloww2): Likewise.
17109 (cslow2): Likewise.
17110 (csloww): Likewise.
17111 (csloww1): Likewise.
17112 (csloww2): Likewise.
17113
0dfa665c
OB
171142013-12-10 Ondřej Bílka <neleai@seznam.cz>
17115
17116 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
17117 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
17118 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
17119 * malloc/hooks.c (realloc_check): Likewise.
17120
5782a80f
OB
17121 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
17122 * malloc/arena.c: Remove PER_THREAD conditional.
17123 [!PER_THREAD]: Remove code.
17124 (ptmalloc_unlock_all2): Likewise.
17125 (ptmalloc_init): Likewise.
17126 (_int_new_arena): Likewise.
17127 (arena_get2): Likewise.
17128 * malloc/hooks.c (__malloc_get_state): Likewise.
17129 (__malloc_set_state): Likewise.
17130 * malloc/malloc.c: Likewise.
17131 (struct malloc_state): Likewise.
17132 (struct malloc_par): Likewise.
17133 (__libc_realloc): Likewise.
17134 (__libc_mallopt): Likewise.
17135
aeb95445
AZ
171362013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17137
17138 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
17139
e8349efd
OB
171402013-12-09 Ondřej Bílka <neleai@seznam.cz>
17141
17142 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
17143 macro to a function. Check for zero perturb_byte.
17144 (_int_malloc, _int_free): Remove zero perturb_byte checks.
17145
f3eeb3fc 17146 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
17147 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
17148 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
17149 force_reg by atomic_forced_read.
17150 * malloc/arena.c (ptmalloc_init): Likewise.
17151 * malloc/hooks.c (top_check): Likewise.
17152
be2f9009
AZ
171532013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17154
17155 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17156
e7b914bd
MT
171572013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
17158
17159 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17160
9f0be4f8
JM
171612013-12-08 Joseph Myers <joseph@codesourcery.com>
17162
17163 * math/auto-libm-test-in: Add tests of lgamma.
17164 * math/auto-libm-test-out: Regenerated.
17165 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
17166 (M_LOG_2_SQRT_PIl): Likewise.
17167 (lgamma_test_data): Use AUTO_TESTS_f_f1.
17168 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17169 mpfr_f_f1.
17170 (func_calc_desc): Add mpfr_f_f1 union field.
17171 (ARGS1): New macro.
17172 (ARGS2): Likewise.
17173 (ARGS3): Likewise.
17174 (ARGS4): Likewise.
17175 (RET1): Likewise.
17176 (RET2): Likewise.
17177 (CALC): Likewise.
17178 (FUNC): Likewise.
17179 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
17180 (test_functions): Add lgamma.
17181 (calc_generic_results): Handle mpfr_f_f1.
17182 * sysdeps/i386/fpu/libm-test-ulps: Update.
17183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17184
24eeafdb
AZ
171852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17186
17187 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
17188 __mpn_add_n for PowerPC64/POWER7.
17189 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
17190 __mpn_sub_n for PowerPC64/POWER7.
17191
4a2c0fd4
AZ
17192 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
17193 __mpn_addmul_1 for PowerPC64.
17194 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
17195 __mpn_submul_1 for PowerPC64.
17196 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
17197 for PowerPC64.
17198 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
17199 for PowerPC64.
17200
4b5b548c
FS
172012013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
17202
17203 [BZ #15089]
17204 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
17205
0a3ac0aa
AZ
172062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17207
17208 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
17209
ccdc8438
AZ
17210 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
17211 add multiarch folders.
17212 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
17213 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
17214 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
17215 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
17216 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
17217 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
17218 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
17219 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
17220 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
17221 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
17222 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
17223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
17224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
17225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
17226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
17227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
17228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
17229
2e973d99
AZ
17230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17231 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
17232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
17233 New file.
17234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
17235 New file.
17236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
17237 multiarch __ieee754_hypot for PowerPC32.
17238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
17239 New file.
17240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
17241 New file.
17242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
17243 multiarch __ieee754_hypotf for PowerPC32.
17244
2d9470b2
AZ
17245 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
17246 long_double_symbol only if __logbl is defined.
17247 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
17248 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
17249 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
17250 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
17251 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
17252 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
17253 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
17254 path for implementation.
17255 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
17256 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
17257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
17258 logb, and logbl multiarch implementations for PowerPC32.
17259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
17260 file.
17261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
17262 file.
17263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
17264 multiarch logb for PowerPC32.
17265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
17266 file.
17267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
17268 file.
17269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
17270 multiarch logbf for PowerPC32.
17271 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
17272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
17273 file.
17274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
17275 multiarch logbl implementation for PowerPC32.
17276
5212ffce
AZ
17277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
17278 and modff multiarch implementations.
17279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
17280 New file.
17281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
17282 New file.
17283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
17284 multiarch modf for PowerPC32.
17285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
17286 New file.
17287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
17288 New file.
17289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
17290 multiarch modff for PowerPC32.
17291
79dccf31
AZ
17292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
17293 and lrintf multiarch implementations.
17294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
17295 New file.
17296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
17297 New file.
17298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
17299 multiarch lrint for PowerPC32.
17300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
17301 file: multiarch lrintf for PowerPC32.
17302
deb66480
AZ
17303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
17304 and lroundf multiarch implementations.
17305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
17306 New file.
17307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
17308 New file.
17309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
17310 New file.
17311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
17312 multiarch lround for PowerPC32.
17313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
17314 file: multiarch lroundf for PowerPC32.
17315
264b036b
AZ
17316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17317 copysign and copysignf multiarch implementations.
17318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
17319 New file.
17320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
17321 New file.
17322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
17323 file: multiarch copysign for PowerPC32.
17324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
17325 file: multiarch copysignf for PowerPC32.
17326
d47db6c9
AZ
17327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
17328 and truncf multiarch implementations.
17329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
17330 New file.
17331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
17332 file.
17333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
17334 multiarch trunc for PowerPC32.
17335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
17336 New file.
17337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
17338 New file.
17339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
17340 multiarch truncf for PowerPC32.
17341
ddb60b5a
AZ
17342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
17343 and roundf multiarch implementations.
17344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
17345 New file.
17346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
17347 file.
17348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
17349 multiarch round for PowerPC32.
17350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
17351 New file.
17352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
17353 New file.
17354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
17355 multiarch roundf for PowerPC32.
17356
bedcf49b
AZ
17357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
17358 and floorf multiarch implementations.
17359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
17360 New file.
17361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
17362 file.
17363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
17364 multiarch floor for PowerPC32.
17365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
17366 New file.
17367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
17368 New file.
17369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
17370 multiarch floorf for PowerPC32.
17371
35ae5b40
AZ
17372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
17373 and ceilf multiarch implementations.
17374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
17375 New file.
17376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
17377 file.
17378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
17379 multiarch ceil for PowerPC32.
17380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
17381 New file.
17382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
17383 file.
17384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
17385 multiarch ceilf for PowerPC32.
17386
ae1a4cd9
AZ
17387 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
17388 is defined.
17389 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
17390 FINITEF is defined.
17391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
17392 and finitef multiarch implementations.
17393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
17394 New file.
17395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
17396 file.
17397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
17398 multiarch finite for PowerPC32.
17399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
17400 New file.
17401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
17402 file: multiarch finitef for PowerPC32.
17403
64fffd65
AZ
17404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
17405 and isinff multiarch implementations.
17406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
17407 file.
17408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
17409 file.
17410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
17411 multiarch isinf for PowerPC32.
17412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
17413 New file.
17414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
17415 multiarch isinff for PowerPC32.
17416
8e4e7ba2
AZ
17417 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
17418 alias when __isnan is defined.
17419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
17420 and isnanf multiarch implementations.
17421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
17422 file.
17423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
17424 file.
17425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
17426 file.
17427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
17428 file.
17429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
17430 multiarch isnan for PowerPC32.
17431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
17432 New file.
17433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
17434 New file.
17435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
17436 multiarch isnanf for PowerPC32.
17437
ddba588e
AZ
17438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
17439 and sqrtf multiarch implementations.
17440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
17441 file.
17442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
17443 file.
17444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
17445 multiarch sqrt for PowerPC32.
17446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
17447 file.
17448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
17449 file.
17450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
17451 multiarch sqrtf for PowerPC32.
17452
0f96a2f0
AZ
17453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
17454 and llroundf multiarch implementations.
17455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
17456 New file.
17457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
17458 New file.
17459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
17460 New file.
17461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
17462 file: multiarch llround for PowerPC32.
17463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
17464 file: multiarch llroundf for PowerPC32.
17465
c9b5d79e
AZ
17466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
17467 multiarch PowerPC32 fpu implementations.
17468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
17469 New file.
17470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
17471 New file.
17472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
17473 multiarch llrint for PowerPC32.
17474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
17475 New file.
17476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
17477 New file.
17478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
17479 file.
17480
9cbb3aab
AZ
17481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
17482
ea5a72f8
AZ
17483 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
17484 file.
17485 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
17486 file.
17487 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
17488 file.
17489 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
17490 multiarch wordcopy for PPC32.
17491 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17492 wordcopy objects.
17493 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17494 (__libc_ifunc_impl_list): Likewise.
17495 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
17496 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
17497 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
17498 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
17499 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
17500 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
17501
93be09e7
AZ
17502 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
17503 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
17504 file.
17505 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
17506 file.
17507 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
17508 file.
17509 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
17510 multiarch wcscpy for PPC32.
17511 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17512 multiarch objects.
17513 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17514 (__libc_ifunc_impl_list): Likewise.
17515 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17516 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17517 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
17518 sysdeps/powerpc/power6/wcscpy.c.
17519
bb04e529
AZ
17520 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
17521 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
17522 file.
17523 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
17524 file.
17525 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
17526 file.
17527 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
17528 multiarch wcsrchr for PPC32.
17529 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17530 multiarch objects.
17531 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17532 (__libc_ifunc_impl_list): Likewise.
17533 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17534 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17535 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
17536 sysdeps/powerpc/power6/wcsrchr.c.
17537
05b5cd1c
AZ
17538 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
17539 file.
17540 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
17541 file.
17542 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
17543 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
17544 multiarch wcschr for PPc32.
17545 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17546 multiarch objects.
17547 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17548 (__libc_ifunc_impl_list): Likewise.
17549 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
17550 * sysdeps/powerpc/power6/wcschr.c: ... to here.
17551 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
17552 sysdeps/powerpc/power6/wcschr.c.
17553
ba964147
AZ
17554 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
17555 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
17556 file.
17557 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
17558 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
17559 file: multiarch strchr for PPC32.
17560 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
17561 multiarch objects.
17562 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17563 (__libc_ifunc_impl_list): Likewise.
17564
31c81aaa
AZ
17565 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
17566 name.
17567 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
17568 file.
17569 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
17570 file.
17571 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
17572 multiarch strchrnul for PPC32.
17573 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
17574 multiarch objects.
17575 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17576 (__libc_ifunc_impl_list): Likewise.
17577
0d0607d9
AZ
17578 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
17579 file.
17580 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
17581 multiarch strncasecmp for PPC32.
17582 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
17583 file.
17584 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
17585 multiarch strncasecmp_l for PPC32.
17586 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
17587 strncasecmp multiarch objects.
17588 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17589 (__libc_ifunc_impl_list): Likewise.
17590
4dfd5c86
AZ
17591 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
17592 file.
17593 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
17594 multiarch strncasecmp for PPC32.
17595 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17596 New file.
17597 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
17598 multiarch strcasecmp_l for PPC32.
17599 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
17600 multiarch objects.
17601 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17602 (__libc_ifunc_impl_list): Likewise.
17603
a19e01a3
AZ
17604 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
17605 file.
17606 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
17607 file.
17608 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
17609 multiarch strncmp for PPC32.
17610 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
17611 multiarch objects.
17612 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17613 (__libc_ifunc_impl_list): Likewise.
17614
ae9cf7a2
AZ
17615 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
17616 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
17617 file.
17618 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
17619 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
17620 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
17621 multiarch objects.
17622 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17623 (__libc_ifunc_impl_list): Likewise.
17624
3148bb7d
AZ
17625 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
17626 file.
17627 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
17628 file.
17629 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
17630 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
17631 multiarch objects.
17632 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17633 (__libc_ifunc_impl_list): Likewise.
17634
7af8b946
AZ
17635 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
17636 file.
17637 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
17638 file.
17639 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
17640 multiarch rawmemchr for PPC32.
17641 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
17642 multiarch objects.
17643 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17644 (__libc_ifunc_impl_list): Likewise.
17645
03a6aa6a
AZ
17646 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
17647 file.
17648 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
17649 file.
17650 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
17651 file: memrchr multiarch for PPC32.
17652 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
17653 multiarch objects.
17654 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17655 (__libc_ifunc_impl_list): Likewise.
17656
1c62e6d9
AZ
17657 * string/memchr.c (__memchr): Using macro to redefine symbol name.
17658 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
17659 file.
17660 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
17661 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
17662 multiarch memchr for PPC32.
17663 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
17664 multiarch objects.
17665 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17666 (__libc_ifunc_impl_list): Likewise.
17667
87da8bdb
AZ
17668 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
17669 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
17670 file.
17671 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
17672 file.
17673 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
17674 file: multiarch mempcpy for PPC32.
17675 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
17676 multiarch objects.
17677 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17678 (__libc_ifunc_impl_list): Likewise.
17679
20ed4714
AZ
17680 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
17681 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
17682 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
17683 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
17684 multiarch bzero for PPC32.
17685 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
17686 file.
17687 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
17688 file.
17689 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
17690 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
17691 file: multiarch memset for PPC32.
17692 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
17693 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
17694 memset multiarch objects.
17695 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17696 (__libc_ifunc_impl_list): Likewise.
17697
ab3e3a46
AZ
17698 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
17699 file.
17700 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
17701 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
17702 memcmp for PPC32.
17703 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
17704 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
17705 multiarch objects.
17706 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17707 (__libc_ifunc_impl_list): Likewise.
17708
930de6f0
AZ
17709 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
17710 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
17711 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
17712 file.
17713 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
17714 file.
17715 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
17716 file.
17717 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
17718 multiarch memcpy for PPC32.
17719 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
17720 multiarch objects.
17721 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17722 (__libc_ifunc_impl_list): Likewise.
17723
4c628e00
AZ
17724 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
17725 support multiarch for POWER/PPC32.
17726 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
17727 Likewise.
17728 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
17729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
17730 Implies file to make multiarch folder appers before the fpu and
17731 default folder for power4 configuration.
17732
f4479220
SP
177332013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17734
17735 * scripts/bench.pl: Append volatile keyword to type.
17736
8517800f
KK
177372013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17738
17739 * sysdeps/sh/sotruss-lib.c: New file.
17740 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
17741
180138f1
AZ
177422013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17743
17744 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17745
bbf37bdc
JM
177462013-12-05 Joseph Myers <joseph@codesourcery.com>
17747
e47cc4e0
JM
17748 [BZ #6810]
17749 * math/w_tgamma.c: Include <errno.h>.
17750 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
17751 * math/w_tgammaf.c: Include <errno.h>.
17752 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
17753 * math/w_tgammal.c: Include <errno.h>.
17754 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
17755 * math/auto-libm-test-in: Do not allow missing errno on tgamma
17756 underflow. Add more tgamma tests.
17757 * math/auto-libm-test-out: Regenerated.
17758 * sysdeps/i386/fpu/libm-test-ulps: Update.
17759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17760
bbf37bdc
JM
17761 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
17762 sin, sinh, tan, tanh, tgamma, y0 and y1.
17763 * math/auto-libm-test-out: Regenerated.
17764 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17765 (TEST_COND_x86): Likewise.
17766 (M_E2l): Remove macro.
17767 (M_E3l): Likewise.
17768 (M_2_SQRT_PIl): Likewise.
17769 (M_SQRT_PIl): Likewise.
17770 (M_1_DIV_El): Likewise.
17771 (log_test_data): Use AUTO_TESTS_f_f.
17772 (log10_test_data): Likewise.
17773 (log1p_test_data): Likewise.
17774 (log2_test_data): Likewise.
17775 (sin_test_data): Likewise.
17776 (sin_tonearest_test_data): Likewise.
17777 (sin_towardzero_test_data): Likewise.
17778 (sin_downward_test_data): Likewise.
17779 (sin_upward_test_data): Likewise.
17780 (sinh_test_data): Likewise.
17781 (sinh_tonearest_test_data): Likewise.
17782 (sinh_towardzero_test_data): Likewise.
17783 (sinh_downward_test_data): Likewise.
17784 (sinh_upward_test_data): Likewise.
17785 (tan_test_data): Likewise.
17786 (tan_tonearest_test_data): Likewise.
17787 (tan_towardzero_test_data): Likewise.
17788 (tan_downward_test_data): Likewise.
17789 (tan_upward_test_data): Likewise.
17790 (tanh_test_data): Likewise.
17791 (tgamma_test_data): Likewise.
17792 (y0_test_data): Likewise.
17793 (y1_test_data): Likewise.
17794 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
17795 (special_real_inputs): Add pi/4.
17796 * sysdeps/i386/fpu/libm-test-ulps: Update.
17797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17798
eb5ad6b9
AZ
177992013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17800
17801 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
17802 "longjmp_target" static probes.
17803 (__longjmp): Rename to __longjmp_symbol.
17804 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17805 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
17806 on which longjmp to generate.
17807 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17808 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
17809 probe.
17810 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17811 (__sigjmp_save): Rename to __sigjmp_save_symbol.
17812 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17813 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
17814 and __sigjmp_save_symbol based on which sigsetjmp to generated.
17815 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
17816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
17817 __longjmp_symbol based on which __longjmp to generate.
17818 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
17819 probe.
17820 (setjmp): Rename to setjmp_symbol.
17821 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17822 (_setjmp): Rename to _setjmp_symbol.
17823 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17824 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
17825 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
17826 which setjmp to generate.
17827 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
17828 "longjmp_target" static probes.
17829
d136c6dc
SP
178302013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17831
9298ecba
SP
17832 * benchtests/README: Add note about output arguments.
17833 * benchtests/bench-sincos.c: Remove file.
17834 * benchtests/sincos-inputs: New file.
17835 * scripts/bench.pl: Identify output arguments and define
17836 static variables for them.
17837
232983e9
SP
17838 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
17839
d136c6dc
SP
17840 [BZ #15941]
17841 * Makefile (INSTALL): Add install-plain.texi as the primary
17842 dependency.
17843 * manual/install-plain.texi: New file.
17844 * manual/install.texi: Include node directive only for
17845 non-plaintext output.
17846
699ff837
JM
178472013-12-04 Joseph Myers <joseph@codesourcery.com>
17848
ab07cea8
JM
17849 * stdlib/longlong.h: Update from GCC.
17850
699ff837
JM
17851 [BZ #6807]
17852 [BZ #15901]
17853 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
17854 * math/w_j0f.c (y0f): Likewise.
17855 * math/w_j0l.c (__y0l): Likewise.
17856 * math/w_j1.c (y1): Likewise.
17857 * math/w_j1f.c (y1f): Likewise.
17858 * math/w_j1l.c (__y1l): Likewise
17859 * math/w_jn.c (yn): Likewise.
17860 * math/w_jnf.c (ynf): Likewise.
17861 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
17862 Bessel function pole errors in _POSIX_ mode. Use NAN as return
17863 value for Bessel function domain errors outside _SVID_ mode.
17864 Adjust sign of return value for yn (negative integer, 0).
17865 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
17866 by zero in return for negative x and set sign appropriately for
17867 negative n.
17868 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
17869 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17870 * math/libm-test.inc (y0_test_data): Add more tests and adjust
17871 expectations in error cases.
17872 (y1_test_data): Likewise.
17873 (yn_test_data): Likewise.
17874 * sysdeps/i386/fpu/libm-test-ulps: Update.
17875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17876
5b118558
UW
178772013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17878
17879 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
17880 "64" to "64-v1". Add "64-v2".
17881 (abi-64-options): Rename to ...
17882 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
17883 (abi-64-condition): Rename to ...
17884 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
17885 (abi-64-ld-soname): Rename to ...
17886 (abi-64-v1-ld-soname): ... this.
17887 (abi-64-v2-options): Define.
17888 (abi-64-v2-condition): Likewise.
17889 (abi-64-v2-ld-soname): Likewise.
17890 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
17891 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
17892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
17893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
17894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
17895
61cd8fe4
UW
178962013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17897 Alan Modra <amodra@gmail.com>
17898
17899 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
17900 New versions for use with the ELFv2 ABI.
17901 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
17902 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
17903 declaration.
17904 (struct La_ppc64v2_retval): Likewise.
17905 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
17906 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
17907 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
17908 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
17909 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
17910 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17911 Do not save or restore CR.
17912 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
17913 (_dl_profile_resolve): Do no save or restore CR. Support extended
17914 return values for ELFv2 ABI. Fix location of FPR return registers.
17915 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
17916 updated values for _CALL_ELF == 2.
17917 (La_regs, La_retval, int_retval): Likewise.
17918
8b8a692c
UW
179192013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17920
17921 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
17922 (FRAME_MIN_SIZE_PARM): Likewise.
17923 (FRAME_BACKCHAIN): Likewise.
17924 (FRAME_CR_SAVE): Likewise.
17925 (FRAME_LR_SAVE): Likewise.
17926 (FRAME_TOC_SAVE): Likewise.
17927 (FRAME_PARM_SAVE): Likewise.
17928 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
17929 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
17930 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
17931 (call_mcount_parm_offset): New macro.
17932 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
17933 (PROF): Use symbolic stack frame offsets.
17934 (TAIL_CALL_SYSCALL_ERROR): Likewise.
17935 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
17936 Redefine in terms of FRAME_MIN_SIZE.
17937 (_dl_runtime_resolve): Use symbolic stack frame offsets.
17938 (_dl_profile_resolve): Likewise. Update comment.
17939 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
17940 symbols stack frame offsets.
17941 (__sigsetjmp): Likewise.
17942 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
17943 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
17944 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
17945 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
17946
17947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
17948 (FRAME_BACKCHAIN): Remove.
17949 (FRAME_CR_SAVE): Likewise.
17950 (FRAME_LR_SAVE): Likewise.
17951 (FRAME_COMPILER_DW): Likewise.
17952 (FRAME_LINKER_DW): Likewise.
17953 (FRAME_TOC_SAVE): Likewise.
17954 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
17955 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
17956 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
17957 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
17958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
17959 (CHECK_SP): Use symbolic stack frame offsets.
17960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
17961 zone" instead of caller's parameter save area for temp storage.
17962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17963 Likewise. Also, use symbolic stack frame offsets.
17964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
17965 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
17966 our own stack frame instead of the caller's.
17967 (__socket): Use symbolic stack frame offsets.
17968
122b66de
UW
179692013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17970 Alan Modra <amodra@gmail.com>
17971
17972 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
17973 Define.
57f41c40
AS
17974 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
17975 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
17976 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
17977 New function.
17978 (elf_machine_fixup_plt): Call it.
17979 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
17980 reloc arguments.
17981 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
17982 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17983 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
17984 r2 before calling target.
17985
696caf1d
UW
179862013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17987 Alan Modra <amodra@gmail.com>
17988
17989 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
17990 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
17991 versions of macros to support ELFv2 ABI.
17992 (LOCALENTRY): New macro.
17993 (ENTRY, EALIGN): Use it.
17994 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
17995 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
17996 fall through into ENTRY entry point.
17997 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
17998 Only define if _CALL_ELF != 2.
17999
18000 (elf_machine_matches_host): Verify ABI version matches.
18001 (RTLD_START): Use LOCALENTRY.
18002 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
18003 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
18004 (PLT_ENTRY_WORDS): New macro.
18005 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
18006 (elf_machine_runtime_setup): Support ELFv2 ABI.
18007 (elf_machine_fixup_plt): Likewise.
18008 (elf_machine_plt_conflict): Likewise.
18009 (resolve_ifunc): Likewise.
18010 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18011 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18012 Likewise.
18013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
18014 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
18015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18016 (makecontext): Support ELFv2 ABI.
18017 * elf/elf.h (EF_PPC64_ABI): Define.
18018
d31beafa
UW
180192013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18020
57f41c40
AS
18021 * sysdeps/powerpc/powerpc64/sysdep.h
18022 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
18023 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
18024 (ENTRY) [ASSEMBLER]: ... but instead here ...
18025 (EALIGN) [ASSEMBLER]: ... and here.
18026 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
18027 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
18028 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
18029 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
18030 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
18031 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18032 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
18033 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
18034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
18035 Use PPC64_LOAD_FUNCPTR.
18036
b525166b
UW
18037 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
18038
7ec07d9a
AM
180392013-12-04 Alan Modra <amodra@gmail.com>
18040
18041 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
18042 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
18043 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
18044 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
18045
18046 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
18047 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
18048 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
18049 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
18050 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
18051 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
18052
5162e7dd
UW
180532013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18054
18055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18056 (__makecontext): Fix incorrect CFI when backtracing out of
18057 context created via makecontext.
18058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
18059 (__setcontext): Fix incorrect CFI during switch to new context.
18060 (__novec_setcontext): Likewise.
18061
19e3372b
OB
180622013-12-04 Ondřej Bílka <neleai@seznam.cz>
18063
18064 [BZ #4772]
18065 * time/strptime_l.c (__strptime_internal): Allow modifiers
18066 in strptime.
18067 * time/tst-strptime.c (day_tests): Add testcase.
18068
ecaf142d
SP
180692013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18070
18071 * scripts/bench.pl: Skip over blank lines.
18072
fbf964ae
PE
180732013-12-04 Paul Eggert <eggert@cs.ucla.edu>
18074
18075 [BZ #926]
18076 * manual/time.texi (Calendar Time): Clarify what timezone functions
18077 use.
18078
fa60a674
AZ
180792013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18080
18081 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18082
d674f0ef
OB
180832013-12-04 Ondřej Bílka <neleai@seznam.cz>
18084
18085 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
18086 implementation.
18087 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
18088 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
18089 * debug/memset_chk.c (__memset_chk): Likewise.
18090 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
18091 * debug/strncpy_chk.c: Likewise.
18092
17dea188
JM
180932013-12-03 Joseph Myers <joseph@codesourcery.com>
18094
749008ff
JM
18095 [BZ #15268]
18096 [BZ #15425]
18097 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
18098 (__ieee754_exp): For possibly underflowing results, check size of
18099 result and force underflow exception if required.
18100 * math/auto-libm-test-in: Add more tests of exp.
18101 * math/auto-libm-test-out: Regenerated.
18102 * sysdeps/i386/fpu/libm-test-ulps: Update.
18103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18104
17dea188
JM
18105 [BZ #16283]
18106 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
18107 * math/w_exp2f.c (__exp2f): Likewise.
18108 * math/w_exp2l.c (__exp2l): Likewise.
18109 * math/auto-libm-test-in: Do not allow missing errno on exp2
18110 underflow.
18111 * math/auto-libm-test-out: Regenerated.
18112
b20de2c3
OB
181132013-12-03 Ondřej Bílka <neleai@seznam.cz>
18114
18115 [BZ #16274]
18116 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
18117 handle filename validation.
18118 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
18119 (do_open): Delete.
18120
d8e2dbe3
JM
181212013-12-03 Joseph Myers <joseph@codesourcery.com>
18122
34e16df5
JM
18123 [BZ #6786]
18124 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
18125 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
18126 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
18127 <float.h>.
18128 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
18129 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
18130 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18131 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
18132 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18133 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
18134 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18135 * math/auto-libm-test-in: Don't allow missing errno from erfc.
18136 Add more erfc tests.
18137 * math/auto-libm-test-out: Regenerated.
18138 * sysdeps/i386/fpu/libm-test-ulps: Update.
18139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18140
d8e2dbe3
JM
18141 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
18142 exp2, expm1, j0 and j1.
18143 * math/auto-libm-test-out: Regenerated.
18144 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
18145 (erfc_test_data): Likewise.
18146 (exp_test_data): Likewise.
18147 (exp_tonearest_test_data): Likewise.
18148 (exp_towardzero_test_data): Likewise.
18149 (exp_downward_test_data): Likewise.
18150 (exp_upward_test_data): Likewise.
18151 (exp10_test_data): Likewise.
18152 (exp2_test_data): Likewise.
18153 (expm1_test_data): Likewise.
18154 (j0_test_data): Likewise.
18155 (j1_test_data): Likewise.
18156 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
18157 (input_flag_type): Add flag_xfail_rounding.
18158 (input_flags): Add xfail-rounding.
18159 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
18160 (output_for_one_input_case): Handle flag_xfail_rounding.
18161 * sysdeps/i386/fpu/libm-test-ulps: Update.
18162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18163
18d14251
AJ
181642013-12-03 Aurelien Jarno <aurelien@aurel32.net>
18165
3d2e6075 18166 [BZ #16289]
18d14251
AJ
18167 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
18168 division by 0.
18169
520d437b
SP
181702013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18171
18172 [BZ #16195]
18173 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
18174 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
18175 (STAP_PROBE0): New macro.
18176 (STAP_PROBE1): Likewise.
18177 (STAP_PROBE2): Likewise.
18178 (STAP_PROBE3): Likewise.
18179 (STAP_PROBE4): Likewise.
18180
416e0145
OB
181812013-12-02 Ondřej Bílka <neleai@seznam.cz>
18182
18183 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
18184
9d17796a
SE
181852013-12-02 Steve Ellcey <sellcey@mips.com>
18186
18187 * benchtests/Makefile (bench): Add sqrt.
18188 (LDLIBS-bench-sqrt): New.
18189 * benchtests/sqrt-input: New.
18190
f524d6a8
PS
181912013-12-02 Pavel Simerda <psimerda@redhat.com>
18192
639a0ef8
PS
18193 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
18194 (GAIH_EAI): Likewise.
18195 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
18196 (gaih_inet): Likewise.
18197 (getaddrinfo): Don't use GAIH_EAI.
18198
f524d6a8
PS
18199 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
18200 (struct gaih): Remove definition.
18201
df3aedaf
SP
182022013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18203
18204 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
18205 Use HERRNOP directly.
18206
1ab19dec
AZ
182072013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18208
b42ad38d 18209 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 18210
176b0c79
JM
182112013-11-30 Joseph Myers <joseph@codesourcery.com>
18212
18213 * math/gen-auto-libm-tests.c (test_functions): Add more
18214 single-argument functions.
18215 (special_fill_pi_2): New function.
18216 (special_fill_minus_pi_2): Likewise.
18217 (special_fill_pi_6): Likewise.
18218 (special_fill_minus_pi_6): Likewise.
18219 (special_fill_pi_3): Likewise.
18220 (special_fill_2pi_3): Likewise.
18221 (special_fill_e): Likewise.
18222 (special_fill_1_e): Likewise.
18223 (special_fill_e_minus_1): Likewise.
18224 (special_real_inputs): Add more special inputs.
18225 (output_for_one_input_case): Do not require ERANGE on underflow to
18226 zero if round-to-nearest result does not underflow to zero, unless
18227 exact results required.
18228 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
18229 atan, atanh, cbrt, cos and cosh.
18230 * math/auto-libm-test-out: Regenerated.
18231 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
18232 (acos_tonearest_test_data): Likewise.
18233 (acos_towardzero_test_data): Likewise.
18234 (acos_downward_test_data): Likewise.
18235 (acos_upward_test_data): Likewise.
18236 (acosh_test_data): Likewise.
18237 (asin_test_data): Likewise.
18238 (asin_tonearest_test_data): Likewise.
18239 (asin_towardzero_test_data): Likewise.
18240 (asin_upward_test_data): Likewise.
18241 (asinh_test_data): Likewise.
18242 (atan_test_data): Likewise.
18243 (atanh_test_data): Likewise.
18244 (cbrt_test_data): Likewise.
18245 (cos_test_data): Likewise.
18246 (cos_tonearest_test_data): Likewise.
18247 (cos_towardzero_test_data): Likewise.
18248 (cos_downward_test_data): Likewise.
18249 (cos_upward_test_data): Likewise.
18250 (cosh_test_data): Likewise.
18251 (cosh_tonearest_test_data): Likewise.
18252 (cosh_towardzero_test_data): Likewise.
18253 (cosh_downward_test_data): Likewise.
18254 (cosh_upward_test_data): Likewise.
18255 * sysdeps/i386/fpu/libm-test-ulps: Update.
18256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18257
ffb536d0
JM
182582013-11-29 Joseph Myers <joseph@codesourcery.com>
18259
2a77a467
JM
18260 [BZ #6787]
18261 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
18262 * math/w_exp10f.c (__exp10f): Likewise.
18263 * math/w_exp10l.c (__exp10l): Likewise.
18264 * math/libm-test.inc (exp10_test_data): Add more tests and expect
18265 errno settings in existing tests.
18266
ea3bc4e8
JM
18267 [BZ #14032]
18268 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
18269 precision control set to double precision.
18270 * sysdeps/i386/fpu/w_sqrt.c: New file.
18271 * math/auto-libm-test-in: Add more tests.
18272 * math/auto-libm-test-out: Update.
18273
0712c9d8
JM
18274 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
18275 (sqrt_test_tonearest): New function.
18276 (sqrt_towardzero_test_data): New variable.
18277 (sqrt_test_towardzero): New function.
18278 (sqrt_downward_test_data): New variable.
18279 (sqrt_test_downward): New function.
18280 (sqrt_upward_test_data): New variable.
18281 (sqrt_test_upward): New function.
18282 (main): Call the new functions.
18283
ffb536d0
JM
18284 * math/gen-auto-libm-tests.c: New file.
18285 * math/auto-libm-test-in: Likewise.
18286 * math/auto-libm-test-out: New generated file.
18287 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
18288 variables.
18289 (%beautify): Add generated representations of zero.
18290 (top level): Set $auto_input and call parse_auto_input.
18291 (beautify): Remove trailing "f" from hex float constants.
18292 (parse_args): Handle XFAIL_TEST.
18293 (convert_condition): New function.
18294 (or_value): Likewise.
18295 (or_cond_value): Likewise.
18296 (generate_testfile): Handle AUTO_TESTS_* lines.
18297 (parse_auto_input): New function.
18298 * math/libm-test.inc (XFAIL_TEST): New macro.
18299 (ERRNO_UNCHANGED): Update value.
18300 (ERRNO_EDOM): Likewise.
18301 (ERRNO_ERANGE): Likewise.
18302 (IGNORE_RESULT): Likewise.
18303 (TEST_COND_flt_32): New macro.
18304 (TEST_COND_dbl_64): Likewise.
18305 (TEST_COND_ldbl_96_intel): Likewise.
18306 (TEST_COND_ldbl_96_m68k): Likewise.
18307 (TEST_COND_ldbl_128): Likewise.
18308 (TEST_COND_ldbl_128ibm): Likewise.
18309 (TEST_COND_long32): Likewise.
18310 (TEST_COND_long64): Likewise.
18311 (TEST_COND_before_rounding): Likewise.
18312 (TEST_COND_after_rounding): Likewise.
18313 (enable_test): Handle XFAIL_TEST flag.
18314 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
18315 with finite results.
18316 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
18317 auto-libm-test-out.
18318
acd98a8e
AK
183192013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18320 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18321
18322 [BZ #16214]
18323 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
18324 __tls_get_addr_internal instead of __tls_get_offset in order to
18325 avoid GOT pointer dependency. Make rtld export
18326 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
18327 __tls_get_addr since we are a __tls_get_offset platform.
18328 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
18329 GOT pointer being set up before.
18330 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
18331
3c1c46a6
JM
183322013-11-28 Joseph Myers <joseph@codesourcery.com>
18333
7475aef5
JM
18334 * manual/math.texi (Errors in Math Functions): Document accuracy
18335 goals.
18336
8bca7cd8
JM
18337 [BZ #15004]
18338 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
18339 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
18340 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18341 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18342 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18343 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18344 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18345 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18346 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18347 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18348 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18349 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18350 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18351 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18352 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18353 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18354
91a1f3fe
JM
18355 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
18356 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
18357 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
18358 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
18359 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
18360 Likewise.
18361 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
18362 Likewise.
18363 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
18364 Likewise.
18365 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
18366 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
18367 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
18368 atomic-feupdateenv and flt-rounds.
18369 * sysdeps/powerpc/nofpu/Versions (libc): Add
18370 __atomic_feholdexcept, __atomic_feclearexcept,
18371 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
18372 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
18373 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
18374 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
18375 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
18376 here.
18377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18378 Update.
18379
c5df7609
JM
18380 * manual/arith.texi (FP Exceptions): Document that exceptions may
18381 not be raised when matherr is used.
18382 (Math Error Reporting): Document overflow in directed rounding
18383 modes. Document that errno may not be set when finite values are
18384 returned on overflow. Document intent to set errno on underflow
18385 only for underflow to zero.
18386
3c1c46a6
JM
18387 [BZ #16271]
18388 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
18389 round-to-nearest then adjust result for other rounding modes.
18390 * include/fenv.h (fegetround): Use libm_hidden_proto.
18391 * math/fegetround.c (fegetround): Use libm_hidden_def.
18392 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18393 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18394 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18395 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18396 Likewise.
18397 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
18398 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18399 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18400 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
18401
5a4c6d53
SP
184022013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18403
18404 [BZ #16077]
18405 * nss/Versions (libnss_files): Add
18406 _nss_files_gethostbyname3_r.
18407 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
18408 New function.
18409 (HOST_DB_LOOKUP): Remove macro.
18410 (_nss_files_gethostbyname_r): Implement function without the
18411 HOST_DB_LOOKUP macro.
18412 (_nss_files_gethostbyname2_r): Likewise.
18413
897b98ba
OB
184142013-11-28 Ondřej Bílka <neleai@seznam.cz>
18415
18416 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
18417
6f476861
UB
184182013-11-26 Uros Bizjak <ubizjak@gmail.com>
18419
18420 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
18421 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
18422 warning.
18423
bd12ab55
AZ
184242013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18425
18426 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
18427 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
18428 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18429 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18430 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
18431 __fe_nomask_env_priv and attribute_hidden.
18432 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
18433 (libc_feupdateenv_test_ppc): Likewise.
18434 (libc_feresetround_ppc): Likewise.
18435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18436 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
18437 compat_symbol macro.
18438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18439 (__fe_nomask_env): Likewise.
18440 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
18441
52bb6543
OB
184422013-11-26 Ondřej Bílka <neleai@seznam.cz>
18443
18444 * string/Makefile: Remove ifunc tests.
18445 * string/test-string.h: Define TEST_IFUNC.
18446 * string/test-bcopy-ifunc.c: Remove.
18447 * string/test-bzero-ifunc.c: Likewise.
18448 * string/test-memccpy-ifunc.c: Likewise.
18449 * string/test-memchr-ifunc.c: Likewise.
18450 * string/test-memcmp-ifunc.c: Likewise.
18451 * string/test-memcpy-ifunc.c: Likewise.
18452 * string/test-memmem-ifunc.c: Likewise.
18453 * string/test-memmove-ifunc.c: Likewise.
18454 * string/test-mempcpy-ifunc.c: Likewise.
18455 * string/test-memrchr-ifunc.c: Likewise.
18456 * string/test-memset-ifunc.c: Likewise.
18457 * string/test-rawmemchr-ifunc.c: Likewise.
18458 * string/test-stpcpy-ifunc.c: Likewise.
18459 * string/test-stpncpy-ifunc.c: Likewise.
18460 * string/test-strcasecmp-ifunc.c: Likewise.
18461 * string/test-strcasestr-ifunc.c: Likewise.
18462 * string/test-strcat-ifunc.c: Likewise.
18463 * string/test-strchr-ifunc.c: Likewise.
18464 * string/test-strchrnul-ifunc.c: Likewise.
18465 * string/test-strcmp-ifunc.c: Likewise.
18466 * string/test-strcpy-ifunc.c: Likewise.
18467 * string/test-strcspn-ifunc.c: Likewise.
18468 * string/test-strlen-ifunc.c: Likewise.
18469 * string/test-strncasecmp-ifunc.c: Likewise.
18470 * string/test-strncat-ifunc.c: Likewise.
18471 * string/test-strncmp-ifunc.c: Likewise.
18472 * string/test-strncpy-ifunc.c: Likewise.
18473 * string/test-strnlen-ifunc.c: Likewise.
18474 * string/test-strpbrk-ifunc.c: Likewise.
18475 * string/test-strrchr-ifunc.c: Likewise.
18476 * string/test-strspn-ifunc.c: Likewise.
18477 * string/test-strstr-ifunc.c: Likewise.
18478
ab260039 184792013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
18480
18481 * benchtests/Makefile: Remove ifunc tests.
18482 * benchtests/bench-string.h: Define TEST_IFUNC.
18483 * benchtests/bench-bcopy-ifunc.c: Remove.
18484 * benchtests/bench-bzero-ifunc.c: Likewise.
18485 * benchtests/bench-memccpy-ifunc.c: Likewise.
18486 * benchtests/bench-memchr-ifunc.c: Likewise.
18487 * benchtests/bench-memcmp-ifunc.c: Likewise.
18488 * benchtests/bench-memcpy-ifunc.c: Likewise.
18489 * benchtests/bench-memmem-ifunc.c: Likewise.
18490 * benchtests/bench-memmove-ifunc.c: Likewise.
18491 * benchtests/bench-mempcpy-ifunc.c: Likewise.
18492 * benchtests/bench-memrchr-ifunc.c: Likewise.
18493 * benchtests/bench-memset-ifunc.c: Likewise.
18494 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
18495 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
18496 * benchtests/bench-stpcpy-ifunc.c: Likewise.
18497 * benchtests/bench-stpncpy-ifunc.c: Likewise.
18498 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
18499 * benchtests/bench-strcasestr-ifunc.c: Likewise.
18500 * benchtests/bench-strcat-ifunc.c: Likewise.
18501 * benchtests/bench-strchr-ifunc.c: Likewise.
18502 * benchtests/bench-strchrnul-ifunc.c: Likewise.
18503 * benchtests/bench-strcmp-ifunc.c: Likewise.
18504 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
18505 * benchtests/bench-strcpy-ifunc.c: Likewise.
18506 * benchtests/bench-strcspn-ifunc.c: Likewise.
18507 * benchtests/bench-strlen-ifunc.c: Likewise.
18508 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
18509 * benchtests/bench-strncat-ifunc.c: Likewise.
18510 * benchtests/bench-strncmp-ifunc.c: Likewise.
18511 * benchtests/bench-strncpy-ifunc.c: Likewise.
18512 * benchtests/bench-strnlen-ifunc.c: Likewise.
18513 * benchtests/bench-strpbrk-ifunc.c: Likewise.
18514 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 18515 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
18516 * benchtests/bench-strspn-ifunc.c: Likewise.
18517 * benchtests/bench-strstr-ifunc.c: Likewise.
18518
185192013-11-26 Ondřej Bílka <neleai@seznam.cz>
18520
ab260039
OB
18521 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
18522
d1d9eaf4 185232013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 18524
d1d9eaf4
OB
18525 * resolv/netdb.h: Use __glibc_reserved instead __unused.
18526 * rt/aio.h: Likewise.
18527 * sysdeps/gnu/bits/utmp.h: Likewise.
18528 * sysdeps/gnu/bits/utmpx.h: Likewise.
18529 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18530 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
18531 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
18532 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
18533 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
18534 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
18535 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
18536 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
18537 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
18538 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
18539 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
18540 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
18541 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
18542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
18543 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18544 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
18545 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
18546 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
18547 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
18548 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
18549 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
18550 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
18551 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
18552 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18553 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
18554 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18555 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
18556 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
18557 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
18558 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
18559 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
18560 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
18561 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
18562 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18563 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
18564 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
18565 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
18566 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
18567 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
18568 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
18569 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
18570 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18571
a7624ed9
CD
185722013-11-25 Carlos O'Donell <carlos@redhat.com>
18573
18574 [BZ #16245]
18575 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
18576 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
18577
63cfe52b
JM
185782013-11-25 Joseph Myers <joseph@codesourcery.com>
18579
18580 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
18581 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18582 Likewise.
18583
41e8926a
AZ
185842013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18585
18586 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
18587 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
18588 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
18589 (__fesetround): Remove define.
18590 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
18591 rounding and exceptions handling.
18592 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
18593 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
18594 (__fe_nomask_env): Likewise.
18595 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
18596 __fegetround instead of fegetround.
18597 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18598 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
18599
6851bd4d
RM
186002013-11-21 Roland McGrath <roland@hack.frob.com>
18601
070906ff
RM
18602 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
18603 it's there.
18604
6851bd4d
RM
18605 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
18606
84ae135d
MI
186072013-11-21 Meador Inge <meadori@codesourcery.com>
18608
18609 [BZ #11157]
18610 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
18611 (encrypt_r): Likewise.
18612 * malloc/obstack.h (obstack_free): Likewise.
18613 * posix/unistd.h (encrypt): Likewise.
18614
daf75146
GM
186152013-11-21 Guy Martin <gmsoft@tuxicoman.be>
18616
18617 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
18618 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
18619 DL_CALL_DT_FINI() that call the functions directly.
18620 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
18621 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
18622 * elf/dl-fini.c: Likewise.
18623
10ad46bc
OB
186242013-11-20 Ondřej Bílka <neleai@seznam.cz>
18625
18626 * malloc/hooks.c (memalign_check): Add alignment rounding.
18627 * malloc/malloc.c (_mid_memalign): New function.
18628 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
18629 Implement by calling _mid_memalign.
18630 * manual/probes.texi (Memory Allocation Probes): Remove
18631 memory_valloc_retry and memory_pvalloc_retry.
18632
f3fd2628
SP
186332013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18634
4712799f
SP
18635 * locale/programs/locarchive.c (open_archive): Add const
18636 qualifier to ARCHIVEFNAME and copy default fname to
18637 DEFAULT_FNAME.
18638
0417b20f
SP
18639 [BZ #15601]
18640 * libio/tst-widetext.input: Rename Oriya to Odia.
18641 * locale/iso-639.def: Likewise.
18642
f3fd2628
SP
18643 * manual/probes.texi (Mathematical Function Probes): Add
18644 documentation for sin, cos, asin and acos probes.
18645 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
18646 (__sin32): Add slowasin probe.
18647 (__cos32): Add slowacos probe.
18648 (__mpsin): Add slowsin probe.
18649 (__mpcos): Add slowcos probe.
18650
73c1ce4f
JM
186512013-11-19 Joseph Myers <joseph@codesourcery.com>
18652
18653 [BZ #15483]
18654 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
18655 thread-local __sim_exceptions_thread and global
18656 __sim_exceptions_global.
18657 (__sim_disabled_exceptions): Change to thread-local
18658 __sim_disabled_exceptions_thread and global
18659 __sim_disabled_exceptions_global.
18660 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18661 and global __sim_round_mode_global.
18662 (__simulate_exceptions): Use thread-local floating-point state and
18663 set global state from it as needed.
18664 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
18665 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
18666 __sim_round_mode_thread.
18667 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
18668 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
18669 and global __sim_exceptions_global.
18670 (__sim_disabled_exceptions): Change to thread-local
18671 __sim_disabled_exceptions_thread and global
18672 __sim_disabled_exceptions_global.
18673 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18674 and global __sim_round_mode_global.
18675 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
18676 (SIM_SET_GLOBAL): Likewise.
18677 * sysdeps/powerpc/soft-fp/sfp-machine.h
18678 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
18679 __sim_round_mode_thread.
18680 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
18681 __sim_disabled_exceptions_thread.
18682 (__sim_exceptions): Change to __sim_exceptions_thread.
18683 (__sim_disabled_exceptions): Change to
18684 __sim_disabled_exceptions_thread.
18685 (__sim_round_mode): Change to __sim_round_mode_thread.
18686 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
18687 thread-local floating-point state and set global state from it as
18688 needed.
18689 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
18690 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
18691 (__sim_disabled_exceptions): Remove extern declaration.
18692 (feenableexcept): Use thread-local floating-point state and set
18693 global state from it as needed.
18694 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
18695 extern declaration.
18696 (__sim_disabled_exceptions): Likewise.
18697 (__sim_round_mode): Likewise.
18698 (__fegetenv): Use thread-local floating-point state.
18699 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
18700 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18701 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
18702 floating-point state and set global state from it as needed.
18703 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
18704 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18705 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
18706 Likewise.
18707 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18708 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
18709 Likewise.
18710 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
18711 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
18712 Use __sim_round_mode_thread.
18713 * math/test-fenv-tls.c: New file.
18714 * math/Makefile (tests): Add test-fenv-tls.
18715 ($(objpfx)test-fenv-tls): Depend on
18716 $(common-objpfx)nptl/libpthread.so.
18717
b5449b12
AS
187182013-11-19 Andreas Schwab <schwab@suse.de>
18719
18720 * locale/programs/locale.c (show_info): Decode wordarray elements.
18721 * locale/categories.def (LC_MONETARY): Add element for
18722 _NL_MONETARY_CRNCYSTR.
18723 * locale/C-monetary.c (conversion_rate): New variable.
18724 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
18725 element.
18726
e186536b
CM
187272013-11-18 Chris Metcalf <cmetcalf@tilera.com>
18728
18729 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
18730 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
18731
5c349950
PP
187322013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18733
18734 * elf/Makefile (tst-auxv): New test.
18735 * elf/tst-auxv.c: New
18736 * elf/rtld.c (dl_main): Adjust AT_EXECFN
18737
699df45b
JM
187382013-11-18 Joseph Myers <joseph@codesourcery.com>
18739
18740 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
18741 (hidden_proto): Caller changed.
18742 (hidden_tls_proto): New macro.
18743 (libc_hidden_tls_proto): Likewise.
18744 (rtld_hidden_tls_proto): Likewise.
18745 (libm_hidden_tls_proto): Likewise.
18746 (libresolv_hidden_tls_proto): Likewise.
18747 (librt_hidden_tls_proto): Likewise.
18748 (libdl_hidden_tls_proto): Likewise.
18749 (libnss_files_hidden_tls_proto): Likewise.
18750 (libnsl_hidden_tls_proto): Likewise.
18751 (libnss_nisplus_hidden_tls_proto): Likewise.
18752 (libutil_hidden_tls_proto): Likewise.
18753
b7589107
OB
187542013-11-18 Ondřej Bílka <neleai@seznam.cz>
18755
18756 [BZ #10253]
18757 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
18758 (decompose_rpath): Defer expansion to fillin_rpath.
18759 (_dl_init_paths): Pass linkmap to fillin_rpath.
18760
250c23bd
RS
187612013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18762
18763 * benchtests/Makefile: Add strsep.
18764 * benchtests/bench-strsep.c: New file: strsep benchtest.
18765 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
18766
a7931fcf
AS
187672013-11-18 Andreas Schwab <schwab@suse.de>
18768
18769 * locale/programs/locale.c (show_info) [case byte]: Check for
18770 '\377' instead of '\177'.
18771 * locale/C-monetary.c (not_available): Always use "\377".
18772 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
18773 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
18774 detect unavailable sign_posn locale elements.
18775 * locale/localeconv.c (__localeconv): For grouping and
18776 mon_grouping handle "\177" and "\377" like no grouping.
18777 (INT_ELEM): New macro. Use it to set all numeric members.
18778 * locale/programs/ld-monetary.c (monetary_read)
18779 <tok_mon_grouping>: Normalize single -1 to the empty string.
18780 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
18781 Likewise.
18782
728dab0e
OB
187832013-11-07 Ondřej Bílka <neleai@seznam.cz>
18784
18785 [BZ #16055]
18786 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
18787 when we match (nil).
18788 * stdio-common/tst-sscanf.c (struct test): Add testcase.
18789
66294491
JM
187902013-11-16 Joseph Myers <joseph@codesourcery.com>
18791
ce665817
JM
18792 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
18793 (NO_TEST_INLINE): Update value.
18794 (ERRNO_UNCHANGED): Likewise.
18795 (ERRNO_EDOM): Likewise.
18796 (ERRNO_ERANGE): Likewise.
18797 (IGNORE_RESULT): Likewise.
18798 (check_float_internal): Check signs of NaN results if
18799 TEST_NAN_SIGN used.
18800 (check_complex): Pass TEST_NAN_SIGN flag through to second
18801 check_float_internal call.
18802 (copysign_test_data): Add tests with quiet NaNs as second
18803 argument. Use TEST_NAN_SIGN.
18804 (fabs_test_data): Add test of negative quiet NaN argument. Use
18805 TEST_NAN_SIGN.
18806 (signbit_test_data): Add tests of quiet NaN argument.
18807 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
18808
ee1466a9
JM
18809 * math/gen-libm-test.pl (show_exceptions): Take extra argument
18810 $ignore_result.
18811 (parse_args): Handle function results specified as IGNORE.
18812 * math/libm-test.inc (IGNORE_RESULT): New macro.
18813 (check_float_internal): Do not check numerical result if flag
18814 IGNORE_RESULT set.
18815 (check_complex): Pass through IGNORE_RESULT to second
18816 check_float_internal call.
18817 (check_int): Do not check numerical result if flag IGNORE_RESULT
18818 set.
18819 (check_long): Likewise.
18820 (check_bool): Likewise.
18821 (check_longlong): Likewise.
18822 (lrint_test_data): Add tests of infinite and NaN arguments.
18823 (lrint_tonearest_test_data): Likewise.
18824 (lrint_towardzero_test_data): Likewise.
18825 (lrint_downward_test_data): Likewise.
18826 (lrint_upward_test_data): Likewise.
18827 (llrint_test_data): Likewise.
18828 (llrint_tonearest_test_data): Likewise.
18829 (llrint_towardzero_test_data): Likewise.
18830 (llrint_downward_test_data): Likewise.
18831 (llrint_upward_test_data): Likewise.
18832 (lround_test_data): Likewise.
18833 (llround_test_data): Likewise.
18834
14407b7e
JM
18835 * math/libm-test.inc (NO_TEST_INLINE): New macro.
18836 (ERRNO_UNCHANGED): Update value.
18837 (ERRNO_EDOM): Likewise.
18838 (ERRNO_ERANGE): Likewise.
18839 (NO_TEST_INLINE_FLOAT): New macro.
18840 (NO_TEST_INLINE_DOUBLE): Likewise.
18841 (enable_test): New function.
18842 (RUN_TEST_f_f): Check enable_test before running test.
18843 (RUN_TEST_2_f): Likewise.
18844 (RUN_TEST_fff_f): Likewise.
18845 (RUN_TEST_c_f): Likewise.
18846 (RUN_TEST_f_f1): Likewise.
18847 (RUN_TEST_fF_f1): Likewise.
18848 (RUN_TEST_fI_f1): Likewise.
18849 (RUN_TEST_ffI_f1): Likewise.
18850 (RUN_TEST_c_c): Likewise.
18851 (RUN_TEST_cc_c): Likewise.
18852 (RUN_TEST_f_i): Likewise.
18853 (RUN_TEST_f_i_tg): Likewise.
18854 (RUN_TEST_ff_i_tg): Likewise.
18855 (RUN_TEST_f_b): Likewise.
18856 (RUN_TEST_f_b_tg): Likewise.
18857 (RUN_TEST_f_l): Likewise.
18858 (RUN_TEST_f_L): Likewise.
18859 (RUN_TEST_fFF_11): Likewise.
18860 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
18861 conditionals.
18862 (cosh_test_data): Likewise.
18863 (exp_test_data): Likewise.
18864 (expm1_test_data): Likewise.
18865 (hypot_test_data): Likewise.
18866 (pow_test_data): Likewise.
18867 (sinh_test_data): Likewise.
18868 (tanh_test_data): Likewise.
18869 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
18870 flags argument.
18871
ca07f197
JM
18872 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
18873 tests with quiet NaN input and output.
18874 (acosh_test_data): Likewise.
18875 (asin_test_data): Likewise.
18876 (asinh_test_data): Likewise.
18877 (atan_test_data): Likewise.
18878 (atanh_test_data): Likewise.
18879 (atan2_test_data): Likewise.
18880 (cbrt_test_data): Likewise.
18881 (cos_test_data): Likewise.
18882 (cosh_test_data): Likewise.
18883 (erf_test_data): Likewise.
18884 (erfc_test_data): Likewise.
18885 (exp_test_data): Likewise.
18886 (exp10_test_data): Likewise.
18887 (exp2_test_data): Likewise.
18888 (expm1_test_data): Likewise.
18889 (hypot_test_data): Likewise.
18890 (j0_test_data): Likewise.
18891 (j1_test_data): Likewise.
18892 (jn_test_data): Likewise.
18893 (lgamma_test_data): Likewise.
18894 (log_test_data): Likewise.
18895 (log10_test_data): Likewise.
18896 (log1p_test_data): Likewise.
18897 (log2_test_data): Likewise.
18898 (pow_test_data): Likewise.
18899 (scalb_test_data): Likewise.
18900 (sin_test_data): Likewise.
18901 (sincos_test_data): Likewise.
18902 (sinh_test_data): Likewise.
18903 (tan_test_data): Likewise.
18904 (tanh_test_data): Likewise.
18905 (tgamma_test_data): Likewise.
18906 (y0_test_data): Likewise.
18907 (y1_test_data): Likewise.
18908 (yn_test_data): Likewise.
18909
66294491
JM
18910 [BZ #16167]
18911 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
18912 argument being NaN and avoid computations with second argument in
18913 that case.
18914 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18915 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18916 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
18917
1820b143
CL
189182013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
18919
18920 * locale/iso-639.def: Add Chitwani Tharu (the).
18921
714bd261
AS
189222013-11-14 Andreas Schwab <schwab@suse.de>
18923
18924 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
18925 word instead of empty string.
18926
7ab44563
AZ
189272013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18928
18929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18930 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
18931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18932 (__fe_nomask_env): Likewise.
18933
e8470ea2
SE
189342013-11-13 Steve Ellcey <sellcey@mips.com>
18935
18936 * benchtests/bench-timing.h: Include time.h.
18937
17c1d9f0
L
189382013-11-13 H.J. Lu <hongjiu.lu@intel.com>
18939
18940 [BZ #15997]
18941 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
18942 to 3.4.0 for x32.
18943 * sysdeps/unix/sysv/linux/configure: Regenerated.
18944
9310c284
JM
189452013-11-13 Joseph Myers <joseph@codesourcery.com>
18946
18947 [BZ #16151]
18948 * stdlib/strtod_l.c (round_and_return): Do not consider
18949 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
18950 exponent one less than half the least subnormal exponent.
18951 * stdlib/test-strtod-round-data: Add more tests.
18952 * stdlib/tst-strtod-round.c (tests): Regenerated.
18953
7a2ad8cf
AZ
189542013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18955
18956 [BZ #14143]
18957 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
18958 (__fe_mask_env): Likewise.
18959 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
18960 libm_hidden_proto and add function prototype.
18961 (__fe_mask_env): Add function prototype.
18962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18963 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
18964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18965 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
18966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18967 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
18968
50727aa7
MS
189692013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18970
b2f386c1 18971 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
18972 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
18973
a615be46
MS
189742013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18975
18976 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
18977 of htab_find_slot().
18978
7ddace62
DM
189792013-11-11 David S. Miller <davem@davemloft.net>
18980
18981 [BZ #16150]
18982 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
18983 symbol in the non-vis3 case in static builds.
18984 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
18985 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
18986 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
18987 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
18988
9182aa67
JK
189892013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18990
18991 [BZ #387]
18992 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
18993 it is empty.
18994
450a2e2d
AZ
189952013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18996
b2f386c1
SP
18997 * benchtests/Makefile: Add bench-strtod.
18998 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 18999
8ec3f656
AS
190002013-11-11 Andreas Schwab <schwab@suse.de>
19001
19002 [BZ #16153]
19003 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
19004 terminating NUL in key length.
19005
76a9b998
AZ
190062013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19007
19008 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19009 Add artificial ODP entry for vDSO symbol for PPC64.
19010 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
19011 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19012
e4368156
OB
190132013-11-07 Ondřej Bílka <neleai@seznam.cz>
19014
19015 [BZ #15374]
19016 * nss/getent.c (services_keys): Recognize services starting with digit.
19017
8d6bb57c
DM
190182013-11-06 David S. Miller <davem@davemloft.net>
19019
19020 [BZ #15985]
19021 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
19022 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
19023
e256c421
WN
190242013-11-06 Will Newton <will.newton@linaro.org>
19025
19026 * manual/memory.texi (Malloc Examples): Remove register
19027 keyword from examples.
19028
f6e12daa 190292013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 19030
f6e12daa 19031 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 19032
9d880655
AS
190332013-11-04 Joseph Myers <joseph@codesourcery.com>
19034
fd2f9486 19035 [BZ #6981]
9d880655
AS
19036 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
19037 depending on [__GCC_IEC_559 > 0].
19038 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
19039 depending on [__GCC_IEC_559_COMPLEX > 0].
19040
ae129d3c
CL
190412013-11-03 Chris Leonard <cjl@sugarlabs.org>
19042
19043 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
19044 to iso-639.def.
19045
4a15c2a4 190462013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
19047
19048 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
19049
8b35e35d
OB
190502013-11-01 Ondřej Bílka <neleai@seznam.cz>
19051
19052 [BZ #16112]
19053 * malloc/malloc (malloc_info): Do not handle first bin as
19054 special case.
19055
1d70fd6c
CL
190562013-11-01 Chris Leonard <cjl@sugarlabs.org>
19057
19058 * locale/iso-639.def: Add Central Nahuatl (nhn).
19059
8c5c2600
BH
190602013-11-01 Bruno Haible <bruno@clisp.org>
19061
19062 [BZ #7003]
19063 * manual/math.texi (BSD Random): Specify range upper bound as
19064 in POSIX.
19065
da5579c2
CL
190662013-10-31 Chris Leonard <cjl@sugarlabs.org>
19067
19068 * locale/iso-639.def: Add Meadow Mari (mhr).
19069
5d30d853
OB
190702013-10-31 Ondřej Bílka <neleai@seznam.cz>
19071
19072 [BZ #14752], [BZ #15763]
19073 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
19074 Validate name.
19075 * rt/tst_shm.c: Add test for escaping directory.
19076
a4966c61
AS
190772013-10-31 Andreas Schwab <schwab@suse.de>
19078
8a43e768 19079 [BZ #15917]
a4966c61
AS
19080 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
19081 followed by 'x' as part of digit sequence.
19082 * stdio-common/tst-sscanf.c (double_tests2): New tests.
19083
28d708c4
MAP
190842013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
19085
19086 [BZ #16037]
19087 * configure.ac: allow GNU Make 4.0 and greater.
19088 * configure: Regenerated.
19089
a56ee40b
WN
190902013-10-30 Will Newton <will.newton@linaro.org>
19091
19092 [BZ #16038]
19093 * malloc/hooks.c (memalign_check): Limit alignment to the
19094 maximum representable power of two.
19095 * malloc/malloc.c (__libc_memalign): Likewise.
19096 * malloc/tst-memalign.c (do_test): Add test for very
19097 large alignment values.
19098 * malloc/tst-posix_memalign.c (do_test): Likewise.
19099
c6e4925d
OB
191002013-10-30 Ondřej Bílka <neleai@seznam.cz>
19101
19102 [BZ #11087]
19103 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
19104 (munmap_chunk): Likewise.
19105 (mremap_chunk): Likewise.
19106
191072013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 19108
8a43e768 19109 [BZ #15799]
bbea82f7
OB
19110 * stdlib/div.c (div): Remove obsolete code.
19111 * stdlib/ldiv.c (ldiv): Likewise.
19112 * stdlib/lldiv.c (lldiv): Likewise.
19113
977f4b31
SP
191142013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19115
19116 [BZ #16071]
19117 * nss/nss_files/files-XXX.c (get_contents_ret): New
19118 enumerator.
19119 (get_contents): New function.
19120 (internal_getent): Use it. Expand size of LINEBUFLEN.
19121
cb8a6dbd
MF
191222013-10-30 Mike Frysinger <vapier@gentoo.org>
19123
19124 * configure.in: Moved to ...
19125 * configure.ac: ... here. Change reference to configure.in
19126 to configure.ac.
19127 * sysdeps/arm/preconfigure.ac: ... here.
19128 configure.in to configure.ac.
19129 * sysdeps/gnu/configure.in: Moved to ...
19130 * sysdeps/gnu/configure.ac: ... here.
19131 * sysdeps/i386/configure.in: Moved to ...
19132 * sysdeps/i386/configure.ac: ... here.
19133 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
19134 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
19135 * sysdeps/mach/configure.in: Moved to ...
19136 * sysdeps/mach/configure.ac: ... here.
19137 * sysdeps/mach/hurd/configure.in: Moved to ...
19138 * sysdeps/mach/hurd/configure.ac: ... here.
19139 * sysdeps/powerpc/configure.in: Moved to ...
19140 * sysdeps/powerpc/configure.ac: ... here.
19141 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
19142 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
19143 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
19144 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
19145 * sysdeps/s390/s390-32/configure.in: Moved to ...
19146 * sysdeps/s390/s390-32/configure.ac: ... here.
19147 * sysdeps/s390/s390-64/configure.in: Moved to ...
19148 * sysdeps/s390/s390-64/configure.ac: ... here.
19149 * sysdeps/sh/configure.in: Moved to ...
19150 * sysdeps/sh/configure.ac: ... here.
19151 * sysdeps/sparc/configure.in: Moved to ...
19152 * sysdeps/sparc/configure.ac: ... here.
19153 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
19154 * sysdeps/unix/sysv/linux/configure.ac: ... here.
19155 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
19156 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
19157 * sysdeps/x86_64/configure.in: Moved to ...
19158 * sysdeps/x86_64/configure.ac: ... here.
19159 * sysdeps/x86_64/preconfigure.in: Moved to ...
19160 * sysdeps/x86_64/preconfigure.ac: ... here.
19161 * aclocal.m4: Change reference to configure.in to configure.ac.
19162 * config.h.in: Likewise.
19163 * manual/install.texi: Likewise.
19164 * manual/maint.texi: Likewise.
19165 * Makefile: Likewise.
19166 * malloc/Makefile: Likewise.
19167 * nscd/Makefile: Likewise.
19168 * Makeconfig: Change reference to configure.in and
19169 preconfigure.in to configure.ac and preconfigure.ac
19170 respectively.
19171 * INSTALL: Regenerated.
19172 * configure: Likewise.
19173 * sysdeps/gnu/configure: Likewise.
19174 * sysdeps/i386/configure: Likewise.
19175 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
19176 * sysdeps/mach/configure: Likewise.
19177 * sysdeps/mach/hurd/configure: Likewise.
19178 * sysdeps/powerpc/configure: Likewise.
19179 * sysdeps/powerpc/powerpc32/configure: Likewise.
19180 * sysdeps/powerpc/powerpc64/configure: Likewise.
19181 * sysdeps/s390/s390-32/configure: Likewise.
19182 * sysdeps/s390/s390-64/configure: Likewise.
19183 * sysdeps/sh/configure: Likewise.
19184 * sysdeps/sparc/configure: Likewise.
19185 * sysdeps/unix/sysv/linux/configure: Likewise.
19186 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
19187 * sysdeps/x86_64/configure: Likewise.
19188 * sysdeps/x86_64/preconfigure: Likewise.
19189
36a4953a
AS
191902013-10-29 Andreas Schwab <schwab@suse.de>
19191
19192 * stdio-common/Makefile (tst-swscanf-ENV): Define.
19193
c79a1204
SP
191942013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19195
dfa1b402
SP
19196 * benchtests/pow-inputs: Add new inputs.
19197
54f73d9c
SP
19198 * benchtests/exp-inputs: Add new inputs.
19199
c79a1204
SP
19200 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
19201 conditional check for return value.
19202 (__cos32): Likewise.
19203
67beb545 192042013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
19205
19206 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
19207 to provide a boost for large inputs with word alignment.
19208 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
19209 implementation based on optimized PPC64 strcpy.
19210 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
19211 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
19212 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
19213 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
19214
151659f6
OB
192152013-10-25 Ondřej Bílka <neleai@seznam.cz>
19216
482a077e 19217 [BZ #2801]
151659f6
OB
19218 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
19219
10b0f26b
OB
192202013-10-25 Ondřej Bílka <neleai@seznam.cz>
19221
19222 [BZ #14876]
19223 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
19224 * time/tst-strptime.c (day_tests): Add testcase.
19225
ca42d35e
OB
192262013-10-25 Ondřej Bílka <neleai@seznam.cz>
19227
482a077e 19228 [BZ #14029]
ca42d35e
OB
19229 * manual/pattern.texi: Acknowledge that fnmatch can fail.
19230
52e6d801
FB
192312013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
19232
19233 [BZ #16074]
19234 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
19235 MAP_FAILED on error.
19236
7cbcdb36
SP
192372013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19238
19239 [BZ #16072]
19240 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
19241 heap for large requests.
19242
894f3f10
AM
192432013-10-25 Aurelien Jarno <aurelien@aurel32.net>
19244
19245 [BZ #9954]
19246 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
19247 result if the result has no associated interface.
19248 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
19249 interface for all 127.X.Y.Z addresses.
19250
b85545a6
CL
192512013-10-24 Chris Leonard <cjl@sugarlabs.org>
19252
19253 * locale/iso-639.def: Add Ligurian (lij)
19254
d1f23d46
OB
192552013-10-21 Ondřej Bílka <neleai@seznam.cz>
19256
19257 [BZ #15825]
19258 * sunrpc/rpc_main.c: Document rpcgen -5.
19259
4db5b08f
MS
192602013-10-19 Michael Stahl <mstahl@redhat.com>
19261
19262 * elf/rtld.c (do_preload): Print the reason why preloading failed.
19263
a471e96a
OB
192642013-10-19 Ondřej Bílka <neleai@seznam.cz>
19265
d1f23d46 19266 [BZ #10278]
a471e96a
OB
19267 * posix/glob.c: Match only directories when trailing slash is present.
19268 * posix/tst-gnuglob.c (my_opendir): Do not open files.
19269 (main): Add testcase.
19270
45c30c61
OB
192712013-10-19 Ondřej Bílka <neleai@seznam.cz>
19272
19273 [BZ #15670]
19274 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
19275
484c12fb
CD
192762013-10-18 Carlos O'Donell <carlos@redhat.com>
19277
3d7dc513
CD
19278 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
19279 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
19280 AUTH_DES and cindex for FIPS 140-2.
19281 (DES Encryption): Add cindex FIPS 46-3.
19282
484c12fb
CD
19283 * locale/locarchive.h (struct locarhandle): Add fname.
19284 * locale/programs/localedef.c (main): Pass ARGV[remaining]
19285 if an optional argument was specified to --list-archive,
19286 otherwise NULL.
19287 * locale/programs/locarchive.c (show_archive_content): Take new
19288 argument fname and pass it via ah.fname to open_archive.
19289 * locale/programs/localedef.h: Update decl.
19290 (open_archive): If AH->fname is non-null, open that file
19291 rather than the default file name, and don't ignore ENOENT.
19292 (create_archive): Set AH.fname to NULL.
19293 (delete_locales_from_archive): Likewise.
19294 (add_locales_to_archive): Likewise.
19295 * locale/programs/locfile.c (write_all_categories): Likewise.
19296
3c8325fb
JM
192972013-10-18 Joseph Myers <joseph@codesourcery.com>
19298 Aldy Hernandez <aldyh@redhat.com>
19299
19300 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
19301 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
19302 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
19303 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
19304 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
19305 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
19306 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
19307 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
19308 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
19309 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
19310 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
19311 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
19312 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
19313 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
19314 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
19315 Likewise.
19316 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
19317 Likewise.
19318 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
19319 Likewise.
19320 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
19321 Likewise.
19322 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
19323 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
19324 Likewise.
19325 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
19326 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
19327 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
19328 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
19329 Likewise.
19330 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
19331 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
19332 * sysdeps/powerpc/preconfigure: Likewise.
19333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
19334 Likewise.
19335 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
19336 Replace contents of file by #include of <fenv_libc.h>.
19337 * sysdeps/powerpc/soft-fp/sfp-machine.h
19338 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
19339 and <sys/prctl.h>.
19340 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
19341 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
19342 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
19343 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
19344 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
19345 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
19346 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
19347 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
19348 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
19349 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
19350 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
19351 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
19352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19353 Allow copysignl PLT reference to be missing.
19354
5abe0682
RS
193552013-10-18 Richard Sandiford <richard@codesourcery.com>
19356 Joseph Myers <joseph@codesourcery.com
19357
19358 [BZ #15948]
19359 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
19360 single character.
19361 (add_to_tablewc): Assert sequence of wide characters is nonempty.
19362
c7738d08
SP
193632013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19364
19365 * elf/tst-tls-dlinfo.c: Don't include tls.h.
19366 * elf/tst-tls1.c: Likewise.
19367 * elf/tst-tls10.h: Likewise.
19368 * elf/tst-tls14.c: Likewise.
19369 * elf/tst-tls2.c: Likewise.
19370 * elf/tst-tls3.c: Likewise.
19371 * elf/tst-tls4.c: Likewise.
19372 * elf/tst-tls5.c: Likewise.
19373 * elf/tst-tls6.c: Likewise.
19374 * elf/tst-tls7.c: Likewise.
19375 * elf/tst-tls8.c: Likewise.
19376 * elf/tst-tls9.c: Likewise.
19377 * elf/tst-tlsmod1.c: Likewise.
19378 * elf/tst-tlsmod13.c: Likewise.
19379 * elf/tst-tlsmod13a.c: Likewise.
19380 * elf/tst-tlsmod14a.c: Likewise.
19381 * elf/tst-tlsmod16a.c: Likewise.
19382 * elf/tst-tlsmod16b.c: Likewise.
19383 * elf/tst-tlsmod2.c: Likewise.
19384 * elf/tst-tlsmod3.c: Likewise.
19385 * elf/tst-tlsmod4.c: Likewise.
19386 * elf/tst-tlsmod5.c: Likewise.
19387 * elf/tst-tlsmod6.c: Likewise.
19388
0bfcf2c7
OB
193892013-10-18 Ondřej Bílka <neleai@seznam.cz>
19390
19391 [BZ #12486]
19392 * malloc/malloc.c: remove checks for statistics.
19393
264aad1e
OB
193942013-10-17 Ondřej Bílka <neleai@seznam.cz>
19395
19396 [BZ #15277]
19397 * inet/inet_net.c (inet_network): Detect additional invalid strings.
19398 * inet/tst-network.c: Add testcase.
19399
b957ced8
AS
194002013-10-17 Andreas Schwab <schwab@suse.de>
19401
19402 [BZ #15218]
19403 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
19404 to determine canonical name.
19405
c5d5d574
OB
194062013-10-17 Ondřej Bílka <neleai@seznam.cz>
19407
19408 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
19409 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
19410 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19411 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19412 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19413 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19414 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19415 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19416 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19417 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19418 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19419 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19420 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19421 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19422 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19423 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19424 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19425 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19426 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19427 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19428 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19429 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19430 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19431 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
19432 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
19433 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19434 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19435 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
19436 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19437 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
19438 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19439 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19440 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19441 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19442 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19443 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19444 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19445 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19446 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19447 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19448 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19449 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19450 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19451 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19452 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19453 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19454 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19455 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19456 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19457 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19458 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19459 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19460 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19461 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19462 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19463 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19464 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19465 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19466
e5c2c2d0
JM
194672013-10-17 Joseph Myers <joseph@codesourcery.com>
19468
19469 [BZ #16041]
19470 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
19471 make result into a quiet NaN.
19472
51ca9e29
JM
194732013-10-16 Joseph Myers <joseph@codesourcery.com>
19474
19475 * soft-fp/adddf3.c: Fix horizontal whitespace.
19476 * soft-fp/addsf3.c: Likewise.
19477 * soft-fp/addtf3.c: Likewise.
19478 * soft-fp/divdf3.c: Likewise.
19479 * soft-fp/divsf3.c: Likewise.
19480 * soft-fp/divtf3.c: Likewise.
19481 * soft-fp/double.h: Likewise.
19482 * soft-fp/eqdf2.c: Likewise.
19483 * soft-fp/eqsf2.c: Likewise.
19484 * soft-fp/eqtf2.c: Likewise.
19485 * soft-fp/extenddftf2.c: Likewise.
19486 * soft-fp/extended.h: Likewise.
19487 * soft-fp/extendsfdf2.c: Likewise.
19488 * soft-fp/extendsftf2.c: Likewise.
19489 * soft-fp/extendxftf2.c: Likewise.
19490 * soft-fp/fixdfdi.c: Likewise.
19491 * soft-fp/fixdfsi.c: Likewise.
19492 * soft-fp/fixdfti.c: Likewise.
19493 * soft-fp/fixsfdi.c: Likewise.
19494 * soft-fp/fixsfsi.c: Likewise.
19495 * soft-fp/fixsfti.c: Likewise.
19496 * soft-fp/fixtfdi.c: Likewise.
19497 * soft-fp/fixtfsi.c: Likewise.
19498 * soft-fp/fixtfti.c: Likewise.
19499 * soft-fp/fixunsdfdi.c: Likewise.
19500 * soft-fp/fixunsdfsi.c: Likewise.
19501 * soft-fp/fixunsdfti.c: Likewise.
19502 * soft-fp/fixunssfdi.c: Likewise.
19503 * soft-fp/fixunssfsi.c: Likewise.
19504 * soft-fp/fixunssfti.c: Likewise.
19505 * soft-fp/fixunstfdi.c: Likewise.
19506 * soft-fp/fixunstfsi.c: Likewise.
19507 * soft-fp/fixunstfti.c: Likewise.
19508 * soft-fp/floatdidf.c: Likewise.
19509 * soft-fp/floatdisf.c: Likewise.
19510 * soft-fp/floatditf.c: Likewise.
19511 * soft-fp/floatsidf.c: Likewise.
19512 * soft-fp/floatsisf.c: Likewise.
19513 * soft-fp/floatsitf.c: Likewise.
19514 * soft-fp/floattidf.c: Likewise.
19515 * soft-fp/floattisf.c: Likewise.
19516 * soft-fp/floattitf.c: Likewise.
19517 * soft-fp/floatundidf.c: Likewise.
19518 * soft-fp/floatundisf.c: Likewise.
19519 * soft-fp/floatunditf.c: Likewise.
19520 * soft-fp/floatunsidf.c: Likewise.
19521 * soft-fp/floatunsisf.c: Likewise.
19522 * soft-fp/floatunsitf.c: Likewise.
19523 * soft-fp/floatuntidf.c: Likewise.
19524 * soft-fp/floatuntisf.c: Likewise.
19525 * soft-fp/floatuntitf.c: Likewise.
19526 * soft-fp/fmadf4.c: Likewise.
19527 * soft-fp/fmasf4.c: Likewise.
19528 * soft-fp/fmatf4.c: Likewise.
19529 * soft-fp/gedf2.c: Likewise.
19530 * soft-fp/gesf2.c: Likewise.
19531 * soft-fp/getf2.c: Likewise.
19532 * soft-fp/ledf2.c: Likewise.
19533 * soft-fp/lesf2.c: Likewise.
19534 * soft-fp/letf2.c: Likewise.
19535 * soft-fp/muldf3.c: Likewise.
19536 * soft-fp/mulsf3.c: Likewise.
19537 * soft-fp/multf3.c: Likewise.
19538 * soft-fp/negdf2.c: Likewise.
19539 * soft-fp/negsf2.c: Likewise.
19540 * soft-fp/negtf2.c: Likewise.
19541 * soft-fp/op-1.h: Likewise.
19542 * soft-fp/op-2.h: Likewise.
19543 * soft-fp/op-4.h: Likewise.
19544 * soft-fp/op-8.h: Likewise.
19545 * soft-fp/op-common.h: Likewise.
19546 * soft-fp/quad.h: Likewise.
19547 * soft-fp/single.h: Likewise.
19548 * soft-fp/soft-fp.h: Likewise.
19549 * soft-fp/sqrtdf2.c: Likewise.
19550 * soft-fp/sqrtsf2.c: Likewise.
19551 * soft-fp/sqrttf2.c: Likewise.
19552 * soft-fp/subdf3.c: Likewise.
19553 * soft-fp/subsf3.c: Likewise.
19554 * soft-fp/subtf3.c: Likewise.
19555 * soft-fp/truncdfsf2.c: Likewise.
19556 * soft-fp/trunctfdf2.c: Likewise.
19557 * soft-fp/trunctfsf2.c: Likewise.
19558 * soft-fp/trunctfxf2.c: Likewise.
19559 * soft-fp/unorddf2.c: Likewise.
19560 * soft-fp/unordsf2.c: Likewise.
19561 * soft-fp/unordtf2.c: Likewise.
19562
9ebb0332
JM
195632013-10-15 Joseph Myers <joseph@codesourcery.com>
19564
19565 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
19566 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
19567
4b1a6d8b
OB
195682013-10-15 Ondřej Bílka <neleai@seznam.cz>
19569
19570 * elf/dl-libc.c: Clear initfini list after freeing.
19571
1e145589
JM
195722013-10-14 Joseph Myers <joseph@codesourcery.com>
19573
19574 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
19575 * soft-fp/addsf3.c: Likewise.
19576 * soft-fp/addtf3.c: Likewise.
19577 * soft-fp/divdf3.c: Likewise.
19578 * soft-fp/divsf3.c: Likewise.
19579 * soft-fp/divtf3.c: Likewise.
19580 * soft-fp/double.h: Likewise.
19581 * soft-fp/eqdf2.c: Likewise.
19582 * soft-fp/eqsf2.c: Likewise.
19583 * soft-fp/eqtf2.c: Likewise.
19584 * soft-fp/extenddftf2.c: Likewise.
19585 * soft-fp/extended.h: Likewise.
19586 * soft-fp/extendsfdf2.c: Likewise.
19587 * soft-fp/extendsftf2.c: Likewise.
19588 * soft-fp/extendxftf2.c: Likewise.
19589 * soft-fp/fixdfdi.c: Likewise.
19590 * soft-fp/fixdfsi.c: Likewise.
19591 * soft-fp/fixdfti.c: Likewise.
19592 * soft-fp/fixsfdi.c: Likewise.
19593 * soft-fp/fixsfsi.c: Likewise.
19594 * soft-fp/fixsfti.c: Likewise.
19595 * soft-fp/fixtfdi.c: Likewise.
19596 * soft-fp/fixtfsi.c: Likewise.
19597 * soft-fp/fixtfti.c: Likewise.
19598 * soft-fp/fixunsdfdi.c: Likewise.
19599 * soft-fp/fixunsdfsi.c: Likewise.
19600 * soft-fp/fixunsdfti.c: Likewise.
19601 * soft-fp/fixunssfdi.c: Likewise.
19602 * soft-fp/fixunssfsi.c: Likewise.
19603 * soft-fp/fixunssfti.c: Likewise.
19604 * soft-fp/fixunstfdi.c: Likewise.
19605 * soft-fp/fixunstfsi.c: Likewise.
19606 * soft-fp/fixunstfti.c: Likewise.
19607 * soft-fp/floatdidf.c: Likewise.
19608 * soft-fp/floatdisf.c: Likewise.
19609 * soft-fp/floatditf.c: Likewise.
19610 * soft-fp/floatsidf.c: Likewise.
19611 * soft-fp/floatsisf.c: Likewise.
19612 * soft-fp/floatsitf.c: Likewise.
19613 * soft-fp/floattidf.c: Likewise.
19614 * soft-fp/floattisf.c: Likewise.
19615 * soft-fp/floattitf.c: Likewise.
19616 * soft-fp/floatundidf.c: Likewise.
19617 * soft-fp/floatundisf.c: Likewise.
19618 * soft-fp/floatunsidf.c: Likewise.
19619 * soft-fp/floatunsisf.c: Likewise.
19620 * soft-fp/floatuntidf.c: Likewise.
19621 * soft-fp/floatuntisf.c: Likewise.
19622 * soft-fp/floatuntitf.c: Likewise.
19623 * soft-fp/fmadf4.c: Likewise.
19624 * soft-fp/fmasf4.c: Likewise.
19625 * soft-fp/fmatf4.c: Likewise.
19626 * soft-fp/gedf2.c: Likewise.
19627 * soft-fp/gesf2.c: Likewise.
19628 * soft-fp/getf2.c: Likewise.
19629 * soft-fp/ledf2.c: Likewise.
19630 * soft-fp/lesf2.c: Likewise.
19631 * soft-fp/letf2.c: Likewise.
19632 * soft-fp/muldf3.c: Likewise.
19633 * soft-fp/mulsf3.c: Likewise.
19634 * soft-fp/multf3.c: Likewise.
19635 * soft-fp/negdf2.c: Likewise.
19636 * soft-fp/negsf2.c: Likewise.
19637 * soft-fp/negtf2.c: Likewise.
19638 * soft-fp/op-1.h: Likewise.
19639 * soft-fp/op-2.h: Likewise.
19640 * soft-fp/op-4.h: Likewise.
19641 * soft-fp/op-8.h: Likewise.
19642 * soft-fp/op-common.h: Likewise.
19643 * soft-fp/quad.h: Likewise.
19644 * soft-fp/single.h: Likewise.
19645 * soft-fp/soft-fp.h: Likewise.
19646 * soft-fp/sqrtdf2.c: Likewise.
19647 * soft-fp/sqrtsf2.c: Likewise.
19648 * soft-fp/sqrttf2.c: Likewise.
19649 * soft-fp/subdf3.c: Likewise.
19650 * soft-fp/subsf3.c: Likewise.
19651 * soft-fp/subtf3.c: Likewise.
19652 * soft-fp/truncdfsf2.c: Likewise.
19653 * soft-fp/trunctfdf2.c: Likewise.
19654 * soft-fp/trunctfsf2.c: Likewise.
19655 * soft-fp/trunctfxf2.c: Likewise.
19656 * soft-fp/unorddf2.c: Likewise.
19657 * soft-fp/unordsf2.c: Likewise.
19658 * soft-fp/unordtf2.c: Likewise.
19659
17c48a60
OB
196602013-10-14 Ondřej Bílka <neleai@seznam.cz>
19661
19662 [BZ #15672]
19663 * misc/error.c (error_tail): Fix possible buffer overflow.
19664
cabba934
OB
196652013-10-14 Aurelien Jarno <aurelien@aurel32.net>
19666
19667 [BZ #13028]
19668 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
19669 address.
19670
94bf958a
PM
196712013-10-14 P. J. McDermott <pj@pehjota.net>
19672
19673 [BZ #832]
19674 * elf/ldd.bash.in (try_trace): New function. Delete previous code
19675 testing pipefail option.
19676
71b4dea7
JM
196772013-10-12 Joseph Myers <joseph@codesourcery.com>
19678
19679 * soft-fp/double.h: Indent preprocessor directives inside #if.
19680 * soft-fp/extended.h: Likewise.
19681 * soft-fp/op-2.h: Likewise.
19682 * soft-fp/op-4.h: Likewise.
19683 * soft-fp/op-common.h: Likewise.
19684 * soft-fp/quad.h: Likewise.
19685 * soft-fp/single.h: Likewise.
19686 * soft-fp/soft-fp.h: Likewise.
19687
55602758
YC
196882013-10-12 Yuri Chornoivan <yurchor@ukr.net>
19689
19690 * iconv/iconv_prog.c: Fix typos.
19691 * stdio-common/psiginfo-data.h: Likewise.
19692
9cd83302
RT
196932013-10-12 Reuben Thomas <rrt@sc3d.org>
19694
19695 [BZ #15764]
19696 * locale/setlocale.c: Fix typo.
19697
99fd9f47
JM
196982013-10-12 Joseph Myers <joseph@codesourcery.com>
19699
b7ea74f0
JM
19700 [BZ #16036]
19701 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
19702 signaling NaN arguments.
19703 * soft-fp/unordsf2.c (__unordsf2): Likewise.
19704 * soft-fp/unordtf2.c (__unordtf2): Likewise.
19705
8a509447
JM
19706 [BZ #14910]
19707 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
19708 unordered operands.
19709 * soft-fp/gesf2.c (__gesf2): Likewise.
19710 * soft-fp/getf2.c (__getf2): Likewise.
19711 * soft-fp/ledf2.c (__ledf2): Likewise.
19712 * soft-fp/lesf2.c (__lesf2): Likewise.
19713 * soft-fp/letf2.c (__letf2): Likewise.
19714
98998e9f
JM
19715 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
19716 * soft-fp/eqsf2.c (__eqsf2): Likewise.
19717 * soft-fp/eqtf2.c (__eqtf2): Likewise.
19718 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
19719 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
19720 * soft-fp/fixdfti.c (__fixdfti): Likewise.
19721 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
19722 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
19723 * soft-fp/fixsfti.c (__fixsfti): Likewise.
19724 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
19725 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
19726 * soft-fp/fixtfti.c (__fixtfti): Likewise.
19727 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
19728 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
19729 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
19730 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
19731 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
19732 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
19733 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
19734 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
19735 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
19736 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
19737 * soft-fp/floatdisf.c (__floatdisf): Likewise.
19738 * soft-fp/floatsisf.c (__floatsisf): Likewise.
19739 * soft-fp/floattidf.c (__floattidf): Likewise.
19740 * soft-fp/floattisf.c (__floattisf): Likewise.
19741 * soft-fp/floattitf.c (__floattitf): Likewise.
19742 * soft-fp/floatundidf.c (__floatundidf): Likewise.
19743 * soft-fp/floatundisf.c (__floatundisf): Likewise.
19744 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
19745 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
19746 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
19747 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
19748 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
19749 * soft-fp/gesf2.c (__gesf2): Likewise.
19750 * soft-fp/getf2.c (__getf2): Likewise.
19751 * soft-fp/ledf2.c (__ledf2): Likewise.
19752 * soft-fp/lesf2.c (__lesf2): Likewise.
19753 * soft-fp/letf2.c (__letf2): Likewise.
19754
8edc4a11
JM
19755 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
19756 Undefine and redefine.
19757 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
19758 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
19759 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
19760 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
19761 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19762 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
19763 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19764 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
19765 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19766 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
19767 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19768 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
19769 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19770 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
19771 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19772
8399acaf
JM
19773 [BZ #16032]
19774 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
19775 without decrementing exponent if mantissa >= that for the
19776 denominator, not >.
19777 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
19778 denominator, not >. Decrement exponent in < case instead of
19779 incrementing in >= case.
19780 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
19781 without decrementing exponent if mantissa >= that for the
19782 denominator, not >.
19783
99fd9f47
JM
19784 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
19785 computing saturated result for unsigned overflow.
19786
10e1cf6b
SP
197872013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19788 Jeff Law <law@redhat.com>
19789
19790 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
19791 (atan2Mp): Add systemtap probe marker.
19792 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
19793 (__ieee754_log): Add systemtap probe marker.
19794 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
19795 (atanMp): Add systemtap probe marker.
19796 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
19797 (tanMp): Add systemtap probe marker.
19798 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
19799 (__slowexp): Add systemtap probe marker.
19800 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
19801 (__slowpow): Add systemtap probe marker.
19802 * manual/probes.texi: Document probes.
19803
3d110c7c
EB
198042013-10-11 Eric Biggers <ebiggers3@gmail.com>
19805
19806 [BZ #15362]
19807 * libio/fileops.c (_IO_new_file_write): Return count of bytes
19808 written.
19809 (_IO_new_file_xsputn): Don't return EOF if nothing has been
19810 written.
19811 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
19812 written to buffer but not flushed.
19813 * libio/iofwrite_u.c: Likewise.
19814 * libio/iopadn.c: Return bytes returned even if EOF was
19815 encountered.
19816 * libio/iowpadn.c: Likewise.
19817 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
19818 if _IO_padn does not write the whole buffer.
19819 [!COMPILE_WPRINTF] (PAD): Likewise.
19820
75b4202a
DM
198212013-10-10 David S. Miller <davem@davemloft.net>
19822
19823 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
19824 directory block.
19825
6c6352e6
JM
198262013-10-10 Joseph Myers <joseph@codesourcery.com>
19827
33b853c3
JM
19828 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
19829 instead of FSF address.
19830 * soft-fp/fixdfti.c: Likewise.
19831 * soft-fp/fixsfti.c: Likewise.
19832 * soft-fp/fixtfti.c: Likewise.
19833 * soft-fp/fixunsdfti.c: Likewise.
19834 * soft-fp/fixunssfti.c: Likewise.
19835 * soft-fp/fixunstfti.c: Likewise.
19836 * soft-fp/floattidf.c: Likewise.
19837 * soft-fp/floattisf.c: Likewise.
19838 * soft-fp/floattitf.c: Likewise.
19839 * soft-fp/floatuntidf.c: Likewise.
19840 * soft-fp/floatuntisf.c: Likewise.
19841 * soft-fp/floatuntitf.c: Likewise.
19842 * soft-fp/trunctfxf2.c: Likewise.
19843
6c6352e6
JM
19844 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
19845 * soft-fp/fixdfti.c: Likewise.
19846 * soft-fp/fixsfti.c: Likewise.
19847 * soft-fp/fixtfti.c: Likewise.
19848 * soft-fp/fixunsdfti.c: Likewise.
19849 * soft-fp/fixunssfti.c: Likewise.
19850 * soft-fp/fixunstfti.c: Likewise.
19851 * soft-fp/floattidf.c: Likewise.
19852 * soft-fp/floattisf.c: Likewise.
19853 * soft-fp/floattitf.c: Likewise.
19854 * soft-fp/floatuntidf.c: Likewise.
19855 * soft-fp/floatuntisf.c: Likewise.
19856 * soft-fp/floatuntitf.c: Likewise.
19857 * soft-fp/trunctfxf2.c: Likewise.
19858
3bf78b71
DM
198592013-10-10 David S. Miller <davem@davemloft.net>
19860
19861 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19862
6f10289e
JM
198632013-10-10 Joseph Myers <joseph@codsourcery.com>
19864
bd878fc0
JM
19865 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19866 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
19867 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
19868 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
19869 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
19870 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
19871 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
19872
6f10289e
JM
19873 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
19874 for NaNs before doing comparisons on argument.
19875 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
19876 Likewise.
19877
321e2684
WN
198782013-10-10 Will Newton <will.newton@linaro.org>
19879
19880 * malloc/hooks.c (memalign_check): Ensure the value of bytes
19881 passed to _int_memalign does not overflow.
19882
40fefba1
TR
198832013-10-10 Torvald Riegel <triegel@redhat.com>
19884
19885 * scripts/bench.pl: Add include-sources directive.
19886 * benchtests/README: Update documentation.
19887
2ae21ed2
JM
198882013-10-10 Joseph Myers <joseph@codesourcery.com>
19889
dcc2dd3f
JM
19890 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
19891 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
19892 instead of FP_INIT_ROUNDMODE.
19893 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
19894 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
19895
2ae21ed2
JM
19896 [BZ #16034]
19897 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
19898 copy class of input value.
19899 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
19900 not handle exceptions.
19901 * soft-fp/negsf2.c (__negsf2): Likewise.
19902 * soft-fp/negtf2.c (__negtf2): Likewise.
19903 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
19904
cb8f9562
JM
199052013-10-09 Joseph Myers <joseph@codesourcery.com>
19906
19907 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
19908 semicolon. From Linux kernel.
19909
5b60c59d
AB
199102013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
19911
19912 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
19913
b86835ca
YC
199142013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
19915
19916 [BZ #156]
19917 * manual/socket.texi: Added statement about buffer
19918 for gethostbyname2_r.
19919
e7044ea7
OB
199202013-10-08 Ondřej Bílka <neleai@seznam.cz>
19921
19922 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
19923 Use .p2align directive instead, throughout.
19924 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19925 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
19926 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
19927 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19928 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19929 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
19930 * sysdeps/x86_64/strchr.S: Likewise.
19931 * sysdeps/x86_64/strrchr.S: Likewise.
19932
09544cbc
SP
199332013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19934
88576635
SP
19935 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
19936
e7b2d1dd
SP
19937 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
19938
09544cbc
SP
19939 * sysdeps/generic/math_private.h (__mpsin1): Remove
19940 declaration.
19941 (__mpcos1): Likewise.
19942 (__mpsin): New argument __range_reduce.
19943 (__mpcos): Likewise.
19944 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19945 (slow): Use __mpsin and __mpcos.
19946 (slow1): Likewise.
19947 (slow2): Likewise.
19948 (sloww): Likewise.
19949 (sloww1): Likewise.
19950 (sloww2): Likewise.
19951 (bsloww): Likewise.
19952 (bsloww1): Likewise.
19953 (bsloww2): Likewise.
19954 (cslow2): Likewise.
19955 (csloww): Likewise.
19956 (csloww1): Likewise.
19957 (csloww2): Likewise.
19958 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
19959 range_reduce. Merge in __mpsin1.
19960 (__mpcos): Likewise.
19961 (__mpsin1): Remove.
19962 (__mpcos1): Likewise.
19963
7602d070
JM
199642013-10-07 Joseph Myers <joseph@codesourcery.com>
19965
19966 * locale/loadlocale.c (_nl_intern_locale_data): Use
19967 LOCFILE_ALIGNED_P.
19968 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
19969 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
19970 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
19971 obstack data is appropriately aligned.
19972 (obstack_int32_grow_fast): Likewise.
19973 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
19974 * locale/programs/locfile.c (add_locale_uint32): Likewise.
19975 (add_locale_uint32_array): Likewise.
19976
a357259b
SP
199772013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19978
19979 * benchtests/Makefile: Remove ARGLIST and RET variables.
19980 ($(objpfx)bench-%.c): Pass only function name to the script.
19981 * benchtests/README: Update documentation.
19982 * benchtests/acos-inputs: Add new directives.
19983 * benchtests/acosh-inputs: Likewise.
19984 * benchtests/asin-inputs: Likewise.
19985 * benchtests/asinh-inputs: Likewise.
19986 * benchtests/atan-inputs: Likewise.
19987 * benchtests/atanh-inputs: Likewise.
19988 * benchtests/cos-inputs: Likewise.
19989 * benchtests/cosh-inputs: Likewise.
19990 * benchtests/exp-inputs: Likewise.
19991 * benchtests/log-inputs: Likewise.
19992 * benchtests/pow-inputs: Likewise.
19993 * benchtests/rint-inputs: Likewise.
19994 * benchtests/sin-inputs: Likewise.
19995 * benchtests/sinh-inputs: Likewise.
19996 * benchtests/tan-inputs: Likewise.
19997 * benchtests/tanh-inputs: Likewise.
19998 * scripts/bench.pl: Add support for new directives.
19999
9ec1b13d
AM
200002013-10-07 Alan Modra <amodra@gmail.com>
20001
20002 * README: Fix careless merge.
20003
8b7d57cd
AM
200042013-10-05 Alan Modra <amodra@gmail.com>
20005
20006 * NEWS: Mention powerpc64le support and bugs fixed.
20007 * README: Both big-endian and little-endian powerpc64 supported.
20008
7b7bab13
ST
200092013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20010
57f41c40
AS
20011 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
20012 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
20013 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
20014 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
20015
d39baad1
RA
200162013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
20017
20018 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
20019 match prototype.
20020
cd78f7e7
JM
200212013-10-04 Joseph Myers <joseph@codesourcery.com>
20022
29d73d86
JM
20023 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
20024 Move -mhard-float appending from
20025 ports/sysdeps/powerpc/powerpc32/Makefile.
20026 [$(with-fp) = yes] (ASFLAGS): Likewise.
20027 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
20028 * sysdeps/powerpc/nofpu: Move directory from
20029 ports/sysdeps/powerpc/nofpu.
20030 * sysdeps/powerpc/soft-fp: Move directory from
20031 ports/sysdeps/powerpc/soft-fp.
20032 * sysdeps/powerpc/powerpc32/405: Move directory from
20033 ports/sysdeps/powerpc/powerpc32/405.
20034 * sysdeps/powerpc/powerpc32/440: Move directory from
20035 ports/sysdeps/powerpc/powerpc32/440.
20036 * sysdeps/powerpc/powerpc32/464: Move directory from
20037 ports/sysdeps/powerpc/powerpc32/464.
20038 * sysdeps/powerpc/powerpc32/476: Move directory from
20039 ports/sysdeps/powerpc/powerpc32/476.
20040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
20041 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
20042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
20043 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
20044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
20045 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
20046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
20047 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
20048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
20049 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
20050 * README: Update for powerpc-*-linux-gnu software floating point
20051 support in libc.
20052
e246b347
JM
20053 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
20054 case to powerpc/powerpc32*.
20055 * sysdeps/unix/sysv/linux/configure: Regenerated.
20056
89c2003e
JM
20057 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
20058 (_FPU_MASK_OM): Define as 0x04.
20059 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
20060 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
20061 0x00c10080.
20062 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
20063 0x0000003c.
20064 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
20065
cd78f7e7
JM
20066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
20067 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20068 getcontext_e500.
20069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
20070 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20071 setcontext_e500.
20072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
20073 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
20074 and setcontext_e500.
20075
c755294d
CL
200762013-10-04 Chris Leonard <cjl@sugarlabs,.org>
20077
20078 * locale/iso-3166.def: Update iso-1366.def and related occurrences
20079
e16d221c
SP
200802013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20081
20082 * manual/threads.texi (Default Thread Attributes): Fix typo.
20083
215c7d43
WN
200842013-10-04 Will Newton <will.newton@linaro.org>
20085
20086 * malloc/Makefile: Add tst-memalign.
20087 * malloc/tst-memalign.c: New file.
20088
27d0461b
WN
20089 * malloc/tst-posix_memalign.c: Add comments.
20090 (do_test): Add comments and call free on all potentially
20091 allocated pointers. Add space after cast.
20092
1bc92709
WN
20093 * malloc/tst-pvalloc.c: Add comments.
20094 (do_test): Add comments and call free on all potentially
20095 allocated pointers. Remove duplicate check for NULL pointer.
20096 Add space after cast.
20097
66a9be9d
WN
20098 * malloc/tst-valloc.c: Add comments.
20099 (do_test): Add comments and call free on all potentially
20100 allocated pointers. Remove duplicate check for NULL pointer.
20101 Add space after cast.
20102
4cb81307
AM
201032013-10-04 Alan Modra <amodra@gmail.com>
20104
20105 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20106 Use stdint types in rather than __attribute__((mode())).
20107 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20108
f8e3e9f3
AM
201092013-10-04 Alan Modra <amodra@gmail.com>
20110
20111 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20112 Correct handling of unaligned relocs for little-endian.
20113 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20114
8f9ebb08
AM
201152013-10-04 Alan Modra <amodra@gmail.com>
20116
20117 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
20118 * configure: Regenerate.
20119 * nptl/shlib-versions: Powerpc*le starts at 2.18.
20120 * shlib-versions: Likewise.
20121
0edf96c2
AM
201222013-10-04 Alan Modra <amodra@gmail.com>
20123
20124 * string/tester.c (test_memrchr): Increment reported test cycle.
20125
e0f7a380
AM
201262013-10-04 Alan Modra <amodra@gmail.com>
20127
20128 * string/test-memcpy.c (do_one_test): When reporting errors, print
20129 string address and don't overrun end of string.
20130
466b0393
AM
201312013-10-04 Alan Modra <amodra@gmail.com>
20132
20133 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
20134 insrdi. Make better use of reg selection to speed exit slightly.
20135 Schedule entry path a little better. Remove useless "are we done"
20136 checks on entry to main loop. Handle wrapping around zero address.
20137 Correct main loop count. Handle single left-over word from main
20138 loop inline rather than by using loop_small. Remove extra word
20139 case in loop_small caused by wrong loop count. Add little-endian
20140 support.
20141 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20142 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
20143 cache hint.
20144 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20145 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
20146 support. Avoid rlwimi.
20147 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
20148
3be87c77
AM
201492013-10-04 Alan Modra <amodra@gmail.com>
20150
20151 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 20152 insrdi. Formatting.
3be87c77
AM
20153 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
20154 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20155 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
20156 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20157 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20158 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
20159
759cfef3
AM
201602013-10-04 Alan Modra <amodra@gmail.com>
20161
20162 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
20163 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20164 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
20165 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
20166 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20167 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20168 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20169 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20170 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
20171 use of regs. Use power7 mtocrf. Tidy function tails.
20172
fe6e95d7
AM
201732013-10-04 Alan Modra <amodra@gmail.com>
20174
20175 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
20176 Formatting. Consistently use rXXX register defines or rN defines.
20177 Use early exit labels that avoid restoring unused non-volatile regs.
20178 Make cr field use more consistent with rWORDn compares. Rename
20179 regs used as shift registers for unaligned loop, using rN defines
20180 for short lifetime/multiple use regs.
20181 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20182 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
20183 addi 1,1,64 to pop stack frame. Simplify return value code.
20184 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20185
664318c3
AM
201862013-10-04 Alan Modra <amodra@gmail.com>
20187
20188 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
20189 support. Correct typos, formatting. Optimize tail. Use insrdi
20190 rather than rlwimi.
20191 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
20192 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
20193 little-endian support. Correct typos.
20194 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
20195 rather than rlwimi.
20196 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
20197 in loop and entry code to keep "and." results.
20198 (strchr): Add little-endian support. Comment. Move cntlzd
20199 earlier in tail.
20200 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
20201
43b84013
AM
202022013-10-04 Alan Modra <amodra@gmail.com>
20203
20204 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
20205 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
20206 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
20207 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
20208
8a7413f9
AM
202092013-10-04 Alan Modra <amodra@gmail.com>
20210
20211 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
20212 (rTMP): Define as r11.
20213 (strcmp): Add little-endian support. Optimise tail.
20214 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
20215 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20216 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20217 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20218 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20219 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20220 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20221
33ee81de
AM
202222013-10-04 Alan Modra <amodra@gmail.com>
20223
20224 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
20225 little-endian support. Remove unnecessary "are we done" tests.
20226 Handle "s" wrapping around zero and extremely large "size".
20227 Correct main loop count. Handle single left-over word from main
20228 loop inline rather than by using small_loop. Correct comments.
20229 Delete "zero" tail, use "end_max" instead.
20230 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
20231
db9b4570
AM
202322013-10-04 Alan Modra <amodra@gmail.com>
20233
20234 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
20235 support. Don't branch over align.
20236 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
20237 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
20238 support. Rearrange tmp reg use to suit. Comment.
20239 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
20240
f7c399cf
AM
202412013-10-04 Alan Modra <amodra@gmail.com>
20242
20243 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
20244
0b2c2ace
AM
202452013-10-04 Alan Modra <amodra@gmail.com>
20246
20247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
20248 conditional form of branch and link when obtaining pc.
20249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
20250
02f04a6c
AM
202512013-10-04 Alan Modra <amodra@gmail.com>
20252
20253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
20254 HIWORD/LOWORD.
20255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
20256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
20257
9b874b2f
AM
202582013-10-04 Alan Modra <amodra@gmail.com>
20259
20260 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
20261 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
20262 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20263 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
20264 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20265 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20266 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
20267 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20268 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20269 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
20270
be1e5d31
AB
202712013-10-04 Anton Blanchard <anton@au1.ibm.com>
20272 Alistair Popple <alistair@ozlabs.au.ibm.com>
20273 Alan Modra <amodra@gmail.com>
20274
20275 [BZ #15723]
20276 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
20277 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
20278 _dl_hwcap access for little-endian.
20279 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
20280 destroy vmx regs when saving unaligned.
20281 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
20282 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
20283 destroy vmx regs when saving unaligned.
20284
fef13a78
AM
202852013-10-04 Alan Modra <amodra@gmail.com>
20286
20287 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
20288 Don't use a union to pack hi/low value.
20289
76a66d51
AB
202902013-10-04 Anton Blanchard <anton@au1.ibm.com>
20291
20292 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
20293 for little-endian.
20294 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20295 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
20296 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20297 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20298 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20299
6a31fe7f
AM
203002013-10-04 Alan Modra <amodra@gmail.com>
20301
20302 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
20303 constants to usual value for .cst8 section, and remove redundant
20304 high address load.
20305 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
20306 constant for 0x1p52. Load little-endian words of double from
20307 correct stack offsets.
20308
7b88401f
AM
203092013-10-04 Alan Modra <amodra@gmail.com>
20310
20311 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
20312 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
20313 words of double from correct stack offsets.
20314 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20315 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
20316 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20317 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20318 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20319 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20320 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20321 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20322 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20323 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20324 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20325 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20326 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20327 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20328 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20329 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
20330 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20331
9c008155
AM
203322013-10-04 Alan Modra <amodra@gmail.com>
20333
20334 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
20335 64-bit int/double union.
20336 (_FPU_SETCW): Likewise.
20337 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
20338 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
20339
da13146d
AM
203402013-10-04 Alan Modra <amodra@gmail.com>
20341
20342 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
20343 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
20344
603e8410
AM
203452013-10-04 Alan Modra <amodra@gmail.com>
20346
20347 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
20348 use vector int constants.
20349 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
20350
4a28b3ca
AB
203512013-10-04 Anton Blanchard <anton@au1.ibm.com>
20352
20353 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
20354 array with long long.
20355 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
20356 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
20357 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
20358 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
20359 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
20360 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
20361 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
20362 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
20363 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
20364 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
20365 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
20366 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
20367 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
20368
2ca85d2b
AB
203692013-10-04 Anton Blanchard <anton@au1.ibm.com>
20370
20371 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
20372 (__signbit): Likewise. Correct for little-endian.
20373 (__signbitl): Call __signbit.
20374 (lrint): Correct for little-endian.
20375 (lrintf): Call lrint.
20376
62a728ae
AM
203772013-10-04 Alan Modra <amodra@gmail.com>
20378
20379 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
20380 union 32-bit int array member with 64-bit int array.
20381 (t515, tm256): Double rather than long double.
20382 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
20383
32c301df
AM
203842013-10-04 Alan Modra <amodra@gmail.com>
20385
20386 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
20387 Delete.
20388 (IEEE854_LONG_DOUBLE_BIAS): Delete.
20389 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
20390 version of math_ldbl.h.
20391
650ef4bd
AM
203922013-10-04 Alan Modra <amodra@gmail.com>
20393
20394 [BZ #15734], [BZ #15735]
20395 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
20396 all uses of ieee875 long double macros and unions. Simplify test
20397 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
20398 ldbl_extract_mantissa value for ix,iy exponents. Properly
20399 normalize after ldbl_extract_mantissa, and don't add hidden bit
20400 already handled. Don't treat low word of ieee854 mantissa like
20401 low word of IBM long double and mask off bit when testing for
20402 zero.
20403 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
20404 all uses of ieee875 long double macros and unions. Simplify tests
20405 for 0.0L and inf. Correct double adjustment of k. Delete dead code
20406 adjusting ha,hb. Simplify code setting kld. Delete two600 and
20407 two1022, instead use their values. Recognise that tests for large
20408 "a" and small "b" are mutually exclusive. Rename vars. Comment.
20409 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
20410 Rewrite all uses of ieee875 long double macros and unions. Simplify
20411 test for 0.0L and nan. Correct negation.
20412 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
20413 ieee875 long double macros and unions. Correct output for large
20414 magnitude x. Correct absolute value calculation.
20415 (__erfcl): Likewise.
20416 * math/libm-test.inc: Add tests for errors discovered in IBM long
20417 double versions of fmodl, remainderl, erfl and erfcl.
20418
765714ca
AM
204192013-10-04 Alan Modra <amodra@gmail.com>
20420
20421 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
20422 all uses of ieee854 long double macros and unions. Simplify tests
20423 for long doubles that are fully specified by the high double.
20424 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20425 Likewise.
20426 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
20427 Remove dead code too.
20428 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20429 (__ieee754_ynl): Likewise.
20430 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
20431 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
20432 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20433 Remove dead code too.
20434 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20435 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
20436 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20437 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
20438 Simplify.
20439 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
20440 Simplify.
20441 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
20442 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
20443 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
20444 Comment on variable precision.
20445 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
20446 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20447 Likewise.
20448 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20449 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20450 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20451 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20452 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
20453
4ebd120c
AM
204542013-10-04 Alan Modra <amodra@gmail.com>
20455
20456 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
20457 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
20458 all uses of ieee854 long double macros and unions.
20459 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20460 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20461 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
20462 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
20463 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
20464 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20465 Likewise.
20466 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
20467 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20468 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
20469 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20470 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20471 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20472 Simplify sign and nan test too.
20473 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
20474 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
20475 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
20476 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
20477 Likewise.
20478 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20479 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
20480 Likewise.
20481 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20482 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20483 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
20484 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
20485 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
20486 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
20487
1b6adf88
AM
204882013-10-04 Alan Modra <amodra@gmail.com>
20489
20490 * stdio-common/printf_size.c (__printf_size): Don't use
20491 union ieee854_long_double in fpnum union.
20492 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
20493 signbit macro to retrieve sign from long double.
20494 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
20495 retrieve sign from long double.
20496 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
20497 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
20498 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
20499 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20500 * math/test-misc.c (main): Don't use union ieee854_long_double.
20501
4cf69995
AM
205022013-10-04 Alan Modra <amodra@gmail.com>
20503
20504 [BZ #15680]
20505 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
20506 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
20507 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
20508 calculation. Remove unnecessary test for denormal exponent.
20509 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
20510 Correct handling of denormals. Avoid undefined shift behaviour.
20511 Correct normalisation of low mantissa when low double is denormal.
20512 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
20513 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
20514 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
20515 Correct normalisation of low mantissa. Test for overflow of high
20516 mantissa and normalise.
20517 (ldbl_nearbyint): Use more readable constant for two52.
20518 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
20519 (__mpn_construct_long_double): Fix test for overflow of high
20520 mantissa and correct normalisation. Avoid undefined shift.
20521
9605ca6c
AM
205222013-10-04 Alan Modra <amodra@gmail.com>
20523
20524 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20525 (union ibm_extended_long_double): Define as an array of ieee754_double.
20526 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
20527 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
20528 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
20529 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20530 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20531 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
20532 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20533 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20534 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20535 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
20536 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20537
975569d0
JM
205382013-10-03 Joseph Myers <joseph@codesourcery.com>
20539
d3d23756
JM
20540 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
20541 page size instead of calling getpagesize.
20542
975569d0
JM
20543 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
20544 (LOCFILE_ALIGN_MASK): Likewise.
20545 (LOCFILE_ALIGN_UP): Likewise.
20546 (LOCFILE_ALIGNED_P): Likewise.
20547 * locale/programs/ld-collate.c (collate_output): Use the new
20548 macros instead of __alignof__ (int32_t).
20549 * locale/weight.h (findidx): Likewise.
20550
b1fe1f2b
OB
205512013-10-03 Ondřej Bílka <neleai@seznam.cz>
20552
20553 [BZ #431]
20554 * manual/string.texi: Fix strncat and wcsncat.
20555
5f855e35
BM
205562013-10-03 Brooks Moses <bmoses@google.com>
20557
20558 [BZ #15915]
20559 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
20560 * Makerules: ...here, and adjust associated comments.
20561
3cef6009
WN
205622013-10-02 Will Newton <will.newton@linaro.org>
20563
20564 * malloc/Makefile: Add tst-pvalloc.
20565 * malloc/tst-pvalloc.c: New file.
20566
7815420b
WN
205672013-10-02 Will Newton <will.newton@linaro.org>
20568
20569 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
20570 improve test coverage.
20571
4868b204
WN
205722013-10-02 Will Newton <will.newton@linaro.org>
20573
20574 * malloc/Makefile: Add tst-posix_memalign.
20575 * malloc/tst-posix_memalign.c: New file.
20576
29c793b3
EB
205772013-10-01 Eric Blake <eblake@redhat.com>
20578
20579 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
20580 Use __THROWNL rather than __THROW on static functions.
20581
fd967522
PM
205822013-09-30 Petr Machata <pmachata@redhat.com>
20583
20584 * elf/elf.h (R_AARCH64_ABS16): New macro.
20585 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
20586 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
20587 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
20588 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
20589 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
20590 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
20591 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
20592 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
20593 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
20594 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
20595 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
20596 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
20597 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
20598 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
20599 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
20600 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
20601 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
20602 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
20603 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
20604 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
20605 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
20606 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
20607 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
20608 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
20609 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
20610 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
20611 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
20612 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
20613 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
20614 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
20615 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
20616 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
20617 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
20618 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
20619 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
20620 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
20621 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
20622 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
20623 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
20624 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
20625 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
20626 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
20627 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
20628 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
20629 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
20630 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
20631 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
20632 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
20633 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
20634 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
20635 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
20636 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
20637 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
20638 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
20639 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
20640 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
20641 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
20642 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
20643 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
20644 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
20645 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
20646 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
20647 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
20648 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
20649 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
20650 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
20651 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
20652 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
20653 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
20654 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
20655 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
20656 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
20657 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
20658 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
20659 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
20660 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
20661 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
20662 (R_AARCH64_TLSDESC_LDR): Likewise.
20663 (R_AARCH64_TLSDESC_ADD): Likewise.
20664 (R_AARCH64_TLSDESC_CALL): Likewise.
20665
b2179107
AS
206662013-09-30 Andreas Schwab <schwab@suse.de>
20667
20668 [BZ #15048]
20669 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
20670 the nss database lookup.
20671 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20672 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20673
47f28d0a
MF
206742013-09-28 Mike Frysinger <vapier@gentoo.org>
20675
20676 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
20677
206782013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
20679
20680 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
20681 ${Bash-specific parameter/pattern/string} parameter expansion.
20682 * sysdeps/unix/make-syscalls.sh: Likewise.
20683
f4518a17
KK
206842013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20685
20686 * sysdeps/sh/stackguard-macros.h: New file.
20687
dc1a95c7
OB
206882013-09-26 Ondřej Bílka <neleai@seznam.cz>
20689
20690 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20691 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
20692 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
20693 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
20694 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20695 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
20696
5ebbff8f
AZ
206972013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20698
20699 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
20700 Fix thread ID register.
20701
4fd2cf9f
JM
207022013-09-25 Joseph Myers <joseph@codesourcery.com>
20703
20704 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
20705 [POSIX || UNIX98]: Require rather than permitting all symbols from
20706 <time.h>.
20707 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
20708 element of struct sched_param.
20709 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
20710 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
20711 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
20712 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
20713 constant.
20714
12c22bc4
OL
207152013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
20716
20717 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
20718 argument calculation.
20719
a03d8ea7
JM
207202013-09-24 Joseph Myers <joseph@codesourcery.com>
20721
20722 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
20723 Expect macro.
20724 [POSIX] (pthread_attr_t): Do not require type.
20725 [POSIX] (pthread_cond_t): Likewise.
20726 [POSIX] (pthread_condattr_t): Likewise.
20727 [POSIX] (pthread_key_t): Likewise.
20728 [POSIX] (pthread_mutex_t): Likewise.
20729 [POSIX] (pthread_mutexattr_t): Likewise.
20730 [POSIX] (pthread_once_t): Likewise.
20731 [POSIX] (pthread_t): Likewise.
20732 [POSIX-based standards] (pthread_atfork): Expect function.
20733
6055173a
JM
207342013-09-24 Joseph Myers <joseph@codesourcery.com>
20735 Richard Sandiford <richard@codesourcery.com>
20736
20737 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
20738 (swap_endianness_p): New extern variable.
20739 (set_big_endian): New inline function.
20740 (maybe_swap_uint32): Likewise.
20741 (maybe_swap_uint32_array): Likewise.
20742 (maybe_swap_uint32_obstack): Likewise.
20743 * locale/programs/locfile.c: Include <stdbool.h>.
20744 (swap_endianness_p): New variable.
20745 (add_locale_uint32): Call maybe_swap_uint32.
20746 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
20747 (write_locale_data): Call maybe_swap_uint32_array.
20748 * locale/programs/ld-collate.c (obstack_int32_grow): Call
20749 maybe_swap_uint32.
20750 (obstack_int32_grow_fast): Likewise.
20751 (output_weightwc): Call maybe_swap_uint32_obstack.
20752 (collate_output): Likewise.
20753 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
20754 (OPT_LITTLE_ENDIAN): Likewise.
20755 (options): Add --little-endian and --big-endian options.
20756 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
20757 * locale/programs/locarchive.c: Include "locfile.h".
20758 (GET): New macro.
20759 (SET): Likewise.
20760 (INC): Likewise.
20761 (create_archive): Use the new macros to access fields of
20762 structures directly mapped from or written to locale archives.
20763 (oldlocrecentcmp): Likewise.
20764 (enlarge_archive): Likewise.
20765 (insert_name): Likewise.
20766 (add_alias): Likewise.
20767 (add_locale): Likewise.
20768 (delete_locales_from_archive): Likewise.
20769 (show_archive_content): Likewise.
20770 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
20771 locale data.
20772
39bf0bb4
RM
207732013-09-24 Roland McGrath <roland@hack.frob.com>
20774
20775 * manual/freemanuals.texi: Updated from (newly) canonical copy at
20776 http://www.gnu.org/doc/freemanuals.texi.
20777 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
20778
f02eed10
WN
207792013-09-24 Will Newton <will.newton@linaro.org>
20780
20781 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
20782 macro.
20783
a3a6c312
JM
207842013-09-23 Joseph Myers <joseph@codesourcery.com>
20785
20786 * locale/hashval.h (compute_hashval): Interpret bytes of key as
20787 unsigned char.
20788
107375ac
MR
207892013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
20790
20791 * manual/threads.texi (POSIX Threads): Fix a typo.
20792
141f3a77
SP
207932013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20794
303e567a
SP
20795 [BZ #14547]
20796 * string/tst-strcoll-overflow.c: New test case.
20797 * string/Makefile (xtests): Add tst-strcoll-overflow.
20798 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
20799 cache if string sizes may cause integer overflow.
20800
141f3a77
SP
20801 [BZ #14547]
20802 * string/strcoll_l.c (coll_seq): New members rule, idx,
20803 save_idx and back_us.
20804 (get_next_seq_nocache): New function.
20805 (do_compare_nocache): New function.
20806 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
20807 when malloc fails.
20808
c61b4d41
CD
208092013-09-23 Carlos O'Donell <carlos@redhat.com>
20810
0b1f8e35
CD
20811 [BZ #15754]
20812 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
20813 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
20814 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
20815
c61b4d41
CD
20816 [BZ #15754]
20817 * elf/Makefile (tests): Add tst-ptrguard1.
20818 (tests-static): Add tst-ptrguard1-static.
20819 (tst-ptrguard1-ARGS): Define.
20820 (tst-ptrguard1-static-ARGS): Define.
20821 * elf/tst-ptrguard1.c: New file.
20822 * elf/tst-ptrguard1-static.c: New file.
20823 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
20824 * sysdeps/i386/stackguard-macros.h: Likewise.
20825 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20826 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20827 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20828 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20829 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20830 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20831
208322013-09-23 Hector Marco <hecmargi@upv.es>
20833 Ismael Ripoll <iripoll@disca.upv.es>
20834 Carlos O'Donell <carlos@redhat.com>
20835
20836 [BZ #15754]
20837 * sysdeps/generic/stackguard-macros.h: Define
20838 __pointer_chk_guard_local and POINTER_CHK_GUARD.
20839 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
20840 Define __pointer_chk_guard_local.
20841 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
20842 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
20843
f5f4e7b4
VV
208442013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
20845
20846 [BZ #15859]
20847 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
20848
5bb43a43
AS
208492013-09-20 Andreas Schwab <schwab@linux-m68k.org>
20850
20851 * include/string.h (__ffs): Declare as hidden.
20852 * string/ffs.c (__ffs): Define as hidden.
20853 * sysdeps/i386/ffs.c (__ffs): Likewise.
20854 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
20855 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
20856 * sysdeps/s390/ffs.c (__ffs): Likewise.
20857 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
20858
3ea5be54
AO
208592013-09-20 Alexandre Oliva <aoliva@redhat.com>
20860
ffb89e53
AO
20861 * NEWS: Mention malloc probes.
20862
322dea08
AO
20863 * malloc/arena.c (new_heap): New memory_heap_new probe.
20864 (grow_heap): New memory_heap_more probe.
20865 (shrink_heap): New memory_heap_less probe.
20866 (heap_trim): New memory_heap_free probe.
20867 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
20868 (systrim): New memory_sbrk_less probe.
20869 * manual/probes.texi: Document them.
20870
655673f3
AO
20871 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
20872 * manual/probes.texi: Document it.
20873
35fed6f1
AO
20874 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
20875 (__libc_realloc): Add memory_realloc_retry probe.
20876 (__libc_memalign): Add memory_memalign_retry probe.
20877 (__libc_valloc): Add memory_valloc_retry probe.
20878 (__libc_pvalloc): Add memory_pvalloc_retry probe.
20879 (__libc_calloc): Add memory_calloc_retry probe.
20880 * manual/probes.texi: Document them.
20881
6999d38c
AO
20882 * malloc/arena.c (get_free_list): Add probe
20883 memory_arena_reuse_free_list.
20884 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
20885 and memory_arena_reuse.
20886 (arena_get2) [!PER_THREAD]: Likewise.
20887 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
20888 memory_arena_reuse_realloc.
20889 * manual/probes.texi: Document them.
20890
0653427f
AO
20891 * malloc/malloc.c (__libc_free): Add
20892 memory_mallopt_free_dyn_thresholds probe.
20893 (__libc_mallopt): Add multiple memory_mallopt probes.
20894 * manual/probes.texi: Document them.
20895
3ea5be54
AO
20896 * malloc/malloc.c: Include stap-probe.h.
20897 (__libc_mallopt): Add memory_mallopt probe.
20898 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
20899 * manual/probes.texi: New.
20900 * manual/Makefile (chapters): Add probes.
20901 * manual/threads.texi: Set next node.
20902
e35696c3 209032013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 20904
e35696c3
CL
20905 [BZ #15963, #13985]
20906 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
20907 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
20908 Add `Chinese' to `nan' entry name.
20909
4aafb73c
SP
209102013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20911
20912 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
20913 (POLYNOMIAL): Likewise.
20914 (TAYLOR_SINCOS): Likewise.
20915 (TAYLOR_SLOW): Likewise.
20916 (__sin): Use TAYLOR_SINCOS.
20917 (__cos): Likewise.
20918 (slow): Use TAYLOR_SLOW.
20919 (sloww): Likewise.
20920 (bsloww): Likewise.
20921 (csloww): Likewise.
20922
d84f25c7
LD
209232013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20924
20925 * stdlib/strtod_l.c: Fix buffer overrun.
20926
5eea0404
SP
209272013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20928
7849ff93
SP
20929 * benchtests/Makefile (bench): Add sincos.
20930 * benchtests/bench-sincos.c: New file.
20931
cfa3c886
SP
20932 * math/libm-test.inc (cos_test_data): New test inputs.
20933 (sin_test_data): Likewise.
20934
b348e1e3
SP
20935 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
20936 macro.
20937 (__sin): Use it.
20938 (__cos): Likewise.
20939 (slow1): Likewise.
20940 (slow2): Likewise.
20941 (sloww1): Likewise.
20942 (sloww2): Likewise.
20943 (bsloww1): Likewise.
20944 (bsloww2): Likewise.
20945 (cslow2): Likewise.
20946 (csloww1): Likewise.
20947 (csloww2): Likewise.
20948
6cce25f8
SP
20949 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
20950 function.
20951 (__sin): Use it.
20952 (__cos): Likewise.
20953
5eea0404
SP
20954 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
20955 gotos.
20956 (__cos): Likewise.
20957
9c21573c
MR
209582013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
20959
20960 * config.h.in (HAVE_MIPS_NAN2008): New macro.
20961 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
20962 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
20963 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
20964 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
20965 * elf/cache.c (print_entry): Handle the new cache flags.
20966
24d22e65
JM
209672013-09-18 Joseph Myers <joseph@codesourcery.com>
20968 Aldy Hernandez <aldyh@redhat.com>
20969
20970 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
20971 Change condition to [_SOFT_FLOAT].
20972 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
20973 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
20974 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
20975 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
20976 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
20977 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
20978 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
20979 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
20980 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
20981 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
20982 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
20983 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
20984 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
20985 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
20986 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
20987 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
20988 declaration.
20989
d13ef066
JM
209902013-09-18 Joseph Myers <joseph@codesourcery.com>
20991
2e071de0
JM
20992 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
20993 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20994 (__longjmp): Use LOAD_GP to load saved GPRs.
20995 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
20996 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20997 (__sigsetjmp): Use SAVE_GP to save GPRs.
20998
d13ef066
JM
20999 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
21000 Do not append -msoft-float.
21001 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
21002
97a0650b
SP
210032013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21004
21005 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
21006
11ca09e9
JM
210072013-09-17 Joseph Myers <joseph@codesourcery.com>
21008
21009 [BZ #15966]
21010 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
21011 (_FPU_GETCW): Use initial "__" on variable and field names but not
21012 on macro parameter name.
21013 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
21014 parentheses around reference to macro parameter.
21015
08ffcf34
RS
210162013-09-13 Richard Sandiford <richard@codesourcery.com>
21017
21018 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
21019 prototype.
21020 (ctype_startup): Use uint32_t in cast and sizeof for
21021 ctype->charnames.
21022
ae7080d3
JL
210232013-09-11 Jia Liu <proljc@gmail.com>
21024
21025 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
21026 __daddr_t_defined.
21027 [__FreeBSD__]: Likewise.
21028
5905e7b3
OB
210292013-09-11 Ondřej Bílka <neleai@seznam.cz>
21030
21031 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21032 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
21033 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
21034 (strchr): Remove __strchr_sse42 ifunc selection.
21035 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
21036 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
21037
b987c776
WN
210382013-09-11 Will Newton <will.newton@linaro.org>
21039
21040 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
21041 parameter to RES. Remove hardcoded 1000 value.
21042 * benchtests/bench-skeleton.c (main): Pass RES parameter
21043 to TIMING_INIT and multiply result by 1000.
21044
ddf985af
AZ
210452013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21046
21047 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21048
ffdd3181
AS
210492013-09-11 Andreas Schwab <schwab@suse.de>
21050
21051 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21052 if not defined.
21053 (O_TMPFILE) [__USE_GNU]: Define.
21054 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
21055 Define.
21056
b73ed247
WN
210572013-09-11 Will Newton <will.newton@linaro.org>
21058
21059 [BZ #15857]
21060 * malloc/malloc.c (__libc_memalign): Check the value of bytes
21061 does not overflow.
21062
55e17aad
WN
210632013-09-11 Will Newton <will.newton@linaro.org>
21064
21065 [BZ #15856]
21066 * malloc/malloc.c (__libc_valloc): Check the value of bytes
21067 does not overflow.
21068
1159a193
WN
210692013-09-11 Will Newton <will.newton@linaro.org>
21070
21071 [BZ #15855]
21072 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
21073 does not overflow.
21074
5905e7b3 210752013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
21076
21077 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
21078 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21079 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21080 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21081 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21082
cdfc721b
AM
210832013-09-10 Allan McRae <allan@archlinux.org>
21084
aa04af00
AM
21085 [BZ #15748]
21086 * manual/arith.texi (Parsing of Floats): Clarify
21087 cross-reference.
21088
cdfc721b
AM
21089 [BZ #15849]
21090 * manual/install.texi (Running make install): Mention
21091 --enable-pt-chown.
21092 * INSTALL: Regenerated.
21093
95e7cf29
MR
210942013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21095
21096 * csu/init-first.c (_init): Remove the !SHARED condition around
21097 FPU control word initialization.
21098 * elf/dl-support.c (_dl_fpu_control): New variable.
21099 (_dl_aux_init) <AT_FPUCW>: Initialize it.
21100 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
21101 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
21102 * math/test-fpucw-static.c: New file.
21103 * math/test-fpucw-ieee.c: New file.
21104 * math/test-fpucw-ieee-static.c: New file.
21105 * math/Makefile (tests): Add `test-fpucw-ieee' and
21106 `$(tests-static)'.
21107 (tests-static): New variable.
21108 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
21109 dependency to...
21110 [($(build-shared),yes)]
21111 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21112 ... this.
21113 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
21114 New dependency.
21115
83e43bf0
AM
211162013-09-09 Allan McRae <allan@archlinux.org>
21117
a9f5ce09
AM
21118 [BZ #15939]
21119 * manual/string.texi (Collation Functions): Fix typo in
21120 strcoll example.
21121 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
21122
34829bc2
AM
21123 [BZ #15893]
21124 * stdlib/isomac.c (get_null_defines): Fix memory leak.
21125
3932737d
AM
21126 [BZ #15892]
21127 * libio/memstream.c (open_memstream): Fix memory leak.
21128 * libio/wmemstream.c (open_wmemstream): Likewise.
21129
83e43bf0
AM
21130 [BZ #15895]
21131 * nscd/netgroupcache.c: Fix nesting of ifdefs.
21132
0c66b8e9
WN
211332013-09-09 Will Newton <will.newton@linaro.org>
21134
21135 * malloc/Makefile: Add tst-realloc to tests.
21136 * malloc/tst-realloc.c: New file.
21137
f6b00fd1
AM
211382013-09-09 Allan McRae <allan@archlinux.org>
21139
21140 [BZ #15844]
21141 * COPYING: Update from GNU website to fix FSF address.
21142 * COPYING.LIB: Likewise.
21143
eec55e16
DM
211442013-09-06 David S. Miller <davem@davemloft.net>
21145
21146 * po/zh_TW.po: Update Chinese (traditional) translation from
21147 translation project.
21148
1ecbb381
RS
211492013-09-06 Richard Sandiford <richard@codesourcery.com>
21150 Joseph Myers <joseph@codesourcery.com>
21151
21152 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
21153 "localeinfo.h".
21154 (obstack_chunk_alloc): New macro.
21155 (obstack_chunk_free): Likewise.
21156 (record_offset): New function.
21157 (init_locale_data): Likewise.
21158 (align_locale_data): Likewise.
21159 (add_locale_empty): Likewise.
21160 (add_locale_raw_data): Likewise.
21161 (add_locale_raw_obstack): Likewise.
21162 (add_locale_string): Likewise.
21163 (add_locale_wstring): Likewise.
21164 (add_locale_uint32): Likewise.
21165 (add_locale_uint32_array): Likewise.
21166 (add_locale_char): Likewise.
21167 (start_locale_structure): Likewise.
21168 (end_locale_structure): Likewise.
21169 (start_locale_prelude): Likewise.
21170 (end_locale_prelude): Likewise.
21171 (write_locale_data): Take locale_file structure rather than an
21172 iovec.
21173 * locale/programs/locfile.h: Include "obstack.h".
21174 (struct locale_file): Change to store locale file contents instead
21175 of header.
21176 (init_locale_data): New prototype.
21177 (align_locale_data): Likewise.
21178 (add_locale_empty): Likewise.
21179 (add_locale_raw_data): Likewise.
21180 (add_locale_raw_obstack): Likewise.
21181 (add_locale_string): Likewise.
21182 (add_locale_wstring): Likewise.
21183 (add_locale_uint32): Likewise.
21184 (add_locale_uint32_array): Likewise.
21185 (add_locale_char): Likewise.
21186 (start_locale_structure): Likewise.
21187 (end_locale_structure): Likewise.
21188 (start_locale_prelude): Likewise.
21189 (end_locale_prelude): Likewise.
21190 (write_locale_data): Update prototype.
21191 * locale/programs/3level.h (struct TABLE): Remove result field.
21192 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
21193 Use new locale_file interface.
21194 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
21195 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
21196 * locale/programs/ld-address.c (address_output): Use new
21197 locale_file interface.
21198 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
21199 NO_ADD_LOCALE.
21200 (collate_finish): Don't call collseq_table_finalize.
21201 (collate_output): Use new locale_file interface.
21202 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
21203 in file.
21204 (NO_FINALIZE): Change to NO_ADD_LOCALE.
21205 (TABLE): Move defines earlier in file.
21206 (ELEMENT): Likewise.
21207 (DEFAULT): Likewise.
21208 (wctrans_table_add): Move macro and inline function earlier in
21209 file.
21210 (struct wctype_table): Move type earlier in file.
21211 (add_locale_wctype_table): New static prototype.
21212 (struct locale_ctype_t): Use logical types instead of struct iovec
21213 pointers for members.
21214 (ctype_output): Use new locale_file interface.
21215 (wctype_table_finalize): Change to add_locale_wctype_table. Use
21216 new locale_file interface.
21217 (allocate_arrays): Update for use of new locale_file interface.
21218 * locale/programs/ld-identification.c (identification_output): Use
21219 new locale_file interface.
21220 * locale/programs/ld-measurement.c (measurement_output): Likewise.
21221 * locale/programs/ld-messages.c (messages_output): Likewise.
21222 * locale/programs/ld-monetary.c (monetary_output): Likewise.
21223 * locale/programs/ld-name.c (name_output): Likewise.
21224 * locale/programs/ld-numeric.c (numeric_output): Likewise.
21225 * locale/programs/ld-paper.c (paper_output): Likewise.
21226 * locale/programs/ld-telephone.c (telephone_output): Likewise.
21227 * locale/programs/ld-time.c (time_output): Likewise.
21228
e029e2e5
AZ
212292013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21230
21231 * benchtests/Makefile: Add memrchr benchmark.
21232 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
21233 benchmark as memrchr.
21234 * benchtests/bench-memrchr-ifunc.c: New file.
21235 * benchtests/bench-memrchr.c: New file.
21236
bbf6e8e4
WN
212372013-09-06 Will Newton <will.newton@linaro.org>
21238
21239 * benchtests/Makefile (string-bench): Add memcpy.
21240
6c82a2f8
CD
212412013-09-05 Carlos O'Donell <carlos@redhat.com>
21242 Cong Wang <amwang@redhat.com>
21243
e732c5f0 21244 [BZ #15850]
6c82a2f8
CD
21245 * sysdeps/unix/sysv/linux/bits/in.h
21246 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
21247 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
21248 before __USE_KERNEL_IPV6_DEFS uses.
21249 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
21250 IPPROTO_BEETPH.
21251 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
21252 sockaddr_in6, or ipv6_mreq.
21253
5430fc65
AZ
212542013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21255
21256 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
21257 memory access for final bytes in some large inputs.
21258 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
21259
4660856c
AZ
212602013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21261
21262 * string/test-memrchr.c: New file.
21263 * string/test-memrchr-ifunc.c: New file.
21264 * string/Makefile: Add new memrchr testcase.
21265
bb8ea713
MF
212662013-09-05 Mike Frysinger <vapier@gentoo.org>
21267
21268 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
21269 fanotify_init returns EPERM.
21270
b92a20b5
JM
212712013-09-04 Joseph Myers <joseph@codesourcery.com>
21272
21273 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
21274 errors.
21275 (top level): Treat second token from macro or constant entries for
21276 allowed headers as allowed.
21277 * include/complex.h: Condition internal declarations on
21278 [!_ISOMAC].
21279 * include/fenv.h: Condition include of <stdbool.h> and internal
21280 declarations on [!_ISOMAC].
7447ccd9
CL
21281
212822013-09-04 Chris Leonard <cjl@sugarlabs,.org>
21283
3e181dda 21284 [BZ #15923]
7447ccd9
CL
21285 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
21286
3f2e46a4
JM
212872013-09-04 Joseph Myers <joseph@codesourcery.com>
21288
21289 * configure.in (--enable-versioning): Remove configure option.
21290 (libc_cv_asm_symver_directive): Remove configure test.
21291 (libc_cv_ld_version_script_option): Likewise.
21292 (VERSIONING): Remove variable and AC_SUBST.
21293 (DO_VERSIONING): Remove AC_DEFINE.
21294 * configure: Regenerated.
21295 * config.h.in (DO_VERSIONING): Remove macro.
21296 * Makerules [$(versioning) = yes]: Change conditionals to
21297 [$(build-shared) = yes].
21298 * config.make.in (versioning): Remove variable.
21299 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
21300 [$(build-shared) = yes].
21301 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
21302 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
21303 * elf/Makefile [$(versioning) = yes]: Change conditionals to
21304 [$(build-shared) = yes].
21305 * extra-lib.mk [$(versioning) = yes]: Likewise.
21306 * hurd/Makefile [$(versioning) = yes]: Likewise.
21307 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
21308 [SHARED].
21309 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
21310 [SHARED].
21311 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21312 [SHARED && !NO_HIDDEN].
21313 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
21314 [SHARED].
21315 [SHARED && DO_VERSIONING]: Likewise..
21316 * libio/Makefile [$(versioning) = yes]: Change conditionals to
21317 [$(build-shared) = yes].
21318 * manual/install.texi (--disable-versioning): Remove
21319 documentation.
21320 * INSTALL: Regenerated.
21321 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
21322 to [SHARED].
21323 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
21324 [$(build-shared) = yes].
21325 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
21326 * sysdeps/i386/i686/multiarch/strstr-c.c
21327 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21328 [SHARED && !NO_HIDDEN].
21329 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
21330 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
21331 * sysdeps/powerpc/powerpc32/dl-machine.c
21332 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
21333 * sysdeps/powerpc/powerpc32/sysdep.h
21334 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
21335 to [SHARED && PIC && !NO_HIDDEN].
21336 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
21337 conditional to [SHARED].
21338
44558701
WN
213392013-09-04 Will Newton <will.newton@linaro.org>
21340
21341 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
21342 * benchtests/bench-string.h: Include bench-timing.h instead
21343 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
21344 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
21345 call to HP_TIMING_DIFF_INIT.
21346 * benchtests/bench-memccpy.c: Use bench-timing.h macros
21347 instead of hp-timing.h macros.
21348 * benchtests/bench-memchr.c: Likewise.
21349 * benchtests/bench-memcmp.c: Likewise.
21350 * benchtests/bench-memcpy.c: Likewise.
21351 * benchtests/bench-memmem.c: Likewise.
21352 * benchtests/bench-memmove.c: Likewise.
21353 * benchtests/bench-memset.c: Likewise.
21354 * benchtests/bench-rawmemchr.c: Likewise.
21355 * benchtests/bench-strcasecmp.c: Likewise.
21356 * benchtests/bench-strcasestr.c: Likewise.
21357 * benchtests/bench-strcat.c: Likewise.
21358 * benchtests/bench-strchr.c: Likewise.
21359 * benchtests/bench-strcmp.c: Likewise.
21360 * benchtests/bench-strcpy.c: Likewise.
21361 * benchtests/bench-strcpy_chk.c: Likewise.
21362 * benchtests/bench-strlen.c: Likewise.
21363 * benchtests/bench-strncasecmp.c: Likewise.
21364 * benchtests/bench-strncat.c: Likewise.
21365 * benchtests/bench-strncmp.c: Likewise.
21366 * benchtests/bench-strncpy.c: Likewise.
21367 * benchtests/bench-strnlen.c: Likewise.
21368 * benchtests/bench-strpbrk.c: Likewise.
21369 * benchtests/bench-strrchr.c: Likewise.
21370 * benchtests/bench-strspn.c: Likewise.
21371 * benchtests/bench-strstr.c: Likewise.
21372
cae16d66
WN
213732013-09-04 Will Newton <will.newton@linaro.org>
21374
21375 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
21376
ffa3cd7f
JM
213772013-09-03 Joseph Myers <joseph@codesourcery.com>
21378
21379 [BZ #15427]
21380 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21381 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
21382 * math/libm-test.inc (lgamma_test_data): Add more tests.
21383 * sysdeps/i386/fpu/libm-test-ulps: Update.
21384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21385
8f02859f
OB
213862013-09-03 Ondřej Bílka <neleai@seznam.cz>
21387
21388 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
21389 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21390 Add ifunc.
21391 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21392 Add strcmp-sse2-unaligned
21393 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
21394
18d43716
MF
213952013-09-02 Mike Frysinger <vapier@gentoo.org>
21396
21397 * Versions.def (libc): Add GLIBC_2.19.
21398
ac444012
MF
213992013-09-02 Mike Frysinger <vapier@gentoo.org>
21400
21401 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
21402 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
21403
b7835e32
JM
214042013-09-02 Joseph Myers <joseph@codesourcery.com>
21405
21406 [BZ #14155]
21407 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
21408 intermediate calculations in recurrence.
21409 (__ieee754_ynf): Likewise.
21410 * math/libm-test.inc (jn_test_data): Do not allow spurious
21411 underflow exception. Add more tests.
21412 (yn_test_data): Add more tests.
21413 * sysdeps/i386/fpu/libm-test-ulps: Update.
21414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21415
8220f4f0
OB
214162013-09-02 Ondřej Bílka <neleai@seznam.cz>
21417
21418 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
21419
f24a6d08
OB
214202013-08-30 Ondřej Bílka <neleai@seznam.cz>
21421
21422 * csu/init-first.c: Fix then/than typos.
21423 * locale/programs/ld-collate.c: Likewise.
21424 * locale/programs/linereader.h: Likewise.
21425 * manual/charset.texi: Likewise.
21426 * manual/filesys.texi: Likewise.
21427 * manual/stdio.texi: Likewise.
21428 * manual/string.texi: Likewise.
21429 * stdlib/fmtmsg.c: Likewise.
21430 * sysdeps/i386/stpncpy.S: Likewise.
21431 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21432 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21433 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21434 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21435
382466e0
OB
214362013-08-30 Ondřej Bílka <neleai@seznam.cz>
21437
21438 * elf/dl-open.c: Fix typos.
21439 * iconvdata/gbbig5.c: Likewise.
21440 * iconvdata/iso-2022-jp.c: Likewise.
21441 * iconv/gconv_int.h: Likewise.
21442 * iconv/loop.c: Likewise.
21443 * nis/rpcsvc/nis.h: Likewise.
21444 * resolv/ns_name.c: Likewise.
21445 * stdio-common/vfscanf.c: Likewise.
21446 * streams/stropts.h: Likewise.
21447 * sunrpc/rpc_thread.c: Likewise.
21448 * sysdeps/i386/strpbrk.S: Likewise.
21449 * sysdeps/ieee754/k_standard.c: Likewise.
21450 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21451 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21452 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
21453 * sysdeps/mach/hurd/profil.c: Likewise.
21454 * sysdeps/s390/dl-procinfo.h: Likewise.
21455 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
21456 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21457 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
21458 * sysdeps/x86_64/dl-trampoline.S: Likewise.
21459 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21460
0186c6e9
OB
214612013-08-30 Ondřej Bílka <neleai@seznam.cz>
21462
21463 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
21464 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
21465
d4e16af1
OB
214662013-08-29 Ondřej Bílka <neleai@seznam.cz>
21467
21468 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
21469 aix specific files.
21470 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
21471 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
21472 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
21473 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
21474 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
21475 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
21476 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
21477 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
21478
88335980
TS
214792013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21480 Roland McGrath <roland@hack.frob.com>
21481
21482 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
21483 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
21484
ed479b02
ST
214852013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
21486
21487 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
21488 __executable_start symbol instead of _start.
21489
f1cc4c86
TS
214902013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21491
d821f07c
TS
21492 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
21493 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
21494 Move macros to...
21495 * sysdeps/gnu/ldsodefs.h: ... this new file.
21496
c54290cf
TS
21497 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
21498 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
21499 instead of ELFOSABI_LINUX.
21500
0007fc9b 21501 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
21502 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
21503 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
21504 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
21505 Likewise.
21506 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
21507 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
21508 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
21509 Likewise.
21510 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21511 (ibm_extended_long_double): Add ieee_nan member.
21512 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
21513 (do_test): New function.
21514
f1cc4c86
TS
21515 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
21516 TEST_TRUNC.
21517 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
21518 functions, renamed from truncdfsf_test, trunctfsf_test,
21519 trunctfdf_test.
21520 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
21521 functions.
21522 (do_test): Run all these.
21523
6f65e668
OB
215242013-08-29 Ondřej Bílka <neleai@seznam.cz>
21525
21526 * argp/argp-help.c: Fix typos.
21527 * argp/argp-parse.c: Likewise.
21528 * debug/backtracesyms.c: Likewise.
21529 * elf/elf.h: Likewise.
21530 * malloc/malloc.c: Likewise.
21531 * nis/nis_print.c: Likewise.
21532 * resolv/res_comp.c: Likewise.
21533 * stdlib/stdlib.h: Likewise.
21534 * sunrpc/clnt_tcp.c: Likewise.
21535 * sunrpc/clnt_udp.c: Likewise.
21536 * sunrpc/clnt_unix.c: Likewise.
21537 * sysdeps/unix/bsd/ptsname.c: Likewise.
21538 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
21539 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
21540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
21541 Likewise.
21542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
21543 Likewise.
21544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21545 Likewise.
6f65e668
OB
21546 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21547
3a309239
SP
215482013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21549
21550 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
21551 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21552
3b813b29
MF
215532013-08-27 Mike Frysinger <vapier@gentoo.org>
21554
21555 [BZ #15897]
21556 * dlfcn/Makefile (tests): Add bug-dl-leaf.
21557 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
21558 ($(objpfx)bug-dl-leaf): New rule.
21559 ($(objpfx)bug-dl-leaf.so): Likewise.
21560 ($(objpfx)bug-dl-leaf.out): Likewise.
21561 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
21562 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
21563 * dlfcn/bug-dl-leaf.c: New test.
21564 * dlfcn/bug-dl-leaf-lib.c: Likewise.
21565 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
21566 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
21567 (dlclose): Likewise.
21568 (dlmopen): Likewise.
21569
8cc3269f
RM
215702013-08-27 Roland McGrath <roland@hack.frob.com>
21571
7f9d0034
RM
21572 * include/netdb.h [!_ISOMAC]:
21573 Don't include <tls.h>.
21574 (h_errno, __libc_h_errno): Move declaration and macros out of
21575 [_LIBC_REENTRANT].
21576
fb431262
RM
21577 * include/resolv.h [_RESOLV_H_]:
21578 Don't include <tls.h>.
21579 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
21580 * resolv/res_libc.c: Don't include <tls.h>.
21581 (_res): Use __attribute__ ((nocommon)) in place of
21582 __attribute__ ((section (".bss"))).
21583
bd81123a
RM
21584 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
21585 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
21586
c4e42566
RM
21587 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
21588
f890a59b
RM
21589 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
21590 only under [SIOCGIFCONF && SIOCGIFNETMASK].
21591
21592 * resolv/res_mkquery.c: Include <sys/time.h>.
21593
5d1f0a09
RM
21594 * inet/ifreq.c: Moved to ...
21595 * sysdeps/unix/ifreq.c: ... here.
21596 * inet/ifreq.c: New file, true stub version.
21597
6fcf28b3
RM
21598 * socket/sa_len.c: New file.
21599 * socket/Makefile (aux): Add it.
21600 * sysdeps/unix/sysv/linux/Makefile
21601 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
21602 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
21603 and #include <socket/sa_len.c>.
21604 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
21605 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
21606
e041fb8b
RM
21607 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
21608 * bits/socket.h: ... here.
21609
8cc3269f
RM
21610 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
21611 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
21612 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
21613
5d228a43
AS
216142013-08-27 Andreas Schwab <schwab@suse.de>
21615
45b8accc
AS
21616 [BZ #15736]
21617 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
21618 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
21619 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
21620 * string/test-strcasecmp.c (test_main): Run tests in several
21621 locales.
21622 * string/test-strncasecmp.c (test_main): Likewise.
21623
5d228a43
AS
21624 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
21625 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
21626 to __strcasecmp_nonascii and __strncasecmp_nonascii.
21627 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
21628 (__strncasecmp_ssse3) [PIC]: Likewise.
21629
59d112a4
RM
216302013-08-26 Roland McGrath <roland@hack.frob.com>
21631
53234cc3
RM
21632 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
21633
59d112a4
RM
21634 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
21635 instead of explicitly declaring xdecrypt.
21636 * nis/nss_nis/nis-publickey.c: Likewise.
21637
595aba70
SP
216382013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21639
21640 [BZ #15890]
21641 * nscd/aicache.c: Include res_hconf.h.
21642 (addhstaiX): Initialize res_hconf.
21643
ffabd393
AS
216442013-08-26 Andreas Schwab <schwab@suse.de>
21645
21646 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
21647 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
21648
e0a69f5c
SP
216492013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21650
21651 * nscd/aicache.c (addhstaiX): Fix indentation.
21652
8c12f01d
MF
216532013-08-25 Mike Frysinger <vapier@gentoo.org>
21654
21655 * configure.ac: Quote $build_pt_chown test.
21656 * configure: Regenerated.
21657
8fe89494
JM
216582013-08-23 Joseph Myers <joseph@codesourcery.com>
21659
21660 [BZ #15532]
21661 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
21662 * math/s_cexpf.c (__cexpf): Likewise.
21663 * math/s_cexpl.c (__cexpl): Likewise.
21664 * math/libm-test.inc (cexp_test_data): Correct expected return
21665 value for NaN + i0. Add another test.
21666
75b181d6
DM
216672013-08-22 David S. Miller <davem@davemloft.net>
21668
21669 * po/ca.po: Update Catalan translation from translation project.
936241e4 21670 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 21671
acd06bb1
JM
216722013-08-21 Joseph Myers <joseph@codesourcery.com>
21673
21674 [BZ #15797]
21675 * math/s_fdim.c (__fdim): Check for infinite arguments if result
21676 is infinite, not alongside NaN test.
21677 * math/s_fdimf.c (__fdimf): Likewise.
21678 * math/s_fdiml.c (__fdiml): Likewise.
21679 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
21680 errno is unchanged.
21681
c0c3f78a
OB
216822013-08-21 Ondřej Bílka <neleai@seznam.cz>
21683
21684 * argp/argp-help.c: Fix typos.
21685 * crypt/speeds.c: Likewise.
21686 * csu/check_fds.c: Likewise.
21687 * elf/dl-load.c: Likewise.
21688 * elf/dl-open.c: Likewise.
21689 * elf/reldep3.c: Likewise.
21690 * elf/reldep.c: Likewise.
21691 * elf/sprof.c: Likewise.
21692 * iconv/iconv_charmap.c: Likewise.
21693 * iconv/skeleton.c: Likewise.
21694 * iconv/strtab.c: Likewise.
21695 * io/lockf64.c: Likewise.
21696 * libio/libioP.h: Likewise.
21697 * resolv/gai_notify.c: Likewise.
21698 * resolv/ns_name.c: Likewise.
21699 * resolv/ns_samedomain.c: Likewise.
21700 * resolv/res_send.c: Likewise.
21701 * stdlib/random.c: Likewise.
21702 * sunrpc/rpc/xdr.h: Likewise.
21703 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
21704 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21705 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21706 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21707 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21708 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21709 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21710 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21711 * sysdeps/mach/hurd/check_fds.c: Likewise.
21712 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21713 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21714 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21715 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21716 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21717 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21718 * sysdeps/pthread/aio_notify.c: Likewise.
21719 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
21720 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
21721 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
21722 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21723 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21724
46ed1038
LD
217252013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21726
21727 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
21728 version if bit_Slow_SSE4_2 is set.
21729 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21730 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21731
d400dcac
AZ
217322013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21733
21734 [BZ #15867]
21735 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
21736 trampoline stack frame information.
21737 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
21738 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
21739 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
21740 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
21741 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
21742 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21743 (_libc_vdso_platform_setup): Initialize the signal trampolines.
21744 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
21745 sa_flags value.
21746 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
21747 interrupting a syscall and set with option SA_SIGINFO.
21748
42c8fdd8
JM
217492013-08-20 Joseph Myers <joseph@codesourcery.com>
21750
c980f2f4
JM
21751 [BZ #15531]
21752 * math/s_cproj.c (__cproj): Only return an infinity if one part of
21753 argument is infinite.
21754 * math/s_cprojf.c (__cprojf): Likewise.
21755 * math/s_cprojl.c (__cprojl): Likewise.
21756 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
21757 * math/libm-test.inc (cproj_test_data): Add more tests.
21758
0716c4fc
JM
21759 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
21760
42c8fdd8
JM
21761 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
21762 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
21763 size. Use __ffs to determine corresponding shift.
21764
b31469d0
JM
217652013-08-20 Joseph Myers <joseph@codesourcery.com>
21766 Roland McGrath <roland@hack.frob.com>
21767
21768 * Makefile (INSTALL): Remove trailing blank lines from output of
21769 makeinfo.
21770
4e39af6e
AK
217712013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21772
21773 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
21774 Align 32 bit compat elf_greg to 8 bytes.
21775
f315524e
AA
217762013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
21777
21778 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
21779
1326ba1a
SP
217802013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21781
21782 * string/strcoll_l.c (coll_seq): New structure.
21783 (get_next_seq_cached): New function.
21784 (get_next_seq): New function.
21785 (do_compare): New function.
21786 (STRCOLL): Use GNU style definition. Simplify implementation
21787 by using get_next_seq, get_next_seq_cached and do_compare.
21788
91ce4085
FW
217892013-08-16 Florian Weimer <fweimer@redhat.com>
21790
21791 [BZ #14699]
21792 CVE-2013-4237
21793 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
21794 member.
21795 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
21796 member.
21797 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
21798 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
21799 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
21800 conditional.
21801 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
21802 GETDENTS_64BIT_ALIGNED.
21803 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21804 * manual/filesys.texi (Reading/Closing Directory): Document
21805 ENAMETOOLONG return value of readdir_r. Recommend readdir more
21806 strongly.
21807 * manual/conf.texi (Limits for Files): Add portability note to
21808 NAME_MAX, PATH_MAX.
21809 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
21810
ca0a6bc4
AS
218112013-08-13 Andreas Schwab <schwab@suse.de>
21812
21813 [BZ #15749]
21814 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
21815 of fabs.
21816 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
21817 LDBL_MAX_EXP >= 16384]: Add tests for it.
21818
6c1fd795
DM
218192013-08-12 David S. Miller <davem@davemloft.net>
21820
21821 * version.h (RELEASE): Set to "development".
21822 (VERSION): Set to "2.18.90".
21823 * NEWS: Add 2.19 section.
21824
31ad488d
DM
218252013-08-03 David S. Miller <davem@davemloft.net>
21826
21827 * po/ko.po: Update Korean translation from translation project.
21828
db24e684
DM
218292013-08-01 David S. Miller <davem@davemloft.net>
21830
21831 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
21832 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
21833 Bilka.
21834
f723285b
DM
218352013-07-30 David S. Miller <davem@davemloft.net>
21836
21837 * po/fr.po: Update French translation from translation project.
21838
3cbc52db
DM
218392013-07-28 David S. Miller <davem@davemloft.net>
21840
30bbc0cc
DM
21841 * po/cs.po: Update Czech translation from translation project.
21842
3cbc52db
DM
21843 * po/sv.po: Update Swedish translation from translation project.
21844
d492e6d0
DM
218452013-07-27 David S. Miller <davem@davemloft.net>
21846
f1a7f492
DM
21847 * po/eo.po: Update Esperanto translation from translation project.
21848
90e62a4a
DM
21849 * po/vi.po: Update Vietnamese translation from translation project.
21850
d492e6d0
DM
21851 * po/de.po: Update German translation from translation project.
21852
d4baa62d
DM
218532013-07-26 David S. Miller <davem@davemloft.net>
21854
641aa7b4
DM
21855 * po/bg.po: Update Bulgarian translation from translation project.
21856
d4baa62d
DM
21857 * po/nl.po: Update Dutch translation from translation project.
21858 * po/pl.po: Update Polish translation from translation project.
21859 * po/ru.po: Update Russian translation from translation project.
21860
61a9dcb9
DM
218612013-07-24 David S. Miller <davem@davemloft.net>
21862
21863 * po/libc.pot: Update.
21864
7b1f8b58
AZ
218652013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21866
21867 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
21868 variable page size.
21869 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
21870 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
21871 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
21872
a8fc7a03
AK
218732013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21874
21875 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
21876
e4608715
CD
218772013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21878 Andreas Schwab <schwab@suse.de>
21879 Roland McGrath <roland@hack.frob.com>
21880 Joseph Myers <joseph@codesourcery.com>
21881 Carlos O'Donell <carlos@redhat.com>
21882
21883 [BZ #15755]
21884 * config.h.in: Define HAVE_PT_CHOWN.
21885 * config.make.in (build-pt-chown): New variable.
21886 * configure.in (--enable-pt_chown): New configure option.
21887 * configure: Regenerate.
21888 * login/Makefile: Include Makeconfig. Build pt_chown only if
21889 build-pt-chown is enabled.
21890 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
21891 pt_chown to fix pty ownership.
21892 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
21893 CLOSE_ALL_FDS.
21894 * manual/install.texi (Configuring and compiling): Mention
21895 --enable-pt_chown. Add @findex for grantpt.
21896 * INSTALL: Regenerate.
21897
da2d62df
DM
218982013-07-20 David S. Miller <davem@davemloft.net>
21899
21900 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
21901 difference between 32-bit and 64-bit.
21902
d7e06450
CD
219032013-07-15 Carlos O'Donell <carlos@redhat.com>
21904
21905 [BZ #15711]
21906 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
21907 Avoid system header dependency with -ffreestanding.
21908 ($(objpfx)bits/syscall%d): Likewise.
21909
f959cfd7
DM
219102013-07-13 David S. Miller <davem@davemloft.net>
21911
21912 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
21913 underflows from atanl/atan2l due to bug 15319.
21914 (casinh_test_data): Likewise.
21915
c61f8513
DM
219162013-07-07 David S. Miller <davem@davemloft.net>
21917
21918 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21919
72c90ed0
JA
219202013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
21921
21922 * sysdeps/i386/fpu/libm-test-ulps: Update.
21923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21924
52dfbe13
SP
219252013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21926
21927 * configure.in (--enable-lock-elision): Fix message text.
21928 * INSTALL: Regenerate.
21929 * configure: Regenerate.
21930
3f169543
AZ
219312013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21932
21933 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21934
521c6785
AJ
219352013-07-03 Andreas Jaeger <aj@suse.de>
21936
21937 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
21938 define.
21939 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
21940 (ptrace_peeksiginfo_args): Add.
21941 (__ptrace_peeksiginfo_flags): Add.
21942 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21943 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21944 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21945
d2cc15cb
AM
219462013-07-03 Allan McRae <allan@archlinux.org>
21947
21948 * sysdeps/i386/fpu/libm-test-ulps: Update.
21949
3aaeeca7
DM
219502013-07-02 David S. Miller <davem@davemloft.net>
21951
21952 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21953
5314ed1a
MT
219542013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
21955
21956 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21957
67338156
JM
219582013-07-02 Joseph Myers <joseph@codesourcery.com>
21959
21960 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21962
1717da59
AK
219632013-07-02 Andi Kleen <ak@linux.intel.com>
21964
21965 * config.h.in (ENABLE_LOCK_ELISION): Add.
21966 * configure.in (--enable-lock-elision): Add option.
21967 * manual/install.texi: Document --enable lock elision.
21968 * configure: Regenerate
21969 * INSTALL: Regenerate.
21970
1c81621c
L
219712013-07-02 H.J. Lu <hongjiu.lu@intel.com>
21972
21973 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
21974 SSE4.2 strcasecmp for libc.a.
21975 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
21976
77f01ab5
JM
219772013-07-02 Joseph Myers <joseph@codesourcery.com>
21978
21979 [BZ #13304]
21980 * soft-fp/op-common.h (_FP_FMA): New macro.
21981 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
21982 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
21983 (_FP_MUL_MEAT_1_imm): ... here.
21984 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
21985 (_FP_MUL_MEAT_1_wide): ... here.
21986 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
21987 (_FP_MUL_MEAT_1_hard): ... here.
21988 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
21989 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
21990 (_FP_MUL_MEAT_2_wide): ... here.
21991 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
21992 (_FP_MUL_MEAT_2_wide_3mul): ... here.
21993 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
21994 (_FP_MUL_MEAT_2_gmp): ... here.
21995 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
21996 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
21997 (_FP_MUL_MEAT_4_wide): ... here.
21998 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
21999 (_FP_MUL_MEAT_4_gmp): ... here.
22000 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
22001 (_FP_WFRACBITS_DW_S): Likewise.
22002 (_FP_WFRACXBITS_DW_S): Likewise.
22003 (_FP_HIGHBIT_DW_S): Likewise.
22004 (FP_FMA_S): Likewise.
22005 (_FP_FRAC_HIGH_DW_S): Likewise.
22006 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
22007 (_FP_WFRACBITS_DW_D): Likewise.
22008 (_FP_WFRACXBITS_DW_D): Likewise.
22009 (_FP_HIGHBIT_DW_D): Likewise.
22010 (FP_FMA_D): Likewise.
22011 (_FP_FRAC_HIGH_DW_D): Likewise.
22012 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
22013 (_FP_WFRACBITS_DW_E): Likewise.
22014 (_FP_WFRACXBITS_DW_E): Likewise.
22015 (_FP_HIGHBIT_DW_E): Likewise.
22016 (FP_FMA_E): Likewise.
22017 (_FP_FRAC_HIGH_DW_E): Likewise.
22018 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
22019 (_FP_WFRACBITS_DW_Q): Likewise.
22020 (_FP_WFRACXBITS_DW_Q): Likewise.
22021 (_FP_HIGHBIT_DW_Q): Likewise.
22022 (FP_FMA_Q): Likewise.
22023 (_FP_FRAC_HIGH_DW_Q): Likewise.
22024 * soft-fp/fmasf4.c: New file.
22025 * soft-fp/fmadf4.c: Likewise.
22026 * soft-fp/fmatf4.c: Likewise.
22027
6308fd9a
LD
220282013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22029
22030 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22031 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
22032 Silvermont.
22033 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
22034 macro.
22035 (index_Slow_SSE4_2): Likewise.
22036 (index_Prefer_PMINUB_for_stringop): Likewise.
22037 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
22038 bit_Slow_SSE4_2 is set.
22039 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22040 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22041
89cd9569
RA
220422013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22043
22044 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
22045 rtld_global._dl_hwcap2.
22046 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
22047 POWER8.
22048 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
22049 POWER8 feature descriptions defined in _dl_hwcap2.
22050 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
22051 string handling for POWER8 feature bits.
22052 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
22053 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
22054 _dl_powerpc_cap_flags.
22055 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
22056 * sysdeps/powerpc/rtld-global-offsets.sym
22057 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
22058 _dl_hwcap2 in the rtld_global_ro structure.
22059
1ae8bfe0
RA
220602013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22061
22062 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
22063 hardware capabilities in support of AT_HWCAP2.
22064 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
22065 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
22066 GLRO(dl_hwcap2).
22067 (_dl_show_auxv): Add support for calling _dl_procinfo to display
22068 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
22069 explicitly the unknown a_type display mechanism is used.
22070 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
22071 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
22072 struct member.
22073 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
22074 to macro prototype for AT_HWCAP2 support.
22075 * sysdeps/i386/dl-procinfo.h: Likewise.
22076 * sysdeps/s390/dl-procinfo.h: Likewise.
22077 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
22078 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
22079 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
22080 return -1 for unknown a_type display fallback.
22081 * sysdeps/sparc/dl-procinfo.h: Likewise.
22082 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
22083 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
22084
8fbec010
JM
220852013-06-28 Joseph Myers <joseph@codesourcery.com>
22086
22087 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
22088 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
22089
0432680e
PY
220902013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
22091
22092 [BZ #12492]
22093 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
22094 mprotect making __stack_prot writable.
22095
ce61a2ad
NF
220962013-06-28 Nathan Froyd <froydnj@codesourcery.com>
22097 Joseph Myers <joseph@codesourcery.com>
22098
22099 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
22100 as being properly aligned.
22101
f91f1c0f
MR
221022013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
22103
3d0f5d0c
MR
22104 * dlfcn/modstatic5.c: New file.
22105 * dlfcn/tststatic5.c: New file.
22106 * dlfcn/Makefile (tests): Add tststatic5.
22107 (tests-static): Likewise.
22108 (modules-names): Add modstatic5.
22109 (tststatic5-ENV): New variable.
22110 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
22111
f91f1c0f
MR
22112 [BZ #15022]
22113 * elf/dl-support.c (_dl_main_map): New variable.
22114 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
22115 (_dl_nns, _dl_load_adds): Set to 1.
22116 (_dl_initial_searchlist): Refer to _dl_main_map.
22117 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
22118 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
22119 call to _dl_get_origin.
22120 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
22121 around call_map.
22122 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
22123 * dlfcn/modstatic3.c: New file.
22124 * dlfcn/tststatic3.c: New file.
22125 * dlfcn/tststatic4.c: New file.
22126 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
22127 (tests-static): Likewise.
22128 (modules-names): Add modstatic3.
22129 (tststatic3-ENV, tststatic4-ENV): New variables.
22130 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
22131 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
22132
cbe7d24b
JM
221332013-06-26 Joseph Myers <joseph@codesourcery.com>
22134
22135 * configure.in (CC): Require GCC version 4.4 or later.
22136 * configure: Regenerated.
22137 * manual/install.texi (Tools for Compilation): Update GCC version
22138 requirement.
22139 * INSTALL: Regenerated.
22140
11b8a0e1
LD
221412013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22142
22143 [BZ #15674]
bb5bb87c
L
22144 * string/test-memcmp.c (check2): New.
22145 (main): Call check2.
22146
11b8a0e1
LD
22147 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
22148
b0037103
MR
221492013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
22150
22151 [BZ #15022]
22152 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
22153 over to...
22154 (dl_open_worker) [!SHARED]: ... here.
22155
c18c701d
RA
221562013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22157
22158 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
22159
1d17fa5f
RH
221602013-06-25 Richard Henderson <rth@redhat.com>
22161
22162 * locale/programs/locarchive.c: Include <libc-internal.h>
22163
8fcb833a
JM
221642013-06-25 Joseph Myers <joseph@codesourcery.com>
22165
22166 * manual/texinfo.tex: Update to version 2013-06-21.17, with
22167 trailing whitespace removed.
22168
17db6e8d
MF
221692013-06-24 Mike Frysinger <vapier@gentoo.org>
22170
22171 [BZ #10283]
17db6e8d
MF
22172 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
22173 * locale/programs/locarchive.c: Include libc-mmap.h.
22174 (prepare_address_space): Take two new outputs (the mmap base and len).
22175 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
22176 values.
22177 (create_archive): Declare new mmap base and len values for
22178 prepare_address_space, and store the result in ah.
22179 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
22180 (enlarge_archive): If ah->mmap_base is not NULL, use that and
22181 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22182 Declare new mmap base and len values for
22183 prepare_address_space, and store the result in new_ah.
22184 (open_archive): Declare new mmap base and len values for
22185 prepare_address_space, and store the result in ah.
22186 (close_archive): If ah->mmap_base is not NULL, use that and
22187 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22188 * sysdeps/generic/libc-mmap.h: New file.
22189
d605071e
MF
221902013-06-24 Mike Frysinger <vapier@gentoo.org>
22191
22192 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
22193 (ALIGN_UP): Likewise.
22194 (PTR_ALIGN_DOWN): Likewise.
22195 (PTR_ALIGN_UP): Likewise.
22196
2f063a6e
RA
221972013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22198
22199 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
22200 entry mapped to PPC_PLATFORM_POWER8.
22201 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
22202 POWER8.
22203 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
22204 (_dl_string_platform): Add case for exporting platform position for
22205 POWER8.
22206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
22207 search path to sysdeps/powerpc/powerpc32/power8 directory.
22208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
22209 search path to sysdeps/powerpc/powerpc64/power8 directory.
22210 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
22211 power7 directories.
22212 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
22213 power7 directories.
22214
a31ee4b3
SP
222152013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22216
a74ca98f
SP
22217 * INSTALL: Regenerate.
22218
a31ee4b3
SP
22219 * nscd/connections.c (nscd_init): Fix comment.
22220
695c378f
JM
222212013-06-22 Joseph Myers <joseph@codesourcery.com>
22222
d8412221
JM
22223 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
22224
695c378f
JM
22225 [BZ #15667]
22226 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
22227 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
22228
d1d54715
MR
222292013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
22230
22231 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
22232 DL_DST_REQ_STATIC.
22233 (DL_DST_REQ_STATIC): Remove macro.
22234
8fdda7af
JM
222352013-06-21 Joseph Myers <joseph@codesourcery.com>
22236
22237 [BZ #7006]
22238 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
22239 with a shift of 0 bits.
22240
f3bc5e5a
MR
222412013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
22242
22243 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
22244 $(tststatic-ENV).
22245
be09e8c9
KK
222462013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22247
22248 [BZ #15655]
22249 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
22250
85c2e611
AZ
222512013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22252
22253 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
22254 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
22255 accepts -fno-tree-loop-distribute-patterns.
22256 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
22257 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
22258 recursive call.
22259 * string/memset.c (memset): Likewise.
22260 * string/test-memmove.c (simple_memmove): Disable loop transformation
22261 to library calls.
22262 * string/test-memset.c (simple_memset): Likewise.
22263 * benchtests/bench-memmove.c (simple_memmove): Likewise.
22264 * benchtests/bench-memset.c (simple_memset): Likewise.
22265 * configure: Regenerated.
22266
c91e0825
JM
222672013-06-20 Joseph Myers <joseph@codesourcery.com>
22268
b8c792af
JM
22269 * math/test-misc.c (main): Ignore fesetround failure when failures
22270 of subsequent rounding tests would be ignored.
22271
c91e0825
JM
22272 [BZ #15654]
22273 * math/fedisblxcpt.c (fedisableexcept): Return 0.
22274 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
22275 * math/fegetenv.c (__fegetenv): Return 0.
22276 * math/fegetexcept.c (fegetexcept): Return 0.
22277 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
22278 FE_TONEAREST.
22279 * math/feholdexcpt.c (feholdexcept): Return 0.
22280 * math/fesetenv.c (__fesetenv): Return 0.
22281 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
22282 argument FE_TONEAREST.
22283 * math/feupdateenv.c (__feupdateenv): Return 0.
22284 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
22285
bfcacbde
RM
222862013-06-18 Roland McGrath <roland@hack.frob.com>
22287
22288 * elf/rtld-Rules (rtld-compile-command.S): New variable.
22289 (rtld-compile-command.s, rtld-compile-command.c): New variables.
22290 ($(objpfx)rtld-%.os rules): Use them.
22291
e55a9b25
AZ
222922013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22293
22294 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
22295 fields.
22296
346d65b3
RM
222972013-06-17 Roland McGrath <roland@hack.frob.com>
22298
12086fb4
RM
22299 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
22300 length of target pattern, then descending length of dependency pattern.
22301 * configure.in (AWK): Require gawk 3.1.2 or newer.
22302 * manual/install.texi (Tools for Compilation): Say that we do.
22303 * configure: Regenerated.
22304
346d65b3
RM
22305 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
22306 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
22307 * scripts/sysd-rules.awk: ... this new script.
22308 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
22309 than a glob-style pattern.
22310
1a846317
JM
223112013-06-17 Joseph Myers <joseph@codesourcery.com>
22312
22313 * math/test-misc.c (main): Do not treat incorrectly rounded
22314 conversions as failure unless ROUNDING_TESTS passes.
22315
8fc75e6f
JM
223162013-06-15 Joseph Myers <joseph@codesourcery.com>
22317
3711a167
JM
22318 [BZ #15631]
22319 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
22320 restore exception state around main square root computation, then
22321 check for inexactness explicitly.
22322
8fc75e6f
JM
22323 * math/libm-test.inc (fma_test_data): Add another test.
22324
61dd6208
SP
223252013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22326
adf23d2c
SP
22327 * manual/threads.texi (Non-POSIX Extensions): New document
22328 node. Document pthread_getattr_default_np and
22329 pthread_setattr_default_np.
22330
61dd6208
SP
22331 * Versions.def (libpthread): Add GLIBC_2.18.
22332 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
22333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22334 Likewise.
22335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22336 Likewise.
22337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22338 Likewise.
22339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22340 Likewise.
22341 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
22342 Likewise.
22343 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22344 Likewise.
22345 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22346 Likewise.
22347 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22348 Likewise.
22349 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22350 Likewise.
22351
d086fc7b
LD
223522013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22353
22354 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22355 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
22356
747ef469
SP
223572013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22358 H.J. Lu <hjl.tools@gmail.com>
22359
22360 [BZ #15627]
22361 * sysdeps/x86_64/rtld-memset.c: Remove file.
22362 * sysdeps/x86_64/rtld-memset.S: New file.
22363
1b2feed2
JM
223642013-06-14 Joseph Myers <joseph@codesourcery.com>
22365
22366 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
22367 (test_in_one_mode): Take arguments for whether the rounding mode
22368 is supported for each floating-point type.
22369 (do_test): Pass new arguments to test_in_one_mode using
22370 ROUNDING_TESTS.
22371
a58ad3f8
RM
223722013-06-13 Roland McGrath <roland@hack.frob.com>
22373
22374 * posix/tst-waitid.c (do_test): Distinguish different instances of
22375 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
22376 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
22377 before entering the kernel for waitpid.
22378
c204ab28
SP
223792013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22380
22381 * NEWS: Fix note on clock function precision. Text by Roland
22382 McGrath.
22383
f4a29fba
RM
223842013-06-13 Roland McGrath <roland@hack.frob.com>
22385
22386 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
22387 it into place only when and if the sanity check passes.
22388
1f24b9ad
JM
223892013-06-13 Joseph Myers <joseph@codesourcery.com>
22390
22391 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
22392 output for whether conversion result is exact. Take argument
22393 indicating whether type is IBM long double.
22394 (round_for_all): Change need_exact field to ibm_ld.
22395 * stdlib/tst-strtod-round.c (struct exactness): New type.
22396 (struct test): Change bool ld_ok field to struct exactness exact.
22397 (TEST): Update all definitions for change to field.
22398 (tests): Regenerate array contents.
22399 (test_in_one_mode): Take pointer to new field instead of old ld_ok
22400 field value. Check for IBM long double here.
22401 (do_test): Update calls to test_in_one_mode.
22402
58206c68
SP
224032013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22404
22405 [BZ #12515]
22406 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
22407 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
22408
2d6f4c5b 224092013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
22410
22411 [BZ #15605]
22412 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
22413 generated by the compiler on loop optimizations.
22414 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
22415 general definitions.
22416
94f2c076
JM
224172013-06-12 Joseph Myers <joseph@codesourcery.com>
22418
22419 * math/bug-nextafter.c: Include <math-tests.h>.
22420 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22421 the relevant type.
22422 * math/bug-nexttoward.c: Include <math-tests.h>.
22423 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22424 the relevant type.
22425 * math/test-misc.c: Include <math-tests.h>.
22426 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22427 the relevant type.
22428
e0e50a0a
AJ
224292013-06-12 Andreas Jaeger <aj@suse.de>
22430
22431 * po/ia.po: Update Interlingua translation from translation
22432 project.
22433
25061094
SP
224342013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22435
22436 * include/fenv.h: Include stdbool.h.
22437 (struct rm_ctx): New structure.
22438 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
22439 Define macro.
22440 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
22441 (SET_RESTORE_ROUNDF): Likewise.
22442 (SET_RESTORE_ROUNDL): Likewise.
22443 (SET_RESTORE_ROUND_NOEX): Likewise.
22444 (SET_RESTORE_ROUND_NOEXF): Likewise.
22445 (SET_RESTORE_ROUND_NOEXL): Likewise.
22446 (SET_RESTORE_ROUND_53BIT): Likewise.
22447 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
22448 (libc_feresetround_noexf_ctx): Likewise.
22449 (libc_feresetround_noexl_ctx): Likewise.
22450 (libc_feholdsetround_53bit_ctx): Likewise.
22451 (libc_feresetround_53bit_ctx): Likewise.
22452 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
22453 (libc_feholdexcept_setround_sse_ctx): New function.
22454 (libc_fesetenv_sse_ctx): Likewise.
22455 (libc_feupdateenv_sse_ctx): Likewise.
22456 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
22457 (libc_feholdexcept_setround_387_ctx): Likewise.
22458 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
22459 (libc_feholdsetround_387_prec_ctx): Likewise.
22460 (libc_feholdsetround_387_ctx): Likewise.
22461 (libc_feholdsetround_387_53bit_ctx): Likewise.
22462 (libc_feholdsetround_sse_ctx): Likewise.
22463 (libc_feresetround_sse_ctx): Likewise.
22464 (libc_feresetround_387_ctx): Likewise.
22465 (libc_feupdateenv_387_ctx): Likewise.
22466 (libc_feholdexcept_setroundf_ctx): Define macro.
22467 (libc_fesetenvf_ctx): Likewise.
22468 (libc_feupdateenvf_ctx): Likewise.
22469 (libc_feholdsetroundf_ctx): Likewise.
22470 (libc_feresetroundf_ctx): Likewise.
22471 (libc_feholdexcept_setround_ctx): Likewise.
22472 (libc_fesetenv_ctx): Likewise.
22473 (libc_feupdateenv_ctx): Likewise.
22474 (libc_feholdsetround_ctx): Likewise.
22475 (libc_feresetround_ctx): Likewise.
22476 (libc_feholdexcept_setroundl_ctx): Likewise.
22477 (libc_feupdateenvl_ctx): Likewise.
22478 (libc_feholdsetroundl_ctx): Likewise.
22479 (libc_feresetroundl_ctx): Likewise.
22480 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
22481 (libc_feresetround_53bit_ctx): Likewise.
22482
59b30555
SP
224832013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22484
22485 * locale/iso-639.def: Convert to UTF-8.
22486
f1d73d30
JM
224872013-06-11 Joseph Myers <joseph@codesourcery.com>
22488
22489 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
22490 (EXCEPTION_TESTS_double): Likewise.
22491 (EXCEPTION_TESTS_long_double): Likewise.
22492 (EXCEPTION_TESTS): Likewise.
22493 * math/libm-test.inc (test_exceptions): Only test exceptions if
22494 EXCEPTION_TESTS (FLOAT).
22495
94aca5e7
SP
224962013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22497
22498 * benchtests/Makefile (string-bench): Add strcpy_chk and
22499 stpcpy_chk.
22500 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
22501 * benchtests/bench-stpcpy_chk.c: New file.
22502 * benchtests/bench-strcpy_chk-ifunc.c: New file.
22503 * benchtests/bench-strcpy_chk.c: New file.
22504 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
22505 code.
22506 (do_test): Likewise.
22507
fac0c5f2
RA
225082013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22509
22510 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
22511 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
22512 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
22513 with tabs where appropriate.
22514 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
22515 dl-procinfo.h.
22516 [PPC_PLATFORM_PPC440]: Likewise.
22517 [PPC_PLATFORM_PPC464]: Likewise.
22518 [PPC_PLATFORM_PPC476]: Likewise.
22519 (_dl_string_platform): Add support for detecting ppc405, ppc440,
22520 ppc464, and ppc476 platform strings merging from ports/
22521 dl-procinfo.h.
22522
f22bc486
AS
225232013-06-11 Andreas Schwab <schwab@suse.de>
22524
22525 [BZ #14991]
22526 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
22527 (from_ucs4_idx): Regenerate.
22528 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
22529 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
22530 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
22531 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
22532 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
22533 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
22534 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
22535 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
22536 from FROM_LOOP and TO_LOOP specific macros.
22537 (BODY): Handle combining characters.
22538 * iconvdata/BIG5HKSCS.irreversible: Update.
22539 * iconvdata/BIG5HKSCS.precomposed: New file.
22540 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
22541 characters.
22542 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
22543
c1f75dc3
SP
225442013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22545
4eacded2
SP
22546 * include/sys/time.h: Fix indentation and add copyright header.
22547
fec799f8
SP
22548 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
22549 (do_test): Likewise.
22550 * string/test-memchr.c (do_one_test): Likewise.
22551 (do_test): Likewise.
22552 * string/test-memcmp.c (do_one_test): Likewise.
22553 (do_test): Likewise.
22554 * string/test-memcpy.c (do_one_test): Likewise.
22555 (do_test): Likewise.
22556 * string/test-memmem.c (do_one_test): Likewise.
22557 (do_test): Likewise.
22558 (do_random_tests): Likewise.
22559 * string/test-memmove.c (do_one_test): Likewise.
22560 (do_test): Likewise.
22561 * string/test-memset.c (do_one_test): Likewise.
22562 (do_test): Likewise.
22563 * string/test-rawmemchr.c (do_one_test): Likewise.
22564 (do_test): Likewise.
22565 * string/test-strcasecmp.c (do_one_test): Likewise.
22566 (do_test): Likewise.
22567 * string/test-strcasestr.c (do_one_test): Likewise.
22568 (do_test): Likewise.
22569 * string/test-strcat.c (do_one_test): Likewise.
22570 (do_test): Likewise.
22571 * string/test-strchr.c (do_one_test): Likewise.
22572 (do_test): Likewise.
22573 * string/test-strcmp.c (do_one_test): Likewise.
22574 (do_test): Likewise.
22575 * string/test-strcpy.c (do_one_test): Likewise.
22576 (do_test): Likewise.
22577 * string/test-string.h: Likewise.
22578 (test_init): Likewise.
22579 * string/test-strlen.c (do_one_test): Likewise.
22580 (do_test): Likewise.
22581 * string/test-strncasecmp.c (do_one_test): Likewise.
22582 (do_test): Likewise.
22583 * string/test-strncat.c (do_one_test): Likewise.
22584 (do_test): Likewise.
22585 * string/test-strncmp.c (do_one_test): Likewise.
22586 (do_test_limit): Likewise.
22587 (do_test): Likewise.
22588 * string/test-strncpy.c (do_one_test): Likewise.
22589 (do_test): Likewise.
22590 * string/test-strnlen.c (do_one_test): Likewise.
22591 (do_test): Likewise.
22592 * string/test-strpbrk.c (do_one_test): Likewise.
22593 (do_test): Likewise.
22594 * string/test-strrchr.c (do_one_test): Likewise.
22595 (do_test): Likewise.
22596 * string/test-strspn.c (do_one_test): Likewise.
22597 (do_test): Likewise.
22598 * string/test-strstr.c (do_one_test): Likewise.
22599 (do_test): Likewise.
22600
97020474
SP
22601 * benchtests/Makefile (string-bench): Add string benchmarks.
22602 * benchtests/bench-bcopy-ifunc.c: New file.
22603 * benchtests/bench-bcopy.c: New file.
22604 * benchtests/bench-bzero-ifunc.c: New file.
22605 * benchtests/bench-bzero.c: New file.
22606 * benchtests/bench-memccpy-ifunc.c: New file.
22607 * benchtests/bench-memccpy.c: New file.
22608 * benchtests/bench-memchr-ifunc.c: New file.
22609 * benchtests/bench-memchr.c: New file.
22610 * benchtests/bench-memcmp-ifunc.c: New file.
22611 * benchtests/bench-memcmp.c: New file.
22612 * benchtests/bench-memmem-ifunc.c: New file.
22613 * benchtests/bench-memmem.c: New file.
22614 * benchtests/bench-memmove-ifunc.c: New file.
22615 * benchtests/bench-memmove.c: New file.
22616 * benchtests/bench-mempcpy-ifunc.c: New file.
22617 * benchtests/bench-mempcpy.c: New file.
22618 * benchtests/bench-memset-ifunc.c: New file.
22619 * benchtests/bench-memset.c: New file.
22620 * benchtests/bench-rawmemchr-ifunc.c: New file.
22621 * benchtests/bench-rawmemchr.c: New file.
22622 * benchtests/bench-stpcpy-ifunc.c: New file.
22623 * benchtests/bench-stpcpy.c: New file.
22624 * benchtests/bench-stpncpy-ifunc.c: New file.
22625 * benchtests/bench-stpncpy.c: New file.
22626 * benchtests/bench-strcasecmp-ifunc.c: New file.
22627 * benchtests/bench-strcasecmp.c: New file.
22628 * benchtests/bench-strcasestr-ifunc.c: New file.
22629 * benchtests/bench-strcasestr.c: New file.
22630 * benchtests/bench-strcat-ifunc.c: New file.
22631 * benchtests/bench-strcat.c: New file.
22632 * benchtests/bench-strchr-ifunc.c: New file.
22633 * benchtests/bench-strchr.c: New file.
22634 * benchtests/bench-strchrnul-ifunc.c: New file.
22635 * benchtests/bench-strchrnul.c: New file.
22636 * benchtests/bench-strcmp-ifunc.c: New file.
22637 * benchtests/bench-strcmp.c: New file.
22638 * benchtests/bench-strcpy-ifunc.c: New file.
22639 * benchtests/bench-strcpy.c: New file.
22640 * benchtests/bench-strcspn-ifunc.c: New file.
22641 * benchtests/bench-strcspn.c: New file.
22642 * benchtests/bench-strlen-ifunc.c: New file.
22643 * benchtests/bench-strlen.c: New file.
22644 * benchtests/bench-strncasecmp-ifunc.c: New file.
22645 * benchtests/bench-strncasecmp.c: New file.
22646 * benchtests/bench-strncat-ifunc.c: New file.
22647 * benchtests/bench-strncat.c: New file.
22648 * benchtests/bench-strncmp-ifunc.c: New file.
22649 * benchtests/bench-strncmp.c: New file.
22650 * benchtests/bench-strncpy-ifunc.c: New file.
22651 * benchtests/bench-strncpy.c: New file.
22652 * benchtests/bench-strnlen-ifunc.c: New file.
22653 * benchtests/bench-strnlen.c: New file.
22654 * benchtests/bench-strpbrk-ifunc.c: New file.
22655 * benchtests/bench-strpbrk.c: New file.
22656 * benchtests/bench-strrchr-ifunc.c: New file.
22657 * benchtests/bench-strrchr.c: New file.
22658 * benchtests/bench-strspn-ifunc.c: New file.
22659 * benchtests/bench-strspn.c: New file.
22660 * benchtests/bench-strstr-ifunc.c: New file.
22661 * benchtests/bench-strstr.c: New file.
22662
c1f75dc3
SP
22663 * benchtests/Makefile: Disable parallel execution of targets.
22664 (string-bench): Add memcpy.
22665 (benchset): New variable to store a list of benchmark sets.
22666 (bench-func): Renamed from bench.
22667 (bench-set): New target.
22668 (bench): Depend on bench-func and bench-set.
22669 * benchtests/README: Add section on benchmark sets.
22670 * benchtests/bench-memcpy-ifunc.c: New file.
22671 * benchtests/bench-memcpy.c: New file.
22672 * benchtests/bench-string.h: New file.
22673
50fd745b
AS
226742013-06-11 Andreas Schwab <schwab@suse.de>
22675
22676 [BZ #15577]
22677 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
22678 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
22679 values in the triple.
22680 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
22681 terminator in the group key.
22682
3ee7e9fe
AJ
226832013-06-11 Andreas Jaeger <aj@suse.de>
22684
22685 * po/zh_TW.po: Update Chinese (traditional) translation from
22686 translation project.
22687
89fb6835
SP
226882013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22689
22690 * include/time.h (__clock_gettime): Add libc_hidden_proto.
22691 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
22692 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
22693 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22694 (clock_getcpuclockid): Likewise.
22695 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
22696 Add weak_alias and libc_hidden_def.
22697 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
22698 * rt/clock_gettime.c (clock_gettime): Rename to
22699 __clock_gettime. Add weak_alias and libc_hidden_def.
22700 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
22701 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
22702 __clock_nanosleep. Add weak_alias and libc_hidden_def.
22703 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
22704 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
22705 Likewise.
22706 * rt/clock_settime.c (clock_settime): Rename to
22707 __clock_settime. Add weak_alias and libc_hidden_def.
22708 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
22709
0efa6f8b
JM
227102013-06-10 Joseph Myers <joseph@codesourcery.com>
22711
b8c61b4b
JM
22712 * mach/err_boot.sub: Remove trailing whitespace.
22713 * mach/err_ipc.sub: Likewise.
22714 * mach/err_mach.sub: Likewise.
22715
0efa6f8b
JM
22716 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
22717 (ROUNDING_TESTS_double): Likewise.
22718 (ROUNDING_TESTS_long_double): Likewise.
22719 (ROUNDING_TESTS): Likewise.
22720 * math/libm-test.inc: Include <math-tests.h>.
22721 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
22722 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22723 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22724 (IF_ROUND_INIT_FE_UPWARD): Likewise.
22725
50b818bf
SP
227262013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22727
22728 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
22729 of assigning.
22730
60d2f8f3
JM
227312013-06-08 Joseph Myers <joseph@codesourcery.com>
22732
4902d2c3
JM
22733 * sysdeps/gnu/errlist.awk: Do not generate space at end of
22734 otherwise empty TRANS lines.
22735 * sysdeps/gnu/errlist.c: Regenerated.
22736
60d2f8f3
JM
22737 * catgets/gencat.c (error_print): Use (void) in function
22738 definition.
22739 * crypt/crypt_util.c (__init_des): Likewise.
22740 * crypt/speeds.c (Stop): Likewise.
22741 (main): Likewise.
22742 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
22743 * inet/ruserpass.c (token): Likewise.
22744 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
22745 * intl/localealias.c (extend_alias_table): Likewise.
22746 * intl/plural-exp.c (init_germanic_plural): Likewise.
22747 * libio/fcloseall.c (__fcloseall): Likewise.
22748 * libio/genops.c (_IO_flush_all): Likewise.
22749 (_IO_flush_all_linebuffered): Likewise.
22750 (_IO_cleanup): Likewise.
22751 (_IO_iter_begin): Likewise.
22752 (_IO_iter_end): Likewise.
22753 (_IO_list_lock): Likewise.
22754 (_IO_list_unlock): Likewise.
22755 (_IO_list_resetlock): Likewise.
22756 * libio/getchar.c (getchar): Likewise.
22757 * libio/getchar_u.c (getchar_unlocked): Likewise.
22758 * libio/getwchar.c (getwchar): Likewise.
22759 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
22760 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
22761 * login/getpt.c (__getpt): Likewise.
22762 * login/tst-utmp.c (main): Likewise.
22763 * malloc/hooks.c (__malloc_check_init): Likewise.
22764 * malloc/malloc.c (__malloc_stats): Likewise.
22765 * malloc/mtrace.c (tr_break): Likewise.
22766 (mtrace): Likewise.
22767 (muntrace): Likewise.
22768 * misc/fstab.c (endfsent): Likewise.
22769 * misc/getclktck.c (__getclktck): Likewise.
22770 * misc/getdtsz.c (__getdtablesize): Likewise.
22771 * misc/gethostid.c (gethostid): Likewise.
22772 * misc/getpagesize.c (__getpagesize): Likewise.
22773 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
22774 (__get_nprocs): Likewise.
22775 (__get_phys_pages): Likewise.
22776 (__get_avphys_pages): Likewise.
22777 * misc/getttyent.c (getttyent): Likewise.
22778 (setttyent): Likewise.
22779 (endttyent): Likewise.
22780 * misc/getusershell.c (getusershell): Likewise.
22781 (endusershell): Likewise.
22782 (setusershell): Likewise.
22783 (initshells): Likewise.
22784 * misc/hsearch.c (__hdestroy): Likewise.
22785 * misc/sync.c (sync): Likewise.
22786 * misc/syslog.c (closelog_internal): Likewise.
22787 (closelog): Likewise.
22788 * misc/ttyslot.c (ttyslot): Likewise.
22789 * misc/vhangup.c (vhangup): Likewise.
22790 * posix/fork.c (__fork): Likewise.
22791 * posix/getegid.c (__getegid): Likewise.
22792 * posix/geteuid.c (__geteuid): Likewise.
22793 * posix/getgid.c (__getgid): Likewise.
22794 * posix/getpid.c (__getpid): Likewise.
22795 * posix/getppid.c (__getppid): Likewise.
22796 * posix/getuid.c (__getuid): Likewise.
22797 * posix/pause.c (pause): Likewise.
22798 * posix/setpgrp.c (setpgrp): Likewise.
22799 * posix/setsid.c (__setsid): Likewise.
22800 * posix/test-vfork.c (noop): Likewise.
22801 * resolv/gethnamaddr.c (_endhtent): Likewise.
22802 (_gethtent): Likewise.
22803 (ht_endhostent): Likewise.
22804 (gethostent): Likewise.
22805 (dns_service): Likewise.
22806 * stdlib/drand48.c (drand48): Likewise.
22807 * stdlib/lrand48.c (lrand48): Likewise.
22808 * stdlib/mrand48.c (mrand48): Likewise.
22809 * stdlib/rand.c (rand): Likewise.
22810 * stdlib/random.c (__random): Likewise.
22811 * stdlib/setenv.c (clearenv): Likewise.
22812 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
22813 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
22814 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
22815 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
22816 (__get_nprocs): Likewise.
22817 (__get_phys_pages): Likewise.
22818 (__get_avphys_pages): Likewise.
22819 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
22820 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
22821 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
22822 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
22823 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
22824 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
22825 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
22826 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
22827 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
22828 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
22829 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
22830 * sysdeps/mach/hurd/sync.c (sync): Likewise.
22831 * sysdeps/posix/clock.c (clock): Likewise.
22832 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
22833 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
22834 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
22835 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
22836 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
22837 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
22838 (__get_nprocs_conf): Likewise.
22839 (__get_phys_pages): Likewise.
22840 (__get_avphys_pages): Likewise.
22841 * time/clock.c (clock): Likewise.
22842 * time/tzset.c (__tzname_max): Likewise.
22843
2e09a79a
JM
228442013-06-07 Joseph Myers <joseph@codesourcery.com>
22845
22846 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
22847 (__bswap_32): Do not use "register".
22848 * crypt/crypt.c (_ufc_doit_r): Likewise.
22849 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22850 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22851 * gmon/gmon.c (__monstartup): Likewise.
22852 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
22853 * hurd/hurdmalloc.c (more_memory): Likewise.
22854 (malloc): Likewise.
22855 (free): Likewise.
22856 (realloc): Likewise.
22857 (malloc_fork_prepare): Likewise.
22858 (malloc_fork_parent): Likewise.
22859 (malloc_fork_child): Likewise.
22860 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
22861 (_svcauth_des): Likewise.
22862 * inet/inet_lnaof.c (inet_lnaof): Likewise.
22863 * inet/inet_net.c (inet_network): Likewise.
22864 * inet/inet_netof.c (inet_netof): Likewise.
22865 * inet/rcmd.c (__validuser2_sa): Likewise.
22866 * io/fts.c (fts_open): Likewise.
22867 (fts_load): Likewise.
22868 (fts_close): Likewise.
22869 (fts_read): Likewise.
22870 (fts_children): Likewise.
22871 (fts_build): Likewise.
22872 (fts_stat): Likewise.
22873 (fts_sort): Likewise.
22874 (fts_alloc): Likewise.
22875 (fts_lfree): Likewise.
22876 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
22877 (_IO_file_xsgetn): Likewise.
22878 (_IO_file_xsgetn_mmap): Likewise.
22879 * libio/iofopncook.c (_IO_cookie_read): Likewise.
22880 (_IO_cookie_write): Likewise.
22881 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
22882 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
22883 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
22884 * malloc/obstack.c (_obstack_begin): Likewise.
22885 (_obstack_begin_1): Likewise.
22886 (_obstack_newchunk): Likewise.
22887 (_obstack_allocated_p): Likewise.
22888 (obstack_free): Likewise.
22889 (_obstack_memory_used): Likewise.
22890 * misc/getttyent.c (getttynam): Likewise.
22891 (getttyent): Likewise.
22892 (skip): Likewise.
22893 (value): Likewise.
22894 * misc/getusershell.c (initshells): Likewise.
22895 * misc/syslog.c (__vsyslog_chk): Likewise.
22896 * misc/ttyslot.c (ttyslot): Likewise.
22897 * nis/nis_hash.c (__nis_hash): Likewise.
22898 * posix/fnmatch_loop.c (FCT): Likewise.
22899 * posix/getconf.c (print_all): Likewise.
22900 (main): Likewise.
22901 * posix/getopt.c (exchange): Likewise.
22902 * posix/glob.c (globfree): Likewise.
22903 (prefix_array): Likewise.
22904 (__glob_pattern_type): Likewise.
22905 * resolv/arpa/nameser.h (NS_GET16): Likewise.
22906 (NS_GET32): Likewise.
22907 (NS_PUT16): Likewise.
22908 (NS_PUT32): Likewise.
22909 * resolv/gethnamaddr.c (getanswer): Likewise.
22910 (gethostbyname2): Likewise.
22911 (gethostbyaddr): Likewise.
22912 (_gethtent): Likewise.
22913 (_gethtbyname2): Likewise.
22914 (_gethtbyaddr): Likewise.
22915 * resolv/ns_print.c (dst_s_get_int16): Likewise.
22916 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
22917 * resolv/res_init.c (__res_vinit): Likewise.
22918 (net_mask): Likewise.
22919 * resolv/res_mkquery.c (outchar): Likewise.
22920 (PRINT): Likewise.
22921 * stdio-common/printf_fp.c (outchar): Likewise.
22922 (PRINT): Likewise.
22923 * stdio-common/printf_fphex.c (outchar): Likewise.
22924 (PRINT): Likewise.
22925 * stdio-common/printf_size.c (outchar): Likewise.
22926 (PRINT): Likewise.
22927 * stdio-common/test_rdwr.c (main): Likewise.
22928 * stdio-common/tfformat.c (matches): Likewise.
22929 * stdio-common/vfprintf.c (outchar): Likewise.
22930 (printf_unknown): Likewise.
22931 (buffered_vfprintf): Likewise.
22932 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22933 * stdio-common/xbug.c (AppendToBuffer): Likewise.
22934 (ReadFile): Likewise.
22935 * stdlib/qsort.c (SWAP): Likewise.
22936 (_quicksort): Likewise.
22937 * stdlib/setenv.c (__add_to_environ): Likewise.
22938 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22939 * stdlib/strtol_l.c (__strtol_l): Likewise.
22940 * stdlib/tst-strtod.c (main): Likewise.
22941 * stdlib/tst-strtol.c (main): Likewise.
22942 * stdlib/tst-strtoll.c (main): Likewise.
22943 * string/bits/string2.h (__strcmp_cc): Likewise.
22944 (__strcmp_cg): Likewise.
22945 (__strcspn_c1): Likewise.
22946 (__strcspn_c2): Likewise.
22947 (__strcspn_c3): Likewise.
22948 (__strspn_c1): Likewise.
22949 (__strspn_c2): Likewise.
22950 (__strspn_c3): Likewise.
22951 (__strsep_1c): Likewise.
22952 (__strsep_2c): Likewise.
22953 (__strsep_3c): Likewise.
22954 * string/memccpy.c (__memccpy): Likewise.
22955 * string/stpcpy.c (__stpcpy): Likewise.
22956 * string/strcmp.c (strcmp): Likewise.
22957 * string/strrchr.c (strrchr): Likewise.
22958 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
22959 Likewise.
22960 * sysdeps/mach/hurd/getcwd.c
22961 (_hurd_canonicalize_directory_name_internal): Likewise.
22962 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
22963 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
22964 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
22965 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
22966 Likewise, in both definitions.
22967 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
22968 definitions.
22969 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
22970 64] (__bswap_64): Likewise.
22971 * time/test_time.c (main): Likewise.
22972 * time/tzfile.c (__tzfile_read): Likewise.
22973 (__tzfile_compute): Likewise.
22974 * time/tzset.c (__tzset_parse_tz): Likewise.
22975 (tzset_internal): Likewise.
22976 (compute_change): Likewise.
22977 * wcsmbs/wcscat.c (__wcscat): Likewise.
22978 * wcsmbs/wcschr.c (wcschr): Likewise.
22979 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
22980 * wcsmbs/wcscspn.c (wcscspn): Likewise.
22981 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
22982 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
22983 * wcsmbs/wcsspn.c (wcsspn): Likewise.
22984 * wcsmbs/wcsstr.c (wcsstr): Likewise.
22985 * wcsmbs/wmemchr.c (wmemchr): Likewise.
22986 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22987 * wcsmbs/wmemset.c (wmemset): Likewise.
22988
9e54314b
JM
229892013-06-06 Joseph Myers <joseph@codesourcery.com>
22990
22991 * scripts/config.guess: Update to version 2013-05-16.
22992 * scripts/config.sub: Update to version 2013-04-24.
22993 * scripts/install-sh: Update to version 2011-11-20.07.
22994 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
22995 * scripts/move-if-change: Update to version 2012-01-06 07:23.
22996
350635a5
OB
229972013-06-06 Ondřej Bílka <neleai@seznam.cz>
22998
22999 * debug/fgetws_u_chk.c: Fix leading whitespaces.
23000 * elf/sln.c: Likewise.
23001 * hurd/hurd/ioctl.h: Likewise.
23002 * hurd/hurdmalloc.c: Likewise.
23003 * hurd/xattr.c: Likewise.
23004 * include/shlib-compat.h: Likewise.
23005 * inet/ruserpass.c: Likewise.
23006 * libio/iofgets_u.c: Likewise.
23007 * libio/iofgetws_u.c: Likewise.
23008 * locale/programs/ld-identification.c: Likewise.
23009 * locale/programs/ld-time.c: Likewise.
23010 * mach/msg-destroy.c: Likewise.
23011 * nss/nss_files/files-netgrp.c: Likewise.
23012 * resolv/res_data.c: Likewise.
23013 * soft-fp/op-1.h: Likewise.
23014 * soft-fp/op-2.h: Likewise.
23015 * soft-fp/op-4.h: Likewise.
23016 * soft-fp/op-common.h: Likewise.
23017 * stdio-common/printf_fphex.c: Likewise.
23018 * stdlib/strtod_l.c: Likewise.
23019 * sunrpc/rpc/clnt.h: Likewise.
23020 * sysdeps/generic/framestate.c: Likewise.
23021 * sysdeps/i386/bsd-_setjmp.S: Likewise.
23022 * sysdeps/i386/bsd-setjmp.S: Likewise.
23023 * sysdeps/i386/__longjmp.S: Likewise.
23024 * sysdeps/i386/setjmp.S: Likewise.
23025 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23026 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23027 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23028 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23029 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23030 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23031 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23032 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23033 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23034 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23035 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23036 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23037 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23038 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23039 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23040 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23041 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23042 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
23043 * sysdeps/ieee754/support.c: Likewise.
23044 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23045 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
23046 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
23047 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
23048 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
23049 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
23050 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
23051 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
23052 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
23053 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
23054 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
23055 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
23056 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
23057 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
23058 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
23059 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
23060 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
23062
44a988af
OB
230632013-06-05 Ondřej Bílka <neleai@seznam.cz>
23064
25506f09 23065 * posix/transbug.c: Remove executable mode.
44a988af 23066
9c84384c
JM
230672013-06-05 Joseph Myers <joseph@codesourcery.com>
23068
23069 * crypt/speeds.c: Remove trailing whitespace.
23070 * dlfcn/default.c: Likewise.
23071 * elf/ifuncdep2.c: Likewise.
23072 * elf/ifuncmain1.c: Likewise.
23073 * elf/ifuncmain1vis.c: Likewise.
23074 * elf/testobj.h: Likewise.
23075 * elf/tst-stackguard1.c: Likewise.
23076 * gmon/sys/gmon.h: Likewise.
23077 * hurd/hurdmsg.c: Likewise.
23078 * hurd/new-fd.c: Likewise.
23079 * hurd/ports-get.c: Likewise.
23080 * iconvdata/ibm1008_420.c: Likewise.
23081 * inet/tst-getni1.c: Likewise.
23082 * inet/tst-getni2.c: Likewise.
23083 * libio/ioungetc.c: Likewise.
23084 * libio/wfiledoalloc.c: Likewise.
23085 * manual/libm-err-tab.pl: Likewise.
23086 * math/w_dremf.c: Likewise.
23087 * misc/ftruncate.c: Likewise.
23088 * posix/bug-glob2.c: Likewise.
23089 * posix/tst-pcre.c: Likewise.
23090 * posix/wait4.c: Likewise.
23091 * resolv/README: Likewise.
23092 * resolv/res_debug.h: Likewise.
23093 * resolv/tst-inet_ntop.c: Likewise.
23094 * setjmp/bug269-setjmp.c: Likewise.
23095 * soft-fp/extended.h: Likewise.
23096 * soft-fp/op-1.h: Likewise.
23097 * soft-fp/op-2.h: Likewise.
23098 * soft-fp/op-4.h: Likewise.
23099 * soft-fp/op-8.h: Likewise.
23100 * soft-fp/testit.c: Likewise.
23101 * stdio-common/bug16.c: Likewise.
23102 * stdlib/random.c: Likewise.
23103 * sunrpc/rpcsvc/rquota.x: Likewise.
23104 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
23105 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23106 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23107 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23108 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23109 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23110 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23111 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23112 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23113 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23114 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23115 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23116 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23117 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23118 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23119 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23120 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23121 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23122 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23123 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23124 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23125 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23126 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
23127 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23128 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23129 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23130 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23131 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23132 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23133 * sysdeps/ieee754/s_lib_version.c: Likewise.
23134 * sysdeps/mach/hurd/check_fds.c: Likewise.
23135 * sysdeps/mach/hurd/getsockname.c: Likewise.
23136 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
23137 * sysdeps/mach/hurd/recvfrom.c: Likewise.
23138 * sysdeps/powerpc/bits/link.h: Likewise.
23139 * sysdeps/powerpc/dl-procinfo.c: Likewise.
23140 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
23141 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
23142 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
23143 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23144 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23145 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
23146 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23147 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
23148 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23149 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
23150 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23151 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
23152 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23153 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23154 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23155 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23156 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23157 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23158 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23159 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23160 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
23161 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23162 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23163 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
23164 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23165 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23166 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23167 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23168 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23169 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23170 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23171 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23172 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23173 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
23174 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23175 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
23176 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23177 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
23178 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
23179 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
23180 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
23181 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
23182 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
23183 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23184 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
23185 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
23186 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23187 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
23188 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
23189 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23190 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23191 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23192 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23193 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
23194 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
23195 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
23196 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23197 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
23198 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
23199 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
23200 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
23201 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
23202 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23203 * sysdeps/powerpc/sysdep.h: Likewise.
23204 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23205 * sysdeps/s390/s390-64/sub_n.S: Likewise.
23206 * sysdeps/sh/dl-trampoline.S: Likewise.
23207 * sysdeps/sh/memset.S: Likewise.
23208 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
23209 * sysdeps/sh/strlen.S: Likewise.
23210 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
23211 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
23212 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
23213 * sysdeps/sparc/sparc32/rem.S: Likewise.
23214 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
23215 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
23216 * sysdeps/sparc/sparc32/strchr.S: Likewise.
23217 * sysdeps/sparc/sparc32/udiv.S: Likewise.
23218 * sysdeps/sparc/sparc32/urem.S: Likewise.
23219 * sysdeps/sparc/sparc64/add_n.S: Likewise.
23220 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23221 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
23222 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
23223 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
23224 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
23225 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
23226 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
23227 * sysdeps/unix/bsd/times.c: Likewise.
23228 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
23229 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
23230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
23231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
23232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
23233 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
23234 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23235 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
23236 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
23237 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
23238 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
23239 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23240 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
23241 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23242 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23243 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
23244 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23245 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
23246 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
23247 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
23248 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
23249 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
23250 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23251 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
23252 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
23253 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
23254 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
23255 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23256 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
23257 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
23258 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
23259 * sysdeps/x86_64/strcspn.S: Likewise.
23260
869378a5
RA
232612013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23262
23263 * locale/C-translit.h: Revert #include <stdint.h> because this is a
23264 generated file. Regenerate properly from gen-translit.pl.
23265 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
23266 locale/C-translit.h.
23267
840e2943
AS
232682013-06-05 Andreas Schwab <schwab@suse.de>
23269
23270 [BZ #15100]
23271 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
23272 week as 6 instead of -1.
23273 * time/tst-strptime.c (day_tests): Add test case.
23274
4c60cb0c
SP
232752013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23276
23277 * sysdeps/generic/math_private.h
23278 (libc_feholdexcept_setround_53bit): Replace with
23279 libc_feholdsetround_53bit.
23280 (libc_feupdateenv_53bit): Replace with
23281 libc_feresetround_53bit.
23282 (SET_RESTORE_ROUND_53BIT): Adjust.
23283
d180203e
SP
232842013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23285
96df079a
SP
23286 * string/test-strchrnul.c: Add copyright header.
23287
d180203e
SP
23288 * posix/tst-getaddrinfo4.c: Increase test timeout.
23289
8b0ccb2d
CD
232902013-06-03 Carlos O'Donell <carlos@redhat.com>
23291
23292 [BZ #15536]
23293 * math/libm-test.inc (MAX_EXP): Remove
23294 (MIN_EXP): Define.
23295 (ulp): Use MIN_EXP - MANT_DIG.
23296 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
23297
3b3c4d40
CD
232982013-05-31 Carlos O'Donell <carlos@redhat.com>
23299
23300 * po/be.po: Revert last change.
23301 * po/zh_CN.po: Likewise.
23302 * po/header.pot: Likewise.
23303
fab7ce3f
JM
233042013-05-31 Joseph Myers <joseph@codesourcery.com>
23305
23306 * Makefile ($(common-objpfx)linkobj/libc.so): Define
23307 link-libc-deps to empty as target-specific variable.
23308 * Makerules (link-libc-args): New variable.
23309 (libc-for-link): Likewise.
23310 (link-libc-deps): Likewise.
23311 (lib%.so): Depend on $(link-libc-deps). Link with
23312 $(link-libc-args).
23313 (build-module): Link with $(link-libc-args).
23314 (build-module-asneeded): Likewise.
23315 (build-module-helper-objlist): Filter out $(link-libc-deps) from
23316 list of objects.
23317 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
23318 target-specific variable.
23319 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
23320 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
23321 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
23322 libc.
23323 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
23324 libc and ld.so.
23325 ($(objpfx)libpcprofile.so): Likewise.
23326 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
23327 libc_nonshared.a.
23328 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
23329 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
23330 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
23331 $(link-libc-deps).
23332 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
23333 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
23334 * login/Makefile ($(objpfx)libutil.so): Likewise.
23335 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
23336 * math/Makefile ($(objpfx)libm.so): Likewise.
23337 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
23338 $(objpfx)libnsl.so): Define libc-for-link as target-specific
23339 variable instead of depending directly on libc.
23340 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
23341 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
23342 $(link-libc-deps).
23343 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
23344 libc.
23345 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
23346 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
23347 ($(objpfx)libanl.so): Likewise.
23348 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
23349 ld.so.
23350 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
23351 $(link-libc-deps).
23352 * sysdeps/i386/fpu/Makefile: Remove file.
23353 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
23354 ($(objpfx)libm.so): Remove dependency on ld.so.
23355
eca5920c
PF
233562013-05-30 Patsy Franklin <pfrankli@redhat.com>
23357
23358 [BZ # 15553]
23359 * nis/yp_xdr.c (XDRMAXNAME): Define.
23360 (XDRMAXRECORD): Define.
23361 (xdr_domainname): Use XDRMAXNAME.
23362 (xdr_mapname): Likewise.
23363 (xdr_peername): Likewise.
23364 (xdr_keydat): Use XDRMAXRECORD.
23365 (xdr_valdat): Likewise.
23366
233672013-05-30 Jeff Law <law@redhat.com>
96945714
JL
23368
23369 [BZ #14256]
23370 * manual/errno.texi (ESTALE): Update to account for more than
23371 just NFS file systems.
23372 * sysdeps/gnu/errlist.c: Regenerated.
23373
b9375348
SP
233742013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23375
23376 [BZ #15465]
23377 * elf/Makefile (tests): Add tst-null-argv.
23378 (modules-names): Add tst-null-argv-lib.
23379 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
23380 (tst-null-argv-ENV): Set environment for tst-null-argv.
23381 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
23382 (RTLD_PROGNAME): New macro.
23383 * elf/tst-null-argv.c: New test case.
23384 * elf/tst-null-argv-lib.c: Library for test case.
23385 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
23386 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
23387 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
23388 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
23389 * elf/dl-init.c (call_init): Likewise.
23390 (_dl_init): Likewise.
23391 * elf/dl-load.c (print_search_path): Likewise.
23392 (_dl_map_object): Likewise.
23393 * elf/dl-lookup.c (do_lookup_x): Likewise.
23394 (add_dependency): Likewise.
23395 (_dl_lookup_symbol_x): Likewise.
23396 (_dl_debug_bindings): Likewise.
23397 * elf/dl-open.c (_dl_show_scope): Likewise.
23398 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23399 * elf/dl-version.c (match_symbol): Likewise.
23400 (_dl_check_map_versions): Likewise.
23401 * elf/rtld.c (dl_main): Likewise.
23402 (print_unresolved): Use RTLD_PROGNAME.
23403 (print_missing_version): Likewise.
23404 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
23405 (elf_machine_rela): Likewise.
23406 * sysdeps/powerpc/powerpc32/dl-machine.c
23407 (__process_machine_rela): Likewise.
23408 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23409 Likewise.
23410 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23411 Likewise.
23412 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
23413 Likewise.
23414 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23415 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
23416 Likewise.
23417 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
23418 Likewise.
23419 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23420
8a9f20c8
CD
234212013-05-28 Carlos O'Donell <carlos@redhat.com>
23422
23423 * po/be.po: Add descriptive title.
23424 * po/zh_CN.po: Likewise.
23425 * po/header.pot: Likewise.
23426
0e60d68e
MF
234272013-05-28 Mike Frysinger <vapier@gentoo.org>
23428
23429 * locale/programs/locarchive.c (create_archive): Inlucde fname in
23430 error message.
23431 (enlarge_archive): Likewise.
23432
56b672e9
BN
234332013-05-28 Ben North <ben@redfrontdoor.org>
23434
23435 * manual/arith.texi (frexp): It is the magnitude of the return
23436 value which lies in [0.5, 1), not the return value itself.
23437
5e056687
AZ
234382013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23439
23440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23441
2b66ef5d
TS
234422013-05-26 Thomas Schwinge <thomas@codesourcery.com>
23443
528c2405
TS
23444 * stdio-common/bug26.c (main): Correct fscanf template.
23445
07b4c13d
TS
23446 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
23447 declare _dl_skip_args.
23448
ec9dd97c
TS
23449 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
23450 Don't declare.
23451
2b66ef5d
TS
23452 * manual/platform.texi: Add missing @end deftypefun.
23453
4f8dfe27
JM
234542013-05-24 Joseph Myers <joseph@codesourcery.com>
23455
0323d086
JM
23456 [BZ #15529]
23457 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
23458 bit of mantissa of 2^16382.
23459 * math/libm-test.inc (hypot_test_data): Add more tests.
23460
dd4259b9
JM
23461 * math/libm-test.inc: Add drem and pow10 to list of tested
23462 functions.
23463 (pow10_test): New function.
23464 (drem_test): Likewise.
23465 (drem_test_tonearest): Likewise.
23466 (drem_test_towardzero): Likewise.
23467 (drem_test_downward): Likewise.
23468 (drem_test_upward): Likewise.
23469 (main): Call the new functions.
23470
4f8dfe27
JM
23471 * math/libm-test.inc (finite_test_data): Remove.
23472 (finite_test): Run tests from isfinite_test_data.
23473 (gamma_test_data): Remove.
23474 (gamma_test): Run tests from lgamma_test_data.
23475 * sysdeps/i386/fpu/libm-test-ulps: Update.
23476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23477
d116b7c4
AZ
234782013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23479
23480 * manual/platform.texi: Add PowerPC PPR function set documentation.
23481 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
23482 implementation.
23483
e96e3767
CD
234842013-05-24 Carlos O'Donell <carlos@redhat.com>
23485
23486 * math/libm-test.inc (MAX_EXP): Define.
23487 (ULPDIFF): Define.
23488 (ulp): New function.
23489 (check_float_internal): Use ULPDIFF.
23490 (cpow_test): Disable failing test.
23491 (check_ulp): Test ulp() implemetnation.
23492 (main): Call check_ulp before starting tests.
23493
b679a606
JM
234942013-05-24 Joseph Myers <joseph@codesourcery.com>
23495
e8bdba36
JM
23496 * math/gen-libm-test.pl (generate_testfile): Do not handle
23497 START_DATA and END_DATA.
23498 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
23499 END_DATA.
23500 (acos_tonearest_test_data): Likewise.
23501 (acos_towardzero_test_data): Likewise.
23502 (acos_downward_test_data): Likewise.
23503 (acos_upward_test_data): Likewise.
23504 (acosh_test_data): Likewise.
23505 (asin_test_data): Likewise.
23506 (asin_tonearest_test_data): Likewise.
23507 (asin_towardzero_test_data): Likewise.
23508 (asin_downward_test_data): Likewise.
23509 (asin_upward_test_data): Likewise.
23510 (asinh_test_data): Likewise.
23511 (atan_test_data): Likewise.
23512 (atanh_test_data): Likewise.
23513 (atan2_test_data): Likewise.
23514 (cabs_test_data): Likewise.
23515 (cacos_test_data): Likewise.
23516 (cacosh_test_data): Likewise.
23517 (carg_test_data): Likewise.
23518 (casin_test_data): Likewise.
23519 (casinh_test_data): Likewise.
23520 (catan_test_data): Likewise.
23521 (catanh_test_data): Likewise.
23522 (cbrt_test_data): Likewise.
23523 (ccos_test_data): Likewise.
23524 (ccosh_test_data): Likewise.
23525 (ceil_test_data): Likewise.
23526 (cexp_test_data): Likewise.
23527 (cimag_test_data): Likewise.
23528 (clog_test_data): Likewise.
23529 (clog10_test_data): Likewise.
23530 (conj_test_data): Likewise.
23531 (copysign_test_data): Likewise.
23532 (cos_test_data): Likewise.
23533 (cos_tonearest_test_data): Likewise.
23534 (cos_towardzero_test_data): Likewise.
23535 (cos_downward_test_data): Likewise.
23536 (cos_upward_test_data): Likewise.
23537 (cosh_test_data): Likewise.
23538 (cosh_tonearest_test_data): Likewise.
23539 (cosh_towardzero_test_data): Likewise.
23540 (cosh_downward_test_data): Likewise.
23541 (cosh_upward_test_data): Likewise.
23542 (cpow_test_data): Likewise.
23543 (cproj_test_data): Likewise.
23544 (creal_test_data): Likewise.
23545 (csin_test_data): Likewise.
23546 (csinh_test_data): Likewise.
23547 (csqrt_test_data): Likewise.
23548 (ctan_test_data): Likewise.
23549 (ctan_tonearest_test_data): Likewise.
23550 (ctan_towardzero_test_data): Likewise.
23551 (ctan_downward_test_data): Likewise.
23552 (ctan_upward_test_data): Likewise.
23553 (ctanh_test_data): Likewise.
23554 (ctanh_tonearest_test_data): Likewise.
23555 (ctanh_towardzero_test_data): Likewise.
23556 (ctanh_downward_test_data): Likewise.
23557 (ctanh_upward_test_data): Likewise.
23558 (erf_test_data): Likewise.
23559 (erfc_test_data): Likewise.
23560 (exp_test_data): Likewise.
23561 (exp_tonearest_test_data): Likewise.
23562 (exp_towardzero_test_data): Likewise.
23563 (exp_downward_test_data): Likewise.
23564 (exp_upward_test_data): Likewise.
23565 (exp10_test_data): Likewise.
23566 (exp2_test_data): Likewise.
23567 (expm1_test_data): Likewise.
23568 (fabs_test_data): Likewise.
23569 (fdim_test_data): Likewise.
23570 (finite_test_data): Likewise.
23571 (floor_test_data): Likewise.
23572 (fma_test_data): Likewise.
23573 (fma_towardzero_test_data): Likewise.
23574 (fma_downward_test_data): Likewise.
23575 (fma_upward_test_data): Likewise.
23576 (fmax_test_data): Likewise.
23577 (fmin_test_data): Likewise.
23578 (fmod_test_data): Likewise.
23579 (fpclassify_test_data): Likewise.
23580 (frexp_test_data): Likewise.
23581 (gamma_test_data): Likewise.
23582 (hypot_test_data): Likewise.
23583 (ilogb_test_data): Likewise.
23584 (isfinite_test_data): Likewise.
23585 (isgreater_test_data): Likewise.
23586 (isgreaterequal_test_data): Likewise.
23587 (isinf_test_data): Likewise.
23588 (isless_test_data): Likewise.
23589 (islessequal_test_data): Likewise.
23590 (islessgreater_test_data): Likewise.
23591 (isnan_test_data): Likewise.
23592 (isnormal_test_data): Likewise.
23593 (issignaling_test_data): Likewise.
23594 (isunordered_test_data): Likewise.
23595 (j0_test_data): Likewise.
23596 (j1_test_data): Likewise.
23597 (jn_test_data): Likewise.
23598 (ldexp_test_data): Likewise.
23599 (lgamma_test_data): Likewise.
23600 (lrint_test_data): Likewise.
23601 (lrint_tonearest_test_data): Likewise.
23602 (lrint_towardzero_test_data): Likewise.
23603 (lrint_downward_test_data): Likewise.
23604 (lrint_upward_test_data): Likewise.
23605 (llrint_test_data): Likewise.
23606 (llrint_tonearest_test_data): Likewise.
23607 (llrint_towardzero_test_data): Likewise.
23608 (llrint_downward_test_data): Likewise.
23609 (llrint_upward_test_data): Likewise.
23610 (log_test_data): Likewise.
23611 (log10_test_data): Likewise.
23612 (log1p_test_data): Likewise.
23613 (log2_test_data): Likewise.
23614 (logb_test_data): Likewise.
23615 (logb_downward_test_data): Likewise.
23616 (lround_test_data): Likewise.
23617 (llround_test_data): Likewise.
23618 (modf_test_data): Likewise.
23619 (nearbyint_test_data): Likewise.
23620 (nextafter_test_data): Likewise.
23621 (nexttoward_test_data): Likewise.
23622 (pow_test_data): Likewise.
23623 (pow_tonearest_test_data): Likewise.
23624 (pow_towardzero_test_data): Likewise.
23625 (pow_downward_test_data): Likewise.
23626 (pow_upward_test_data): Likewise.
23627 (remainder_test_data): Likewise.
23628 (remainder_tonearest_test_data): Likewise.
23629 (remainder_towardzero_test_data): Likewise.
23630 (remainder_downward_test_data): Likewise.
23631 (remainder_upward_test_data): Likewise.
23632 (remquo_test_data): Likewise.
23633 (rint_test_data): Likewise.
23634 (rint_tonearest_test_data): Likewise.
23635 (rint_towardzero_test_data): Likewise.
23636 (rint_downward_test_data): Likewise.
23637 (rint_upward_test_data): Likewise.
23638 (round_test_data): Likewise.
23639 (scalb_test_data): Likewise.
23640 (scalbn_test_data): Likewise.
23641 (scalbln_test_data): Likewise.
23642 (signbit_test_data): Likewise.
23643 (sin_test_data): Likewise.
23644 (sin_tonearest_test_data): Likewise.
23645 (sin_towardzero_test_data): Likewise.
23646 (sin_downward_test_data): Likewise.
23647 (sin_upward_test_data): Likewise.
23648 (sincos_test_data): Likewise.
23649 (sinh_test_data): Likewise.
23650 (sinh_tonearest_test_data): Likewise.
23651 (sinh_towardzero_test_data): Likewise.
23652 (sinh_downward_test_data): Likewise.
23653 (sinh_upward_test_data): Likewise.
23654 (sqrt_test_data): Likewise.
23655 (tan_test_data): Likewise.
23656 (tan_tonearest_test_data): Likewise.
23657 (tan_towardzero_test_data): Likewise.
23658 (tan_downward_test_data): Likewise.
23659 (tan_upward_test_data): Likewise.
23660 (tanh_test_data): Likewise.
23661 (tgamma_test_data): Likewise.
23662 (trunc_test_data): Likewise.
23663 (y0_test_data): Likewise.
23664 (y1_test_data): Likewise.
23665 (yn_test_data): Likewise.
23666 (significand_test_data): Likewise.
23667
b679a606
JM
23668 * math/gen-libm-test.pl (@functions): Remove variable.
23669 (generate_testfile): Don't handle START and END lines.
23670 * math/libm-test.inc (START): New macro.
23671 (END): Likewise.
23672 (END_COMPLEX): Likewise.
23673 (acos_test): Use END macro without arguments.
23674 (acos_test_tonearest): Likewise.
23675 (acos_test_towardzero): Likewise.
23676 (acos_test_downward): Likewise.
23677 (acos_test_upward): Likewise.
23678 (acosh_test): Likewise.
23679 (asin_test): Likewise.
23680 (asin_test_tonearest): Likewise.
23681 (asin_test_towardzero): Likewise.
23682 (asin_test_downward): Likewise.
23683 (asin_test_upward): Likewise.
23684 (asinh_test): Likewise.
23685 (atan_test): Likewise.
23686 (atanh_test): Likewise.
23687 (atan2_test): Likewise.
23688 (cabs_test): Likewise.
23689 (cacos_test): Use END_COMPLEX macro without arguments.
23690 (cacosh_test): Likewise.
23691 (carg_test): Use END macro without arguments.
23692 (casin_test): Use END_COMPLEX macro without arguments.
23693 (casinh_test): Likewise.
23694 (catan_test): Likewise.
23695 (catanh_test): Likewise.
23696 (cbrt_test): Use END macro without arguments.
23697 (ccos_test): Use END_COMPLEX macro without arguments.
23698 (ccosh_test): Likewise.
23699 (ceil_test): Use END macro without arguments.
23700 (cexp_test): Use END_COMPLEX macro without arguments.
23701 (cimag_test): Use END macro without arguments.
23702 (clog_test): Use END_COMPLEX macro without arguments.
23703 (clog10_test): Likewise.
23704 (conj_test): Likewise.
23705 (copysign_test): Use END macro without arguments.
23706 (cos_test): Likewise.
23707 (cos_test_tonearest): Likewise.
23708 (cos_test_towardzero): Likewise.
23709 (cos_test_downward): Likewise.
23710 (cos_test_upward): Likewise.
23711 (cosh_test): Likewise.
23712 (cosh_test_tonearest): Likewise.
23713 (cosh_test_towardzero): Likewise.
23714 (cosh_test_downward): Likewise.
23715 (cosh_test_upward): Likewise.
23716 (cpow_test): Use END_COMPLEX macro without arguments.
23717 (cproj_test): Likewise.
23718 (creal_test): Use END macro without arguments.
23719 (csin_test): Use END_COMPLEX macro without arguments.
23720 (csinh_test): Likewise.
23721 (csqrt_test): Likewise.
23722 (ctan_test): Likewise.
23723 (ctan_test_tonearest): Likewise.
23724 (ctan_test_towardzero): Likewise.
23725 (ctan_test_downward): Likewise.
23726 (ctan_test_upward): Likewise.
23727 (ctanh_test): Likewise.
23728 (ctanh_test_tonearest): Likewise.
23729 (ctanh_test_towardzero): Likewise.
23730 (ctanh_test_downward): Likewise.
23731 (ctanh_test_upward): Likewise.
23732 (erf_test): Use END macro without arguments.
23733 (erfc_test): Likewise.
23734 (exp_test): Likewise.
23735 (exp_test_tonearest): Likewise.
23736 (exp_test_towardzero): Likewise.
23737 (exp_test_downward): Likewise.
23738 (exp_test_upward): Likewise.
23739 (exp10_test): Likewise.
23740 (exp2_test): Likewise.
23741 (expm1_test): Likewise.
23742 (fabs_test): Likewise.
23743 (fdim_test): Likewise.
23744 (finite_test): Likewise.
23745 (floor_test): Likewise.
23746 (fma_test): Likewise.
23747 (fma_test_towardzero): Likewise.
23748 (fma_test_downward): Likewise.
23749 (fma_test_upward): Likewise.
23750 (fmax_test): Likewise.
23751 (fmin_test): Likewise.
23752 (fmod_test): Likewise.
23753 (fpclassify_test): Likewise.
23754 (frexp_test): Likewise.
23755 (gamma_test): Likewise.
23756 (hypot_test): Likewise.
23757 (ilogb_test): Likewise.
23758 (isfinite_test): Likewise.
23759 (isgreater_test): Likewise.
23760 (isgreaterequal_test): Likewise.
23761 (isinf_test): Likewise.
23762 (isless_test): Likewise.
23763 (islessequal_test): Likewise.
23764 (islessgreater_test): Likewise.
23765 (isnan_test): Likewise.
23766 (isnormal_test): Likewise.
23767 (issignaling_test): Likewise.
23768 (isunordered_test): Likewise.
23769 (j0_test): Likewise.
23770 (j1_test): Likewise.
23771 (jn_test): Likewise.
23772 (ldexp_test): Likewise.
23773 (lgamma_test): Likewise.
23774 (lrint_test): Likewise.
23775 (lrint_test_tonearest): Likewise.
23776 (lrint_test_towardzero): Likewise.
23777 (lrint_test_downward): Likewise.
23778 (lrint_test_upward): Likewise.
23779 (llrint_test): Likewise.
23780 (llrint_test_tonearest): Likewise.
23781 (llrint_test_towardzero): Likewise.
23782 (llrint_test_downward): Likewise.
23783 (llrint_test_upward): Likewise.
23784 (log_test): Likewise.
23785 (log10_test): Likewise.
23786 (log1p_test): Likewise.
23787 (log2_test): Likewise.
23788 (logb_test): Likewise.
23789 (logb_test_downward): Likewise.
23790 (lround_test): Likewise.
23791 (llround_test): Likewise.
23792 (modf_test): Likewise.
23793 (nearbyint_test): Likewise.
23794 (nextafter_test): Likewise.
23795 (nexttoward_test): Likewise.
23796 (pow_test): Likewise.
23797 (pow_test_tonearest): Likewise.
23798 (pow_test_towardzero): Likewise.
23799 (pow_test_downward): Likewise.
23800 (pow_test_upward): Likewise.
23801 (remainder_test): Likewise.
23802 (remainder_test_tonearest): Likewise.
23803 (remainder_test_towardzero): Likewise.
23804 (remainder_test_downward): Likewise.
23805 (remainder_test_upward): Likewise.
23806 (remquo_test): Likewise.
23807 (rint_test): Likewise.
23808 (rint_test_tonearest): Likewise.
23809 (rint_test_towardzero): Likewise.
23810 (rint_test_downward): Likewise.
23811 (rint_test_upward): Likewise.
23812 (round_test): Likewise.
23813 (scalb_test): Likewise.
23814 (scalbn_test): Likewise.
23815 (scalbln_test): Likewise.
23816 (signbit_test): Likewise.
23817 (sin_test): Likewise.
23818 (sin_test_tonearest): Likewise.
23819 (sin_test_towardzero): Likewise.
23820 (sin_test_downward): Likewise.
23821 (sin_test_upward): Likewise.
23822 (sincos_test): Likewise.
23823 (sinh_test): Likewise.
23824 (sinh_test_tonearest): Likewise.
23825 (sinh_test_towardzero): Likewise.
23826 (sinh_test_downward): Likewise.
23827 (sinh_test_upward): Likewise.
23828 (sqrt_test): Likewise.
23829 (tan_test): Likewise.
23830 (tan_test_tonearest): Likewise.
23831 (tan_test_towardzero): Likewise.
23832 (tan_test_downward): Likewise.
23833 (tan_test_upward): Likewise.
23834 (tanh_test): Likewise.
23835 (tgamma_test): Likewise.
23836 (trunc_test): Likewise.
23837 (y0_test): Likewise.
23838 (y1_test): Likewise.
23839 (yn_test): Likewise.
23840 (significand_test): Likewise.
23841
bae143d2
OB
238422013-05-24 Ondřej Bílka <neleai@seznam.cz>
23843
23844 [BZ #15381]
23845 * libio/genops.c (_IO_no_init): Initialize wide struct info.
23846
9323d39b
EM
238472013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
23848
d4ea44a0 23849 [BZ #14894]
9323d39b
EM
23850 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
23851 __ppc_mdoio and __ppc_mdoom.
23852 * manual/platform.texi: Document new functions __ppc_yield,
23853 __ppc_mdoio and __ppc_mdoom.
23854
13e23af7
CD
238552013-05-22 Carlos O'Donell <carlos@redhat.com>
23856
23857 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
23858 (main): Mention "tls" pseudo-hwcap is legacy.
23859 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
23860
351fe550
JM
238612013-05-22 Joseph Myers <joseph@codesourcery.com>
23862
23863 * math/gen-libm-test.pl (parse_args): Output only string of
23864 arguments as text for test name, not full call or descriptions of
23865 tests for extra outputs.
23866 (generate_testfile): Do not pass function name to parse_args.
23867 Generate this_func variable from START.
23868 * math/libm-test.inc (struct test_f_f_data): Rename test_name
23869 field to arg_str.
23870 (struct test_ff_f_data): Likewise.
23871 (test_ff_f_data_nexttoward): Likewise.
23872 (struct test_fi_f_data): Likewise.
23873 (struct test_fl_f_data): Likewise.
23874 (struct test_if_f_data): Likewise.
23875 (struct test_fff_f_data): Likewise.
23876 (struct test_c_f_data): Likewise.
23877 (struct test_f_f1_data): Likewise. Remove field extra_name.
23878 (struct test_fF_f1_data): Likewise.
23879 (struct test_ffI_f1_data): Likewise.
23880 (struct test_c_c_data): Rename test_name field to arg_str.
23881 (struct test_cc_c_data): Likewise.
23882 (struct test_f_i_data): Likewise.
23883 (struct test_ff_i_data): Likewise.
23884 (struct test_f_l_data): Likewise.
23885 (struct test_f_L_data): Likewise.
23886 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
23887 and extra2_name.
23888 (COMMON_TEST_SETUP): New macro.
23889 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
23890 (COMMON_TEST_CLEANUP): Likewise.
23891 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
23892 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
23893 macros.
23894 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
23895 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
23896 macros.
23897 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
23898 (RUN_TEST_fff_f): Take argument string. Call new setup and
23899 cleanup macros.
23900 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
23901 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
23902 macros.
23903 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
23904 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
23905 macros.
23906 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23907 (RUN_TEST_fF_f1): Take argument string. Call new setup and
23908 cleanup macros.
23909 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23910 (RUN_TEST_fI_f1): Take argument string. Call new setup and
23911 cleanup macros.
23912 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23913 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
23914 cleanup macros.
23915 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23916 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
23917 macros.
23918 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
23919 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
23920 macros.
23921 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
23922 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
23923 macros.
23924 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
23925 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
23926 cleanup macros.
23927 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
23928 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
23929 cleanup macros.
23930 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
23931 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
23932 macros.
23933 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
23934 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
23935 cleanup macros.
23936 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
23937 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
23938 macros.
23939 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
23940 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
23941 macros.
23942 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
23943 (RUN_TEST_fFF_11): Take argument string. Call new setup and
23944 cleanup macros.
23945 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
23946
85118d4d
EBM
239472013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
23948
23949 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
23950 to _sifields.sigfault.
23951 (si_addr_lsb): Define new macro.
23952 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23953 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23954 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
23955
7a44c18f
CD
239562013-05-03 Carlos O'Donell <carlos at redhat.com>
23957
23958 [BZ #15441]
23959 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
23960 returns -1.
23961 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
23962 null return -1.
23963 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
23964 loading the domain.
23965
b50a7181
JM
239662013-05-22 Joseph Myers <joseph@codesourcery.com>
23967
23968 * math/gen-libm-test.pl (parse_args): Do not include expected
23969 result in test name.
23970 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
23971 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23972 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23973 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23974 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23976
051063c8
SP
239772013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23978
3ce9e010
SP
23979 * benchtests/Makefile: Sort function entries.
23980
051063c8
SP
23981 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
23982 tanh, asinh, acosh, atanh.
23983 * benchtests/acos-inputs: New file.
23984 * benchtests/acosh-inputs: New file.
23985 * benchtests/asin-inputs: New file.
23986 * benchtests/asinh-inputs: New file.
23987 * benchtests/atanh-inputs: New file.
23988 * benchtests/cosh-inputs: New file.
23989 * benchtests/log-inputs: New file.
23990 * benchtests/sinh-inputs: New file.
23991 * benchtests/tanh-inputs: New file.
23992
47c22455
DL
239932013-05-21 Dmitry V. Levin <ldv@altlinux.org>
23994
23995 [BZ #15339]
23996 * posix/tst-getaddrinfo4.c: New test.
23997 * posix/Makefile (tests): Add it.
23998
3d04f5db
SP
239992013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24000
24001 [BZ #15339]
24002 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
24003 when no services were used.
24004 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
24005 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
24006
d5dd6189
AS
240072013-05-21 Andreas Schwab <schwab@suse.de>
24008
24009 [BZ #15014]
24010 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
24011 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
24012 successful.
24013 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
24014 redundant variable declarations and reallocation of buffer when
24015 parsing as IPv6 address. Always set NSS status when called from
24016 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
24017 buffer too small. Correct computation of needed size.
24018 * nss/Makefile (tests): Add test-digits-dots.
24019 * nss/test-digits-dots.c: New test.
24020
fef94eab
SP
240212013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24022
24023 * benchtests/Makefile: Remove instructions for adding
24024 benchmark tests.
24025 * benchtests/README: New file to explain how to execute and
24026 enhance the benchmark tests.
24027
e39adf43
AS
240282013-05-21 Andreas Schwab <schwab@suse.de>
24029
24030 [BZ #15493]
24031 * setjmp/Makefile (tests): Add tst-sigsetjmp.
24032 * setjmp/tst-sigsetjmp.c: New test.
24033
b2b671b6
OB
240342013-05-20 Ondřej Bílka <neleai@seznam.cz>
24035
24036 * sysdeps/x86_64/memset.S (memset): New implementation.
24037 (__bzero): Likewise.
24038 (__memset_tail): New function.
24039
2d48b41c
OB
240402013-05-20 Ondřej Bílka <neleai@seznam.cz>
24041
24042 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
24043 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
24044 __memcpy_sse2_unaligned ifunc selection.
24045 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24046 Add memcpy-sse2-unaligned.S.
24047 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24048 Add: __memcpy_sse2_unaligned.
24049
f16cc3eb
JM
240502013-05-19 Joseph Myers <joseph@codesourcery.com>
24051
3e694268
JM
24052 [BZ #15490]
24053 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24054 math_force_eval before restoring floating-point envrionment.
24055 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
24056 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
24057 Likewise.
24058 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
24059 <math_private.h>.
24060 (__nearbyintl): Use math_force_eval before restoring
24061 floating-point environment.
24062 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
24063
db62a907
JM
24064 * math/gen-libm-test.pl (special_functions): Remove.
24065 (parse_args): Don't handle TEST_extra. Handle functions with no
24066 return value.
24067 * math/libm-test.inc (struct test_sincos_data): Replace with
24068 struct test_fFF_11_data.
24069 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
24070 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
24071 (sincos_test_data): Change element type to struct
24072 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
24073 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
24074 RUN_TEST_LOOP_sincos.
24075 * math/README.libm-test: Don't mention special handling of
24076 individual functions.
24077 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
24078 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24079 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24080 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24081 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24083
f16cc3eb
JM
24084 * math/gen-libm-test.pl (get_variable): Remove function.
24085 (parse_args): Don't show pointer parameters to call in test
24086 names. Use "extra output N" in test names for extra outputs
24087 rather than naming variables.
24088
3779b5b6
JM
240892013-05-18 Joseph Myers <joseph@codesourcery.com>
24090
2ee094ff
JM
24091 [BZ #15488]
24092 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
24093 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
24094 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
24095 double tests.
24096 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
24097 disable.
24098 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
24099 check_long_double.
24100
3779b5b6
JM
24101 * math/gen-libm-test.pl (@tests): Remove variable.
24102 ($count): Likewise.
24103 (new_test): Remove function.
24104 (show_exceptions): New function.
24105 (special_functions): Use show_exceptions instead of new_test.
24106 (parse_args): Likewise.
24107 (generate_testfile): Pass only function name in generated call to
24108 print_max_error or print_complex_max_error.
24109 (get_ulps): Do not handle complex tests specially.
24110 (output_test): Rename to ...
24111 (get_all_ulps_for_test): ... this. Return a string rather than
24112 printing to a file. Require ulps to be present.
24113 (output_ulps): Generate arrays rather than #defines.
24114 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
24115 (struct ulp_data): New type.
24116 (BUILD_COMPLEX_ULP): Remove macro.
24117 (compare_ulp_data): New function.
24118 (find_ulps): Likewise.
24119 (find_test_ulps): Likewise.
24120 (find_function_ulps): Likewise.
24121 (find_complex_function_ulps): Likewise.
24122 (print_max_error): Determine allowed ulps using
24123 find_function_ulps.
24124 (print_complex_max_error): Determine allowed ulps using
24125 find_complex_function_ulps.
24126 (check_float_internal): Determine max ulps using find_test_ulps.
24127 (check_float): Do not take max_ulp parameter. Update call to
24128 check_float_internal.
24129 (check_complex): Likewise.
24130 (check_int): Do not take max_ulp parameter.
24131 (check_long): Likewise.
24132 (check_bool): Likewise.
24133 (check_longlong): Likewise.
24134 (struct test_f_f_data): Remove max_ulp field.
24135 (struct test_ff_f_data): Likewise.
24136 (struct test_ff_f_data_nexttoward): Likewise.
24137 (struct test_fi_f_data): Likewise.
24138 (struct test_fl_f_data): Likewise.
24139 (struct test_if_f_data): Likewise.
24140 (struct test_fff_f_data): Likewise.
24141 (struct test_c_f_data): Likewise.
24142 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
24143 (struct test_fF_f1_data): Likewise.
24144 (struct test_ffI_f1_data): Likewise.
24145 (struct test_c_c_data): Remove max_ulp field.
24146 (struct test_cc_c_data): Likewise.
24147 (struct test_f_i_data): Likewise.
24148 (struct test_ff_i_data): Likewise.
24149 (struct test_f_l_data): Likewise.
24150 (struct test_f_L_data): Likewise.
24151 (struct test_sincos_data): Likewise.
24152 (RUN_TEST_f_f): Do not handle ulps.
24153 (RUN_TEST_LOOP_f_f): Likewise.
24154 (RUN_TEST_2_f): Likewise.
24155 (RUN_TEST_LOOP_2_f): Likewise.
24156 (RUN_TEST_fff_f): Likewise.
24157 (RUN_TEST_LOOP_fff_f): Likewise.
24158 (RUN_TEST_c_f): Likewise.
24159 (RUN_TEST_LOOP_c_f): Likewise.
24160 (RUN_TEST_f_f1): Likewise.
24161 (RUN_TEST_LOOP_f_f1): Likewise.
24162 (RUN_TEST_fF_f1): Likewise.
24163 (RUN_TEST_LOOP_fF_f1): Likewise.
24164 (RUN_TEST_fI_f1): Likewise.
24165 (RUN_TEST_LOOP_fI_f1): Likewise.
24166 (RUN_TEST_ffI_f1): Likewise.
24167 (RUN_TEST_LOOP_ffI_f1): Likewise.
24168 (RUN_TEST_c_c): Likewise.
24169 (RUN_TEST_LOOP_c_c): Likewise.
24170 (RUN_TEST_cc_c): Likewise.
24171 (RUN_TEST_LOOP_cc_c): Likewise.
24172 (RUN_TEST_f_i): Likewise.
24173 (RUN_TEST_LOOP_f_i): Likewise.
24174 (RUN_TEST_f_i_tg): Likewise.
24175 (RUN_TEST_LOOP_f_i_tg): Likewise.
24176 (RUN_TEST_ff_i_tg): Likewise.
24177 (RUN_TEST_LOOP_ff_i_tg): Likewise.
24178 (RUN_TEST_f_b): Likewise.
24179 (RUN_TEST_LOOP_f_b): Likewise.
24180 (RUN_TEST_f_b_tg): Likewise.
24181 (RUN_TEST_LOOP_f_b_tg): Likewise.
24182 (RUN_TEST_f_l): Likewise.
24183 (RUN_TEST_LOOP_f_l): Likewise.
24184 (RUN_TEST_f_L): Likewise.
24185 (RUN_TEST_LOOP_f_L): Likewise.
24186 (RUN_TEST_sincos): Likewise.
24187 (RUN_TEST_LOOP_sincos): Likewise.
24188
8269107f
JM
241892013-05-17 Joseph Myers <joseph@codesourcery.com>
24190
bb38759d
JM
24191 [BZ #15480]
24192 [BZ #15485]
24193 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
24194 main case of finite arguments, set rounding mode to FE_TONEAREST
24195 and discard exceptions.
24196 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
24197 exceptions.
24198 (remainder_tonearest_test_data): New variable.
24199 (remainder_test_tonearest): New function.
24200 (remainder_towardzero_test_data): New variable.
24201 (remainder_test_towardzero): New function.
24202 (remainder_downward_test_data): New variable.
24203 (remainder_test_downward): New function.
24204 (remainder_upward_test_data): New variable.
24205 (remainder_test_upward): New function.
24206 (main): Call the new test functions.
24207
a00bdcf0
JM
24208 * math/libm-test.inc (struct test_f_f1_data): Remove field
24209 extra_init.
24210 (struct test_fF_f1_data): Likewise.
24211 (struct test_ffI_f1_data): Likewise.
24212 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
24213 based on value of EXTRA_EXPECTED.
24214 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24215 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
24216 EXTRA_VAR based on value of EXTRA_EXPECTED.
24217 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24218 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
24219 EXTRA_VAR based on value of EXTRA_EXPECTED.
24220 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24221 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
24222 EXTRA_VAR based on value of EXTRA_EXPECTED.
24223 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24224 * math/gen-libm-test.pl (parse_args): Don't output initializers
24225 for extra output values.
24226
de407f79
JM
24227 * math/libm-test.inc (check_int): Expect result to be exactly
24228 equal to expected value and do not handle ulps.
24229 (check_long): Likewise.
24230 (check_longlong): Likewise.
24231
8269107f
JM
24232 * math/libm-test.inc (ceil_test_data): Test for "inexact"
24233 exceptions.
24234 (cimag_test_data): Likewise.
24235 (conj_test_data): Likewise.
24236 (copysign_test_data): Likewise.
24237 (cproj_test_data): Likewise.
24238 (creal_test_data): Likewise.
24239 (fabs_test_data): Likewise.
24240 (fdim_test_data): Likewise.
24241 (finite_test_data): Likewise.
24242 (floor_test_data): Likewise.
24243 (fmax_test_data): Likewise.
24244 (fmin_test_data): Likewise.
24245 (fmod_test_data): Likewise.
24246 (fpclassify_test_data): Likewise.
24247 (frexp_test_data): Likewise.
24248 (ilogb_test_data): Likewise.
24249 (isfinite_test_data): Likewise.
24250 (isgreater_test_data): Likewise.
24251 (isgreaterequal_test_data): Likewise.
24252 (isinf_test_data): Likewise.
24253 (isless_test_data): Likewise.
24254 (islessequal_test_data): Likewise.
24255 (islessgreater_test_data): Likewise.
24256 (isnan_test_data): Likewise.
24257 (isnormal_test_data): Likewise.
24258 (issignaling_test_data): Likewise.
24259 (isunordered_test_data): Likewise.
24260 (ldexp_test_data): Likewise.
24261 (lrint_test_data): Likewise.
24262 (lrint_test_data) [TEST_FLOAT]: Disable one test.
24263 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
24264 (lrint_tonearest_test_data): Test for "inexact" exceptions.
24265 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24266 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
24267 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24268 test input.
24269 (lrint_towardzero_test_data): Test for "inexact" exceptions.
24270 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24271 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
24272 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
24273 that test input.
24274 (lrint_downward_test_data): Test for "inexact" exceptions.
24275 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24276 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
24277 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24278 test input.
24279 (lrint_upward_test_data): Test for "inexact" exceptions.
24280 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
24281 test input.
24282 (llrint_test_data): Test for "inexact" exceptions.
24283 (llrint_test_data) [TEST_FLOAT]: Disable one test.
24284 (llrint_tonearest_test_data): Test for "inexact" exceptions.
24285 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24286 (llrint_towardzero_test_data): Test for "inexact" exceptions.
24287 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24288 (llrint_downward_test_data): Test for "inexact" exceptions.
24289 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24290 (llrint_upward_test_data): Test for "inexact" exceptions.
24291 (logb_test_data): Likewise.
24292 (logb_downward_test_data): Likewise.
24293 (nextafter_test_data): Likewise.
24294 (nexttoward_test_data): Likewise.
24295 (remainder_test_data): Likewise.
24296 (remquo_test_data): Likewise.
24297 (scalbn_test_data): Likewise.
24298 (scalbln_test_data): Likewise.
24299 (signbit_test_data): Likewise.
24300 (sqrt_test_data): Likewise.
24301 (significand_test_data): Likewise.
24302
48a18de1
SP
243032013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24304
24305 [BZ #15424]
24306 * benchtests/bench-modf.c (struct args): Mark arg0 as
24307 volatile.
24308 * scripts/bench.pl: Mark members of struct args as volatile.
24309
13d3b41a
AZ
243102013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24311
68191c1d 24312 [BZ # 15497]
13d3b41a
AZ
24313 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
24314 negative infinity on POWER6 or lower.
24315 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
24316
2848b105
MR
243172013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
24318
24319 [BZ #15442]
24320 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
24321 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
24322 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
24323 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
24324 (_FP_SETQNAN): New macro.
24325 (_FP_SETQNAN_SEMIRAW): Likewise.
24326 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
24327 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
24328 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
24329 (FP_EXTEND): Use _FP_FRAC_SNANP.
24330 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
24331 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
24332 into account.
24333 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24334 New macro.
24335 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24336 Likewise.
24337
323e5cb7
JM
243382013-05-16 Joseph Myers <joseph@codesourcery.com>
24339
c58b274f
JM
24340 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
24341 with DIVIDE_BY_ZERO_EXCEPTION.
24342 (gamma_test_data): Likewise.
24343 (lgamma_test_data): Likewise.
24344 (log_test_data): Likewise.
24345 (log10_test_data): Likewise.
24346 (log2_test_data): Likewise.
24347 (tgamma_test_data): Likewise.
24348
0ab34904
JM
24349 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
24350 (acos_test_tonearest): Likewise.
24351 (acos_test_towardzero): Likewise.
24352 (acos_test_downward): Likewise.
24353 (acos_test_upward): Likewise.
24354 (acosh_test): Likewise.
24355 (asin_test): Likewise.
24356 (asin_test_tonearest): Likewise.
24357 (asin_test_towardzero): Likewise.
24358 (asin_test_downward): Likewise.
24359 (asin_test_upward): Likewise.
24360 (asinh_test): Likewise.
24361 (atan_test): Likewise.
24362 (atanh_test): Likewise.
24363 (atan2_test): Likewise.
24364 (cabs_test): Likewise.
24365 (cacos_test): Likewise.
24366 (cacosh_test): Likewise.
24367 (casin_test): Likewise.
24368 (casinh_test): Likewise.
24369 (catan_test): Likewise.
24370 (catanh_test): Likewise.
24371 (cbrt_test): Likewise.
24372 (ccos_test): Likewise.
24373 (ccosh_test): Likewise.
24374 (cexp_test): Likewise.
24375 (clog_test): Likewise.
24376 (clog10_test): Likewise.
24377 (cos_test): Likewise.
24378 (cos_test_tonearest): Likewise.
24379 (cos_test_towardzero): Likewise.
24380 (cos_test_downward): Likewise.
24381 (cos_test_upward): Likewise.
24382 (cosh_test): Likewise.
24383 (cosh_test_tonearest): Likewise.
24384 (cosh_test_towardzero): Likewise.
24385 (cosh_test_downward): Likewise.
24386 (cosh_test_upward): Likewise.
24387 (cpow_test): Likewise.
24388 (csin_test): Likewise.
24389 (csinh_test): Likewise.
24390 (csqrt_test): Likewise.
24391 (ctan_test): Likewise.
24392 (ctan_test_tonearest): Likewise.
24393 (ctan_test_towardzero): Likewise.
24394 (ctan_test_downward): Likewise.
24395 (ctan_test_upward): Likewise.
24396 (ctanh_test): Likewise.
24397 (ctanh_test_tonearest): Likewise.
24398 (ctanh_test_towardzero): Likewise.
24399 (ctanh_test_downward): Likewise.
24400 (ctanh_test_upward): Likewise.
24401 (erf_test): Likewise.
24402 (erfc_test): Likewise.
24403 (exp_test): Likewise.
24404 (exp_test_tonearest): Likewise.
24405 (exp_test_towardzero): Likewise.
24406 (exp_test_downward): Likewise.
24407 (exp_test_upward): Likewise.
24408 (exp10_test): Likewise.
24409 (exp2_test): Likewise.
24410 (expm1_test): Likewise.
24411 (fmod_test): Likewise.
24412 (gamma_test): Likewise.
24413 (hypot_test): Likewise.
24414 (j0_test): Likewise.
24415 (j1_test): Likewise.
24416 (jn_test): Likewise.
24417 (lgamma_test): Likewise.
24418 (log_test): Likewise.
24419 (log10_test): Likewise.
24420 (log1p_test): Likewise.
24421 (log2_test): Likewise.
24422 (logb_test_downward): Likewise.
24423 (pow_test): Likewise.
24424 (pow_test_tonearest): Likewise.
24425 (pow_test_towardzero): Likewise.
24426 (pow_test_downward): Likewise.
24427 (pow_test_upward): Likewise.
24428 (remainder_test): Likewise.
24429 (remquo_test): Likewise.
24430 (sin_test): Likewise.
24431 (sin_test_tonearest): Likewise.
24432 (sin_test_towardzero): Likewise.
24433 (sin_test_downward): Likewise.
24434 (sin_test_upward): Likewise.
24435 (sincos_test): Likewise.
24436 (sinh_test): Likewise.
24437 (sinh_test_tonearest): Likewise.
24438 (sinh_test_towardzero): Likewise.
24439 (sinh_test_downward): Likewise.
24440 (sinh_test_upward): Likewise.
24441 (sqrt_test): Likewise.
24442 (tan_test): Likewise.
24443 (tan_test_tonearest): Likewise.
24444 (tan_test_towardzero): Likewise.
24445 (tan_test_downward): Likewise.
24446 (tan_test_upward): Likewise.
24447 (tanh_test): Likewise.
24448 (tgamma_test): Likewise.
24449 (y0_test): Likewise.
24450 (y1_test): Likewise.
24451 (yn_test): Likewise.
24452
323e5cb7
JM
24453 * math/gen-libm-test.pl (adjust_arg): Remove function.
24454 (special_function): Remove argument $in_func. Only handle
24455 generating output for tables of tests, not inside functions.
24456 (parse_args): Likewise.
24457 (generate_testfile): Remove variable $in_func. Update call to
24458 parse_args.
24459 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
24460 (MINUS_ZERO_INIT): Rename macro to minus_zero.
24461 (PLUS_INFTY_INIT): Rename macro to plus_infty.
24462 (MINUS_INFTY_INIT): Rename macro to minus_infty.
24463 (QNAN_VALUE_INIT): Rename macro to qnan_value.
24464 (MAX_VALUE_INIT): Rename macro to max_value.
24465 (MIN_VALUE_INIT): Rename macro to min_value.
24466 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
24467 (plus_zero): Remove variable.
24468 (minus_zero): Likewise.
24469 (plus_infty): Likewise.
24470 (minus_infty): Likewise.
24471 (qnan_value): Likewise.
24472 (max_value): Likewise.
24473 (min_value): Likewise.
24474 (min_subnorm_value): Likewise.
24475
e054f494
RA
244762013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24477
24478 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
24479 uint64_t or uint32_t usage.
24480 * crypt/sha256-block.c: Likewise.
24481 * crypt/sha256-crypt.c: Likewise.
24482 * crypt/sha256.c: Likewise.
24483 * crypt/sha512-block.c: Likewise.
24484 * crypt/sha512-crypt.c: Likewise.
24485 * crypt/sha512.c: Likewise.
24486 * debug/backtrace-tst.c: Likewise.
24487 * debug/pcprofiledump.c: Likewise.
24488 * elf/cache.c: Likewise.
24489 * elf/dl-cache.c: Likewise.
24490 * elf/dl-misc.c: Likewise.
24491 * elf/dl-profile.c: Likewise.
24492 * elf/dl-support.c: Likewise.
24493 * elf/ldconfig.c: Likewise.
24494 * elf/sprof.c: Likewise.
24495 * iconv/dummy-repertoire.c: Likewise.
24496 * iconv/iconv_charmap.c: Likewise.
24497 * iconv/skeleton.c: Likewise.
24498 * iconvdata/8bit-generic.c: Likewise.
24499 * iconvdata/cp737.h: Likewise.
24500 * iconvdata/cp775.h: Likewise.
24501 * iconvdata/ibm1008.h: Likewise.
24502 * iconvdata/ibm1025.h: Likewise.
24503 * iconvdata/ibm1046.h: Likewise.
24504 * iconvdata/ibm1097.h: Likewise.
24505 * iconvdata/ibm1112.h: Likewise.
24506 * iconvdata/ibm1122.h: Likewise.
24507 * iconvdata/ibm1123.h: Likewise.
24508 * iconvdata/ibm1124.h: Likewise.
24509 * iconvdata/ibm1129.h: Likewise.
24510 * iconvdata/ibm1130.h: Likewise.
24511 * iconvdata/ibm1132.h: Likewise.
24512 * iconvdata/ibm1133.h: Likewise.
24513 * iconvdata/ibm1137.h: Likewise.
24514 * iconvdata/ibm1140.h: Likewise.
24515 * iconvdata/ibm1141.h: Likewise.
24516 * iconvdata/ibm1142.h: Likewise.
24517 * iconvdata/ibm1143.h: Likewise.
24518 * iconvdata/ibm1144.h: Likewise.
24519 * iconvdata/ibm1145.h: Likewise.
24520 * iconvdata/ibm1146.h: Likewise.
24521 * iconvdata/ibm1147.h: Likewise.
24522 * iconvdata/ibm1148.h: Likewise.
24523 * iconvdata/ibm1149.h: Likewise.
24524 * iconvdata/ibm1153.h: Likewise.
24525 * iconvdata/ibm1154.h: Likewise.
24526 * iconvdata/ibm1155.h: Likewise.
24527 * iconvdata/ibm1156.h: Likewise.
24528 * iconvdata/ibm1157.h: Likewise.
24529 * iconvdata/ibm1158.h: Likewise.
24530 * iconvdata/ibm1160.h: Likewise.
24531 * iconvdata/ibm1161.h: Likewise.
24532 * iconvdata/ibm1162.h: Likewise.
24533 * iconvdata/ibm1163.h: Likewise.
24534 * iconvdata/ibm1164.h: Likewise.
24535 * iconvdata/ibm1166.h: Likewise.
24536 * iconvdata/ibm1167.h: Likewise.
24537 * iconvdata/ibm12712.h: Likewise.
24538 * iconvdata/ibm1390.h: Likewise.
24539 * iconvdata/ibm1399.h: Likewise.
24540 * iconvdata/ibm16804.h: Likewise.
24541 * iconvdata/ibm4517.h: Likewise.
24542 * iconvdata/ibm4899.h: Likewise.
24543 * iconvdata/ibm4909.h: Likewise.
24544 * iconvdata/ibm4971.h: Likewise.
24545 * iconvdata/ibm5347.h: Likewise.
24546 * iconvdata/ibm803.h: Likewise.
24547 * iconvdata/ibm856.h: Likewise.
24548 * iconvdata/ibm901.h: Likewise.
24549 * iconvdata/ibm902.h: Likewise.
24550 * iconvdata/ibm9030.h: Likewise.
24551 * iconvdata/ibm9066.h: Likewise.
24552 * iconvdata/ibm921.h: Likewise.
24553 * iconvdata/ibm922.h: Likewise.
24554 * iconvdata/ibm9448.h: Likewise.
24555 * iconvdata/isiri-3342.h: Likewise.
24556 * iconvdata/jis0201.h: Likewise.
24557 * include/link.h: Likewise.
24558 * include/netdb.h: Likewise.
24559 * inet/check_native.c: Likewise.
24560 * inet/check_pf.c: Likewise.
24561 * inet/getipv4sourcefilter.c: Likewise.
24562 * inet/getnameinfo.c: Likewise.
24563 * inet/getsourcefilter.c: Likewise.
24564 * inet/htonl.c: Likewise.
24565 * inet/setipv4sourcefilter.c: Likewise.
24566 * inet/setsourcefilter.c: Likewise.
24567 * inet/test-inet6_opt.c: Likewise.
24568 * inet/tst-network.c: Likewise.
24569 * locale/C-collate.c: Likewise.
24570 * locale/C-ctype.c: Likewise.
24571 * locale/C-time.c: Likewise.
24572 * locale/C-translit.h: Likewise.
24573 * locale/loadarchive.c: Likewise.
24574 * locale/programs/3level.h: Likewise.
24575 * locale/programs/charmap.c: Likewise.
24576 * locale/programs/charmap.h: Likewise.
24577 * locale/programs/ld-address.c: Likewise.
24578 * locale/programs/ld-collate.c: Likewise.
24579 * locale/programs/ld-ctype.c: Likewise.
24580 * locale/programs/ld-identification.c: Likewise.
24581 * locale/programs/ld-measurement.c: Likewise.
24582 * locale/programs/ld-messages.c: Likewise.
24583 * locale/programs/ld-monetary.c: Likewise.
24584 * locale/programs/ld-name.c: Likewise.
24585 * locale/programs/ld-numeric.c: Likewise.
24586 * locale/programs/ld-paper.c: Likewise.
24587 * locale/programs/ld-telephone.c: Likewise.
24588 * locale/programs/ld-time.c: Likewise.
24589 * locale/programs/linereader.c: Likewise.
24590 * locale/programs/locale.c: Likewise.
24591 * locale/programs/locarchive.c: Likewise.
24592 * locale/programs/locfile.h: Likewise.
24593 * locale/programs/repertoire.c: Likewise.
24594 * locale/programs/simple-hash.c: Likewise.
24595 * locale/programs/simple-hash.h: Likewise.
24596 * malloc/memusage.c: Likewise.
24597 * malloc/memusagestat.c: Likewise.
24598 * nis/nis_defaults.c: Likewise.
24599 * nis/nis_hash.c: Likewise.
24600 * nis/nis_print.c: Likewise.
24601 * nis/nis_xdr.c: Likewise.
24602 * nscd/connections.c: Likewise.
24603 * nscd/hstcache.c: Likewise.
24604 * nscd/nscd_gethst_r.c: Likewise.
24605 * nscd/nscd_getserv_r.c: Likewise.
24606 * nscd/nscd_helper.c: Likewise.
24607 * nscd/servicescache.c: Likewise.
24608 * nss/makedb.c: Likewise.
24609 * nss/nss_db/db-XXX.c: Likewise.
24610 * nss/nss_db/db-initgroups.c: Likewise.
24611 * nss/nss_db/db-netgrp.c: Likewise.
24612 * nss/nss_files/files-network.c: Likewise.
24613 * nss/nss_files/files-parse.c: Likewise.
24614 * posix/bug-regex5.c: Likewise.
24615 * posix/fnmatch_loop.c: Likewise.
24616 * posix/regcomp.c: Likewise.
24617 * posix/regexec.c: Likewise.
24618 * posix/tst-rfc3484-2.c: Likewise.
24619 * posix/tst-rfc3484-3.c: Likewise.
24620 * posix/tst-rfc3484.c: Likewise.
24621 * resolv/nss_dns/dns-canon.c: Likewise.
24622 * resolv/nss_dns/dns-network.c: Likewise.
24623 * resolv/res_init.c: Likewise.
24624 * resolv/res_mkquery.c: Likewise.
24625 * resolv/tst-aton.c: Likewise.
24626 * stdlib/cxa_atexit.c: Likewise.
24627 * stdlib/cxa_finalize.c: Likewise.
24628 * stdlib/gen-fpioconst.c: Likewise.
24629 * stdlib/strtol_l.c: Likewise.
24630 * string/tst-endian.c: Likewise.
24631 * sunrpc/auth_des.c: Likewise.
24632 * sunrpc/clnt_udp.c: Likewise.
24633 * sunrpc/rtime.c: Likewise.
24634 * sunrpc/svcauth_des.c: Likewise.
24635 * sunrpc/xdr.c: Likewise.
24636 * sunrpc/xdr_intXX_t.c: Likewise.
24637 * sunrpc/xdr_rec.c: Likewise.
24638 * sysdeps/generic/ldconfig.h: Likewise.
24639 * sysdeps/generic/ldsodefs.h: Likewise.
24640 * sysdeps/generic/memusage.h: Likewise.
24641 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24642 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
24643 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
24644 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24645 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24646 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24647 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24648 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24649 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24650 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24651 * sysdeps/posix/getaddrinfo.c: Likewise.
24652 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24653 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24654 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24655 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24656 * sysdeps/powerpc/test-gettimebase.c: Likewise.
24657 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24658 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
24659 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
24660 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24661 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
24662 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24663 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24664 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
24665 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
24666 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
24667 * sysdeps/x86_64/dl-tls.h: Likewise.
24668 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
24669 * time/alt_digit.c: Likewise.
24670 * time/era.c: Likewise.
24671 * wcsmbs/tst-c16c32-1.c: Likewise.
24672
8c75f674
JM
246732013-05-16 Joseph Myers <joseph@codesourcery.com>
24674
24675 * math/libm-test.inc (struct test_sincos_data): New type.
24676 (RUN_TEST_LOOP_sincos): New macro.
24677 (sincos_test_data): New variable.
24678 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
24679
e6e49e59
RH
246802013-05-16 Richard Henderson <rth@redhat.com>
24681
24682 * math/atest-exp2.c (LIMB64): New macro.
24683 (CONSTSZ): New macro.
24684 (mp_exp1, mp_exp_m1, mp_log2): New variables.
24685 (hexdig): Move ...
24686 (print_mpn_fp): ... to function scope.
24687 (read_mpn_hex): Remove.
24688 (get_log2): Remove.
24689 (exp2_mpn): Use mp_log2.
24690 (main): Use mp_exp1.
24691
15c7c18d
JM
246922013-05-16 Joseph Myers <joseph@codesourcery.com>
24693
105a07df
JM
24694 * math/libm-test.inc: Remove comment about not testing "inexact"
24695 exceptions.
24696 (INEXACT_EXCEPTION): New macro.
24697 (NO_INEXACT_EXCEPTION): Likewise.
24698 (INVALID_EXCEPTION_OK): Update value.
24699 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24700 (OVERFLOW_EXCEPTION_OK): Likewise.
24701 (UNDERFLOW_EXCEPTION_OK): Likewise.
24702 (IGNORE_ZERO_INF_SIGN): Likewise.
24703 (ERRNO_UNCHANGED): Likewise.
24704 (ERRNO_EDOM): Likewise.
24705 (ERRNO_ERANGE): Likewise.
24706 (test_exceptions): Handle testing "inexact" exceptions.
24707 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
24708 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
24709 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
24710 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
24711 INEXACT_EXCEPTION.
24712 (rint_towardzero_test_data): Likewise.
24713 (rint_downward_test_data): Likewise.
24714 (rint_upward_test_data): Likewise.
24715
e9eee333
JM
24716 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
24717 with OVERFLOW_EXCEPTION.
24718 (exp10_test_data): Likewise.
24719 (exp2_test_data): Likewise.
24720 (expm1_test_data): Likewise.
24721 (lgamma_test_data): Likewise.
24722 (pow_test_data): Likewise.
24723 (tgamma_test_data): Likewise.
24724 (yn_test_data): Remove duplicate test of overflow.
24725
1c38ff73
JM
24726 * math/libm-test.inc (struct test_cc_c_data): New type.
24727 (RUN_TEST_LOOP_cc_c): New macro.
24728 (cpow_test_data): New variable.
24729 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
24730
15c7c18d
JM
24731 * math/libm-test.inc (struct test_f_L_data): New type.
24732 (RUN_TEST_LOOP_f_L): New macro.
24733 (llrint_test_data): New variable.
24734 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
24735 (llrint_tonearest_test_data): New variable.
24736 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
24737 (llrint_towardzero_test_data): New variable.
24738 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
24739 (llrint_downward_test_data): New variable.
24740 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
24741 (llrint_upward_test_data): New variable.
24742 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
24743 (llround_test_data): New variable.
24744 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
24745
f137ff13
PC
247462013-05-13 Peter Collingbourne <pcc@google.com>
24747
24748 * math/atest-exp2.c (get_log2): Remove const attribute.
24749
3608cb24
JM
247502013-05-15 Joseph Myers <joseph@codesourcery.com>
24751
24752 * math/libm-test.inc (struct test_f_l_data): New type.
24753 (RUN_TEST_LOOP_f_l): New macro.
24754 (lrint_test_data): New variable.
24755 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
24756 (lrint_tonearest_test_data): New variable.
24757 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
24758 (lrint_towardzero_test_data): New variable.
24759 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
24760 (lrint_downward_test_data): New variable.
24761 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
24762 (lrint_upward_test_data): New variable.
24763 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
24764 (lround_test_data): New variable.
24765 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
24766
39b1f617
PC
247672013-05-15 Peter Collingbourne <pcc@google.com>
24768
1deff3dc
PC
24769 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
24770 (EXTRACT_WORDS64) Use where appropriate.
24771 (INSERT_WORDS64) Likewise.
24772
791f3ba0
PC
24773 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
24774 constraints with x constraints.
24775 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
24776
39b1f617
PC
24777 * malloc/obstack.c (_obstack_compat): Add initializer.
24778
12fba011
EM
247792013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
24780
24781 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
24782 si_trapno and add si_addr_lsb to _sifields.sigfault.
24783 (si_trapno): Remove macro.
24784 (si_addr_lsb): Define new macro.
24785 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24786
d369f531
JM
247872013-05-15 Joseph Myers <joseph@codesourcery.com>
24788
b861c6c4
JM
24789 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
24790 instead of TEST_f_l.
24791 (llrint_test_tonearest): Likewise.
24792 (llrint_test_towardzero): Likewise.
24793 (llrint_test_downward): Likewise.
24794 (llrint_test_upward): Likewise.
24795 (llround_test): Likewise.
24796
7abeee12
JM
24797 * math/libm-test.inc (struct test_f_i_data): Add comment.
24798 (RUN_TEST_LOOP_f_b): New macro.
24799 (RUN_TEST_LOOP_f_b_tg): Likewise.
24800 (finite_test_data): New variable.
24801 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
24802 (isfinite_test_data): New variable.
24803 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24804 (isinf_test_data): New variable.
24805 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24806 (isnan_test_data): New variable.
24807 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24808 (isnormal_test_data): New variable.
24809 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24810 (issignaling_test_data): New variable.
24811 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24812 (signbit_test_data): New variable.
24813 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24814
cbe8c4d3
JM
24815 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
24816 with INVALID_EXCEPTION.
24817 (acosh_test_data): Likewise.
24818 (asin_test_data): Likewise.
24819 (atanh_test_data): Likewise.
24820 (fmod_test_data): Likewise.
24821 (log_test_data): Likewise.
24822 (log10_test_data): Likewise.
24823 (log2_test_data): Likewise.
24824 (pow_test_data): Likewise.
24825 (sqrt_test_data): Likewise.
24826 (y0_test_data): Likewise.
24827 (y1_test_data): Likewise.
24828 (yn_test_data): Likewise.
24829
5575c0e5
JM
24830 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
24831 function contents.
24832
d369f531
JM
24833 * math/libm-test.inc (struct test_ff_i_data): New type.
24834 (RUN_TEST_LOOP_ff_i_tg): New macro.
24835 (isgreater_test_data): New variable.
24836 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24837 (isgreaterequal_test_data): New variable.
24838 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24839 (isless_test_data): New variable.
24840 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24841 (islessequal_test_data): New variable.
24842 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24843 (islessgreater_test_data): New variable.
24844 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24845 (isunordered_test_data): New variable.
24846 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24847
781fd748
DM
248482013-05-14 David S. Miller <davem@davemloft.net>
24849
24850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24851
87aa21df
JM
248522013-05-14 Joseph Myers <joseph@codesourcery.com>
24853
5e908270
JM
24854 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
24855
f71172e5
JM
24856 * math/libm-test.inc (struct test_fF_f1_data): Change type of
24857 extra_test to int.
24858 (struct test_f_i_data): Change type of max_ulp to int.
24859
8cfa635a
JM
24860 * math/libm-test.inc (test_ffI_f1_data): New type.
24861 (RUN_TEST_LOOP_ffI_f1): New macro.
24862 (remquo_test_data): New variable.
24863 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
24864
2bcb36b2
JM
24865 * setjmp/tst-setjmp-fp.c: New file.
24866 * setjmp/Makefile (tests): Add tst-setjmp-fp.
24867 (link-libm): New variable.
24868 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
24869
acbd839a
JM
24870 * math/libm-test.inc (struct test_f_i_data): New type.
24871 (RUN_TEST_LOOP_f_i): New macro.
24872 (RUN_TEST_LOOP_f_i_tg): Likewise.
24873 (fpclassify_test_data): New variable.
24874 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
24875 (ilogb_test_data): New variable.
24876 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
24877
e414d745
JM
24878 * math/libm-test.inc (scalbln_test): Correct function name in END
24879 call.
24880
d9c2a0fd
JM
24881 * math/libm-test.inc (struct test_f_f1_data): Add comment.
24882 (RUN_TEST_LOOP_fI_f1): New macro.
24883 (frexp_test_data): New variable.
24884 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
24885
9dc9095d
JM
24886 * math/libm-test.inc (struct test_fF_f1_data): New type.
24887 (RUN_TEST_LOOP_fF_f1): New macro.
24888 (modf_test_data): New variable.
24889 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
24890
87aa21df
JM
24891 * math/libm-test.inc (struct test_f_f1_data): New type.
24892 (RUN_TEST_LOOP_f_f1): New macro.
24893 (gamma_test_data): New variable.
24894 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24895 (lgamma_test_data): New variable.
24896 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24897
141af660
CD
248982013-05-13 Carlos O'Donell <carlos@redhat.com>
24899
24900 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
24901 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
24902 (main): Comment "tls" pseudo-hwcap.
24903
6d33265c
JM
249042013-05-13 Joseph Myers <joseph@codesourcery.com>
24905
68fc074c
JM
24906 * math/libm-test.inc (struct test_fl_f_data): New type.
24907 (RUN_TEST_LOOP_fl_f): New variable.
24908 (scalbln_test_data): New variable.
24909 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
24910
243216e1
JM
24911 * math/libm-test.inc (struct test_fi_f_data): New type.
24912 (RUN_TEST_LOOP_fi_f): New macro.
24913 (ldexp_test_data): New variable.
24914 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
24915 (scalbn_test_data): New variable.
24916 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
24917
6a1992e2
JM
24918 * math/libm-test.inc (struct test_c_f_data): New type.
24919 (RUN_TEST_LOOP_c_f): New macro.
24920 (cabs_test_data): New variable.
24921 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
24922 (carg_test_data): New variable.
24923 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
24924 (cimag_test_data): New variable.
24925 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
24926 (creal_test_data): New variable.
24927 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
24928
0e400df5
JM
24929 * math/libm-test.inc (struct test_if_f_data): New type.
24930 (RUN_TEST_LOOP_if_f): New macro.
24931 (jn_test_data): New variable.
24932 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
24933 (yn_test_data): New variable.
24934 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
24935
6d33265c
JM
24936 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
24937
f98ece5f
AZ
249382013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24939
24940 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
24941 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
24942
0f7d347b
SP
249432013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24944
43fe811b
SP
24945 * benchtests/Makefile (CPPFLAGS-nonlib): Add
24946 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
24947 (bench-deps): Add bench-timing.h.
24948 * benchtests-bench-skeleton.c: Include bench-timing.h.
24949 (main): Use TIMING_* macros instead of clock_gettime.
24950 * benchtests/bench-timing.h: New file.
24951
0f7d347b
SP
24952 [BZ #14582]
24953 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
24954 Renamed from _LIB_VERSION.
24955 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
24956
601a3a5f
JM
249572013-05-12 Joseph Myers <joseph@codesourcery.com>
24958
4f184d30
JM
24959 * math/libm-test.inc (struct test_fff_f_data): New type.
24960 (RUN_TEST_LOOP_fff_f): New macro.
24961 (fma_test_data): New variable.
24962 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
24963 (fma_towardzero_test_data): New variable.
24964 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
24965 (fma_downward_test_data): New variable.
24966 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
24967 (fma_upward_test_data): New variable.
24968 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
24969
08198877
JM
24970 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
24971 (struct test_c_c_data): New type.
24972 (RUN_TEST_LOOP_c_c): New macro.
24973 (cacos_test_data): New variable.
24974 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
24975 (cacosh_test_data): New variable.
24976 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
24977 (casin_test_data): New variable.
24978 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
24979 (casinh_test_data): New variable.
24980 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
24981 (catan_test_data): New variable.
24982 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
24983 (catanh_test_data): New variable.
24984 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
24985 (ccos_test_data): New variable.
24986 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
24987 (ccosh_test_data): New variable.
24988 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
24989 (cexp_test_data): New variable.
24990 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
24991 (clog_test_data): New variable.
24992 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
24993 (clog10_test_data): New variable.
24994 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
24995 (conj_test_data): New variable.
24996 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
24997 (cproj_test_data): New variable.
24998 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
24999 (csin_test_data): New variable.
25000 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
25001 (csinh_test_data): New variable.
25002 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
25003 (csqrt_test_data): New variable.
25004 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
25005 (ctan_test_data): New variable.
25006 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
25007 (ctan_tonearest_test_data): New variable.
25008 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25009 (ctan_towardzero_test_data): New variable.
25010 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25011 (ctan_downward_test_data): New variable.
25012 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25013 (ctan_upward_test_data): New variable.
25014 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25015 (ctanh_test_data): New variable.
25016 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
25017 (ctanh_tonearest_test_data): New variable.
25018 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25019 (ctanh_towardzero_test_data): New variable.
25020 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25021 (ctanh_downward_test_data): New variable.
25022 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25023 (ctanh_upward_test_data): New variable.
25024 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25025 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
25026 of BUILD_COMPLEX.
25027
601a3a5f
JM
25028 * math/libm-test.inc (struct test_ff_f_data): New type.
25029 (struct test_ff_f_data_nexttoward): Likewise.
25030 (RUN_TEST_LOOP_2_f): New macro.
25031 (RUN_TEST_LOOP_ff_f): Likewise.
25032 (atan2_test_data): New variable.
25033 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
25034 (copysign_test_data): New variable.
25035 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
25036 (fdim_test_data): New variable.
25037 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
25038 (fmax_test_data): New variable.
25039 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
25040 (fmin_test_data): New variable.
25041 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
25042 (fmod_test_data): New variable.
25043 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
25044 (hypot_test_data): New variable.
25045 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
25046 (nextafter_test_data): New variable.
25047 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
25048 (nexttoward_test_data): New variable.
25049 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
25050 (pow_test_data): New variable.
25051 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
25052 (pow_tonearest_test_data): New variable.
25053 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
25054 (pow_towardzero_test_data): New variable.
25055 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
25056 (pow_downward_test_data): New variable.
25057 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
25058 (pow_upward_test_data): New variable.
25059 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
25060 (remainder_test_data): New variable.
25061 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
25062 (scalb_test_data): New variable.
25063 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
25064 * sysdeps/i386/fpu/libm-test-ulps: Update.
25065
74c57478
JM
250662013-05-11 Joseph Myers <joseph@codesourcery.com>
25067
8329e4da
JM
25068 * math/libm-test.inc (fma_test): Use max_value instead of local
25069 variable fltmax.
25070 (nextafter_test): Likewise.
25071
74c57478
JM
25072 * math/libm-test.inc (acos_towardzero_test_data): New variable.
25073 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25074 (acos_downward_test_data): New variable.
25075 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25076 (acos_upward_test_data): New variable.
25077 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25078 (acosh_test_data): New variable.
25079 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
25080 (asin_test_data): New variable.
25081 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
25082 (asin_tonearest_test_data): New variable.
25083 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25084 (asin_towardzero_test_data): New variable.
25085 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25086 (asin_downward_test_data): New variable.
25087 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25088 (asin_upward_test_data): New variable.
25089 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25090 (asinh_test_data): New variable.
25091 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
25092 (atan_test_data): New variable.
25093 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
25094 (atanh_test_data): New variable.
25095 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
25096 (cbrt_test_data): New variable.
25097 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
25098 (ceil_test_data): New variable.
25099 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
25100 (cos_test_data): New variable.
25101 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
25102 (cos_tonearest_test_data): New variable.
25103 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25104 (cos_towardzero_test_data): New variable.
25105 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25106 (cos_downward_test_data): New variable.
25107 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25108 (cos_upward_test_data): New variable.
25109 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25110 (cosh_test_data): New variable.
25111 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
25112 (cosh_tonearest_test_data): New variable.
25113 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25114 (cosh_towardzero_test_data): New variable.
25115 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25116 (cosh_downward_test_data): New variable.
25117 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25118 (cosh_upward_test_data): New variable.
25119 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25120 (erf_test_data): New variable.
25121 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
25122 (erfc_test_data): New variable.
25123 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
25124 (exp_test_data): New variable.
25125 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
25126 (exp_tonearest_test_data): New variable.
25127 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25128 (exp_towardzero_test_data): New variable.
25129 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25130 (exp_downward_test_data): New variable.
25131 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25132 (exp_upward_test_data): New variable.
25133 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25134 (exp10_test_data): New variable.
25135 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
25136 (exp2_test_data): New variable.
25137 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
25138 (expm1_test_data): New variable.
25139 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
25140 (fabs_test_data): New variable.
25141 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
25142 (floor_test_data): New variable.
25143 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
25144 (j0_test_data): New variable.
25145 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
25146 (j1_test_data): New variable.
25147 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
25148 (log_test_data): New variable.
25149 (log_test): Run tests with RUN_TEST_LOOP_f_f.
25150 (log10_test_data): New variable.
25151 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
25152 (log1p_test_data): New variable.
25153 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
25154 (log2_test_data): New variable.
25155 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
25156 (logb_test_data): New variable.
25157 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
25158 (logb_downward_test_data): New variable.
25159 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25160 (nearbyint_test_data): New variable.
25161 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
25162 (rint_test_data): New variable.
25163 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
25164 (rint_tonearest_test_data): New variable.
25165 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25166 (rint_towardzero_test_data): New variable.
25167 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25168 (rint_downward_test_data): New variable.
25169 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25170 (rint_upward_test_data): New variable.
25171 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25172 (round_test_data): New variable.
25173 (round_test): Run tests with RUN_TEST_LOOP_f_f.
25174 (sin_test_data): New variable.
25175 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
25176 (sin_tonearest_test_data): New variable.
25177 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25178 (sin_towardzero_test_data): New variable.
25179 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25180 (sin_downward_test_data): New variable.
25181 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25182 (sin_upward_test_data): New variable.
25183 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25184 (sinh_test_data): New variable.
25185 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
25186 (sinh_tonearest_test_data): New variable.
25187 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25188 (sinh_towardzero_test_data): New variable.
25189 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25190 (sinh_downward_test_data): New variable.
25191 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25192 (sinh_upward_test_data): New variable.
25193 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25194 (sqrt_test_data): New variable.
25195 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
25196 (tan_test_data): New variable.
25197 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
25198 (tan_tonearest_test_data): New variable.
25199 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25200 (tan_towardzero_test_data): New variable.
25201 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25202 (tan_downward_test_data): New variable.
25203 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25204 (tan_upward_test_data): New variable.
25205 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25206 (tanh_test_data): New variable.
25207 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
25208 (tgamma_test_data): New variable.
25209 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
25210 (trunc_test_data): New variable.
25211 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
25212 (y0_test_data): New variable.
25213 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
25214 (y1_test_data): New variable.
25215 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
25216 (significand_test_data): New variable.
25217 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
25218
7187d844
CG
252192013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
25220
25221 [BZ #12387]
25222 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
25223
f63fae73
PT
252242013-05-10 Pino Toscano <toscano.pino@tiscali.it>
25225
25226 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
25227
8a67a4b3
AJ
252282013-05-10 Andreas Jaeger <aj@suse.de>
25229
25230 [BZ #15448]
25231 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
25232 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
25233
51df539d
JM
252342013-05-10 Joseph Myers <joseph@codesourcery.com>
25235
25236 * math/gen-libm-test.pl (adjust_arg): New function.
25237 (special_functions): Handle generating output in both functions
25238 and arrays.
25239 (parse_args): Likewise.
25240 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
25241 $in_func argument to parse_args.
25242 * math/libm-test.inc (struct test_f_f_data): New type.
25243 (IF_ROUND_INIT_): New macro.
25244 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
25245 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25246 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25247 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25248 (ROUND_RESTORE_): Likewise.
25249 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
25250 (ROUND_RESTORE_FE_TONEAREST): Likewise.
25251 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
25252 (ROUND_RESTORE_FE_UPWARD): Likewise.
25253 (RUN_TEST_LOOP_f_f): New macro.
25254 (acos_test_data): New variable.
25255 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
25256 (acos_tonearest_test_data): New variable.
25257 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25258
5c637fe5
SP
252592013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25260
25261 * benchtests/bench-skeleton.c (startup): Fix coding style.
25262
ab2b9461
JM
252632013-05-10 Joseph Myers <joseph@codesourcery.com>
25264
25265 [BZ #6809]
25266 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
25267 negative infinity argument.
25268 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
25269 negative infinity argument.
25270 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
25271 negative infinity argument.
25272 * math/libm-test.inc (tgamma_test): Expect errno to be set for
25273 domain errors.
25274
4c0fe6fe
FW
252752013-05-10 Florian Weimer <fweimer@redhat.com>
25276
25277 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
25278 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
25279 * iconv/iconv_prog.c (main): Likewise.
25280 * locale/programs/charmap-dir.c (charmap_readdir)
25281 (fopen_uncompressed): Likewise.
25282 * locale/programs/locfile.c (siblings_uncached)
25283 (write_locale_data): Use lstat64 instead of lstat.
25284 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
25285 stat.
25286
a3375d29
AJ
252872013-05-10 Andreas Jaeger <aj@suse.de>
25288
25289 [BZ #15395]
25290 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
25291 localization.
25292 Include <locale.h>.
25293
36129722
CD
252942013-05-09 Carlos O'Donell <carlos@redhat.com>
25295
25296 * elf/dl-close.c (_dl_close_worker): Add comments.
25297
faa7f811
JM
252982013-05-09 Joseph Myers <joseph@codesourcery.com>
25299
ed41ffef
JM
25300 [BZ #15359]
25301 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
25302 high part of pi/2.
25303 (__ieee754_rem_pio2l): Update comments.
25304
d0213cd0
JM
25305 [BZ #15429]
25306 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
25307 high part of pi/2.
25308 (__ieee754_rem_pio2l): Update comments.
25309
0d3e777a
JM
25310 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
25311 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
25312
24f56066
JM
25313 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
25314 M_PI_4l.
25315
faa7f811
JM
25316 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
25317 (M_PI_34_LOG10El): Likewise.
25318 (M_PI2_LOG10El): Likewise.
25319 (M_PI4_LOG10El): Likewise.
25320 (M_PI_LOG10El): Likewise.
25321
e9a5e0fd
AZ
253222013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25323
25324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25325
d8cd06db
JM
253262013-05-08 Joseph Myers <joseph@codesourcery.com>
25327
a0d9f9d7
JM
25328 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
25329 (MINUS_ZERO_INIT): Likewise.
25330 (PLUS_INFTY_INIT): Likewise.
25331 (MINUS_INFTY_INIT): Likewise.
25332 (QNAN_VALUE_INIT): Likewise.
25333 (MAX_VALUE_INIT): Likewise.
25334 (MIN_VALUE_INIT): Likewise.
25335 (MIN_SUBNORM_VALUE_INIT): Likewise.
25336 (plus_zero): Initialize with PLUS_ZERO_INIT.
25337 (minus_zero): Initialize with MINUS_ZERO_INIT.
25338 (plus_infty): Initialize with PLUS_INFTY_INIT.
25339 (minus_infty): Initialize with MINUS_INFTY_INIT.
25340 (qnan_value): Initialize with QNAN_VALUE_INIT.
25341 (max_value): Initialize with MAX_VALUE_INIT.
25342 (min_value): Initialize with MIN_VALUE_INIT.
25343 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
25344
ae08db3b
JM
25345 * math/libm-test.inc (RUN_TEST_if_f): New macro.
25346 (jn_test): Use TEST_if_f instead of TEST_ff_f.
25347 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
25348 (yn_test): Use TEST_if_f instead of TEST_ff_f.
25349
f44bf14a
JM
25350 * math/libm-test.inc (RUN_TEST_f_f): New macro.
25351 (RUN_TEST_2_f): Likewise.
25352 (RUN_TEST_ff_f): Likewise.
25353 (RUN_TEST_fi_f): Likewise.
25354 (RUN_TEST_fl_f): Likewise.
25355 (RUN_TEST_fff_f): Likewise.
25356 (RUN_TEST_c_f): Likewise.
25357 (RUN_TEST_f_f1): Likewise.
25358 (RUN_TEST_fF_f1): Likewise.
25359 (RUN_TEST_fI_f1): Likewise.
25360 (RUN_TEST_ffI_f1): Likewise.
25361 (RUN_TEST_c_c): Likewise.
25362 (RUN_TEST_cc_c): Likewise.
25363 (RUN_TEST_f_i): Likewise.
25364 (RUN_TEST_f_i_tg): Likewise.
25365 (RUN_TEST_ff_i_tg): Likewise.
25366 (RUN_TEST_f_b): Likewise.
25367 (RUN_TEST_f_b_tg): Likewise.
25368 (RUN_TEST_f_l): Likewise.
25369 (RUN_TEST_f_L): Likewise.
25370 (RUN_TEST_sincos): Likewise.
25371 * math/gen-libm-test.pl (new_test): Take new argument to indicate
25372 whether to show exceptions. Do not include ");\n" in return
25373 value.
25374 (special_functions): Output call to RUN_TEST_sincos instead of
25375 check_float calls. Update calls to new_test.
25376 (parse_args): Output call to single RUN_TEST_* macro instead of
25377 check_* calls and other assignments. Update calls to new_test.
25378
d8cd06db
JM
25379 [BZ #2546]
25380 [BZ #2560]
25381 [BZ #5159]
25382 [BZ #15426]
25383 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
25384 input to result for tgamma overflow.
25385 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
25386 (gamma_coeff): New variable.
25387 (NCOEFF): New macro.
25388 (gamma_positive): New function.
25389 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
25390 underflow here. Use gamma_positive instead of exp (lgamma) for
25391 other arguments.
25392 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
25393 (gamma_coeff): New variable.
25394 (NCOEFF): New macro.
25395 (gammaf_positive): New function.
25396 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
25397 underflow here. Use gamma_positive instead of exp (lgamma) for
25398 other arguments.
25399 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
25400 (gamma_coeff): New variable.
25401 (NCOEFF): New macro.
25402 (gammal_positive): New function.
25403 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
25404 underflow here. Use gamma_positive instead of exp (lgamma) for
25405 other arguments.
25406 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
25407 (gamma_coeff): New variable.
25408 (NCOEFF): New macro.
25409 (gammal_positive): New function.
25410 (__ieee754_gammal_r): Handle positive infinity, overflow and
25411 underflow here. Handle NaN the same as positive infinity. Remove
25412 check x < 0xffffffff for negative integers. Use gamma_positive
25413 instead of exp (lgamma) for other arguments.
25414 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
25415 (gamma_coeff): New variable.
25416 (NCOEFF): New macro.
25417 (gammal_positive): New function.
25418 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
25419 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
25420 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
25421 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
25422 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
25423 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
25424 * sysdeps/generic/math_private.h (__gamma_productf): New
25425 prototype.
25426 (__gamma_product): Likewise.
25427 (__gamma_productl): Likewise.
25428 * math/Makefile (libm-calls): Add gamma_product.
25429 * math/libm-test.inc (tgamma_test): Add more tests.
25430 * sysdeps/i386/fpu/libm-test-ulps: Update.
25431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25432
bb7cf681
OB
254332013-05-08 Ondřej Bílka <neleai@seznam.cz>
25434
25435 * benchtests/bench-skeleton.c (main): Preheat CPU.
25436
ba853947
AJ
254372013-05-07 Aurelien Jarno <aurelien@aurel32.net>
25438
25439 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
25440
8347c74c
RM
254412013-05-07 Roland McGrath <roland@hack.frob.com>
25442
25443 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
25444 and _dl_skip_args_internal.
25445
e8dd4791
CD
254462013-05-07 Carlos O'Donell <carlos@redhat.com>
25447
25448 * manual/message.texi (Message Translation): Talk about users.
25449 Message to key mapping impacts design.
25450
c7405830
RM
254512013-05-06 Roland McGrath <roland@hack.frob.com>
25452
a9173057
RM
25453 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
25454
976e2f03
RM
25455 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
25456
9723ffc5
RM
25457 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
25458 * sysdeps/wordsize-64/glob64.c: ... here.
25459
962e6658
RM
25460 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
25461 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
25462 New macros.
25463
ee586a6d
RM
25464 * debug/getlogin_r_chk.c: Moved to ...
25465 * login/getlogin_r_chk.c: ... here.
25466 * debug/Makefile (routines): Move getlogin_r_chk to ...
25467 * login/Makefile (routines): ... here.
25468 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
25469 * login/Versions (libc: GLIBC_2.4): ... here.
25470
355f9165
RM
25471 * io/poll.c (__poll): Renamed from poll.
25472 Add libc_hidden_def.
25473 (poll): Define as weak alias.
25474
bd9ffde6
RM
25475 * debug/ptsname_r_chk.c: Moved to ...
25476 * login/ptsname_r_chk.c: ... here.
25477 * debug/Makefile (routines): Move ptsname_r_chk to ...
25478 * login/Makefile (routines): ... here.
25479 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
25480 * login/Versions (libc: GLIBC_2.4): ... here.
25481
8fb16a04
RM
25482 * posix/getlogin.c: Moved to ...
25483 * login/getlogin.c: ... here.
25484 * posix/getlogin_r.c: Moved to ...
25485 * login/getlogin_r.c: ... here.
25486 * posix/getlogin_r.c: Moved to ...
25487 * login/getlogin_r.c: ... here.
25488 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
25489 * login/Makefile (routines): ... here.
25490 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
25491 * login/Versions (libc: GLIBC_2.0): ... here.
25492
b99b892f
RM
25493 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
25494 (setrlimit): Define as weak alias.
25495
c7405830
RM
25496 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
25497 Call __ names for open, ftruncate, and close.
25498 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
25499 (truncate): Define as weak alias.
25500
5bf96de5
JM
255012013-05-06 Joseph Myers <joseph@codesourcery.com>
25502
9ea3513c
JM
25503 * math/gen-libm-test.pl (parse_args): Initialize x before each
25504 test of frexp, modf and remquo.
25505
5bf96de5
JM
25506 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
25507 test signgam value.
25508
16e616a7
AZ
255092013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25510
25511 [BZ #15418]
25512 [BZ #15419]
25513 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
25514 internal tests.
25515 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25516
d5e82754
RM
255172013-05-06 Roland McGrath <roland@hack.frob.com>
25518
25519 * elf/dl-writev.h: New file.
25520 * elf/dl-misc.c: Include it.
25521 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
25522 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
25523
a7548d41
JM
255242013-05-04 Joseph Myers <joseph@codesourcery.com>
25525
b7dab1e4
JM
25526 * math/libm-test.inc (noXFails): Remove variable.
25527 (noXPasses): Likewise.
25528 (BUILD_COMPLEX_INT): Remove macro.
25529 (print_screen): Remove xfail argument.
25530 (print_screen_max_error): Likewise.
25531 (update_stats): Likewise.
25532 (print_max_error): Likewise. Update calls to other affected
25533 functions.
25534 (print_complex_max_error): Likewise.
25535 (test_single_exception): Update calls to print_screen.
25536 (test_single_errno): Likewise.
25537 (check_float_internal): Remove xfail argument. Update calls to
25538 other affected functions.
25539 (check_float): Likewise.
25540 (check_complex): Likewise.
25541 (check_int): Likewise.
25542 (check_long): Likewise.
25543 (check_bool): Likewise.
25544 (check_longlong): Likewise.
25545 (main): Don't print noXFails and noXPasses.
25546 * math/gen-libm-test.pl (top level): Don't mention expected
25547 failure handling in comment.
25548 (new_test): Don't handle expected failures.
25549 (parse_args): Don't mention expected failure handling in comment.
25550 (generate_testfile): Don't handle expected failures.
25551 (parse_ulps): Likewise.
25552 (print_ulps_file): Likewise.
25553 (get_failure): Remove function.
25554 (output_test): Don't handle expected failures.
25555 * make/README.libm-test: Don't mention expected failure handling.
25556
a7548d41
JM
25557 * math/libm-test.inc (plus_zero): Make const. Add initializer.
25558 (minus_zero): Likewise.
25559 (plus_infty): Likewise.
25560 (minus_infty): Likewise.
25561 (qnan_value): Likewise.
25562 (max_value): Likewise.
25563 (min_value): Likewise.
25564 (min_subnorm_value): Likewise.
25565 (initialize): Do not initialize those variables dynamically.
25566
60bfd54c
RM
255672013-05-03 Roland McGrath <roland@hack.frob.com>
25568
cc0e6ed8
RM
25569 * io/open.c (__open_2): Moved to ...
25570 * io/open_2.c: ... this new file.
25571 * io/open64.c (__open64_2): Moved to ...
25572 * io/open64_2.c: ... this new file.
25573 * io/openat.c (__openat_2): Moved to ...
25574 * io/openat_2.c: ... this new file.
25575 * io/openat64.c (__openat64_2): Moved to ...
25576 * io/openat64_2.c: ... this new file.
25577 * io/Makefile (routines): Add them.
25578 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
25579 * sysdeps/unix/sysv/linux/open_2.c: File removed.
25580 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
25581 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
25582 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
25583 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
25584 (__openat64): Add hidden_ver.
25585 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
25586 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
25587
60bfd54c
RM
25588 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
25589 Separately conditionalize setting of GLRO(dl_sysinfo) so
25590 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
25591 as well, but the actual setting is only under [NEED_DL_SYSINFO].
25592
83e7640f
AZ
255932013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25594
25595 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
25596 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
25597 definition.
25598 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
25599 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25600 (_libc_vdso_platform_setup): Add __vdso_time initialization.
25601 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
25602 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
25603
d5dc2af3
JM
256042013-05-03 Joseph Myers <joseph@codesourcery.com>
25605
c31a5b1e
JM
25606 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
25607 test signgam value.
25608
d5dc2af3
JM
25609 * math/libm-test.inc (hypot_test): Do not use
25610 IGNORE_ZERO_INF_SIGN.
25611
164fd39d
AJ
256122013-05-03 Andreas Jaeger <aj@suse.de>
25613
25614 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
25615 Linux 3.9.
25616 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
25617 (PF_MAX): Adjust for VSOCK change.
25618
8237f48c
AZ
256192013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25620
25621 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25622
9df02941
CD
256232013-05-02 Carlos O'Donell <carlos@redhat.com>
25624
25625 [BZ #15264]
25626 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
25627 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
25628 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
25629
d422395e
DM
256302013-05-02 David S. Miller <davem@davemloft.net>
25631
25632 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25633
a07c5731
OB
256342013-05-01 Ondřej Bílka <neleai@seznam.cz>
25635
25636 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
25637
1324e37f
RM
256382013-05-01 Roland McGrath <roland@hack.frob.com>
25639
25640 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
25641
0695940b
RS
256422013-05-01 Richard Smith <richard@metafoo.co.uk>
25643
bb5f27ad 25644 [BZ #14952]
0695940b
RS
25645 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
25646 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25647 Use __attribute__ ((__gnu_inline__)).
25648 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25649 Don't use __attribute__ ((__gnu_inline__)).
25650
10de07f5
JM
256512013-05-01 Joseph Myers <joseph@codesourcery.com>
25652
25653 [BZ #15423]
25654 * math/s_catan.c (__catan): Handle small real or imaginary part of
25655 input specially to avoid spurious underflow.
25656 * math/s_catanf.c (__catanf): Likewise.
25657 * math/s_catanh.c (__catanh): Likewise.
25658 * math/s_catanhf.c (__catanhf): Likewise.
25659 * math/s_catanhl.c (__catanhl): Likewise.
25660 * math/s_catanl.c (__catanl): Likewise.
25661 * math/libm-test.inc (catan_test): Add more tests.
25662 (catanh_test): Likewise.
25663 * sysdeps/i386/fpu/libm-test-ulps: Update.
25664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25665
cb4d5414
AZ
256662013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25667
25668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25669
caf84319
JM
256702013-04-30 Joseph Myers <joseph@codesourcery.com>
25671
25672 [BZ #15416]
25673 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
25674 accurately for denominator in atan2.
25675 * math/s_catanf.c (__catanf): Likewise.
25676 * math/s_catanh.c (__catanh): Likewise.
25677 * math/s_catanhf.c (__catanhf): Likewise.
25678 * math/s_catanhl.c (__catanhl): Likewise.
25679 * math/s_catanl.c (__catanl): Likewise.
25680 * math/libm-test.inc (catan_test): Add more tests.
25681 (catanh_test): Likewise.
25682 * sysdeps/i386/fpu/libm-test-ulps: Update.
25683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25684
d569c6ee
SP
256852013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25686
6dbe713d
SP
25687 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
25688
f0ee064b
SP
25689 * benchtests/Makefile (bench): Remove slow benchmarks.
25690 * benchtests/atan-inputs: Add slow benchmark inputs.
25691 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
25692 (BENCH_FUNC): Accept variant offset.
25693 (VARIANT): Define.
25694 * benchtests/bench-skeleton.c (main): Run benchmark for each
25695 variant.
25696 * benchtests/cos-inputs: Add slow benchmark inputs.
25697 * benchtests/exp-inputs: Likewise.
25698 * benchtests/pow-inputs: Likewise.
25699 * benchtests/sin-inputs: Likewise.
25700 * benchtests/slowatan-inputs: Remove.
25701 * benchtests/slowatan.c: Remove.
25702 * benchtests/slowcos-inputs: Remove.
25703 * benchtests/slowcos.c: Remove.
25704 * benchtests/slowexp-inputs: Remove.
25705 * benchtests/slowexp.c: Remove.
25706 * benchtests/slowpow-inputs: Remove.
25707 * benchtests/slowpow.c: Remove.
25708 * benchtests/slowsin-inputs: Remove.
25709 * benchtests/slowsin.c: Remove.
25710 * benchtests/slowtan-inputs: Remove.
25711 * benchtests/slowtan.c: Remove.
25712 * benchtests/tan-inputs: Add slow benchmark inputs.
25713 * scripts/bench.pl: Parse comments and directives.
25714
d569c6ee
SP
25715 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
25716 in CPPFLAGS.
25717 ($(objpfx)bench-%.c): Remove *-ITER.
25718 * benchtests/bench-modf.c: Remove definition of ITER.
25719 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
25720 (main): Loop for DURATION seconds instead of fixed number of
25721 iterations.
25722 * scripts/bench.pl: Don't expect iterations in parameters.
25723
a6a242fe
RM
257242013-04-29 Roland McGrath <roland@hack.frob.com>
25725
25726 * io/fchdir.c (__fchdir): Renamed from fchdir.
25727 (fchdir): Define as weak alias.
25728
f2da7793
JM
257292013-04-29 Joseph Myers <joseph@codesourcery.com>
25730
25731 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
25732 (ERRNO_EDOM): Likewise.
25733 (ERRNO_ERANGE): Likewise.
25734 (noErrnoTests): New variable.
25735 (init_max_error): Set errno to 0.
25736 (test_single_errno): New function.
25737 (test_errno): Likewise.
25738 (check_float_internal): Call test_errno. Set errno to 0.
25739 (check_complex): Refer to errno tests in comment.
25740 (check_int): Call test_errno. Set errno to 0.
25741 (check_long): Likewise.
25742 (check_bool): Likewise.
25743 (check_longlong): Likewise.
25744 (cos_test): Use ERRNO_* flags for errno tests instead of
25745 check_int.
25746 (expm1_test): Likewise.
25747 (fmod_test): Likewise.
25748 (ilogb_test): Likewise.
25749 (lgamma_test): Likewise.
25750 (pow_test): Likewise.
25751 (remainder_test): Likewise.
25752 (sin_test): Likewise.
25753 (tan_test): Likewise.
25754 (yn_test): Likewise.
25755 (initialize): Set errno to 0.
25756 (main): Print number of errno tests.
25757 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
25758
b1a36ceb
AJ
257592013-04-29 Andreas Jaeger <aj@suse.de>
25760
c3ed8088
AJ
25761 [BZ #15084]
25762 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
25763 and RES_USEVC.
25764
f1a24198
AJ
25765 [BZ #15085]
25766 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
25767 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
25768 unimplemented.
25769
9ce3b2cb
AJ
25770 [BZ #15380]
25771 * stdlib/random.c (__initstate): Return NULL if
25772 __initstate fails.
25773
f1a24198 25774 [BZ #15086]
b1a36ceb
AJ
25775 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
25776 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
25777 RES_SNGLKUPREOP.
25778
7e7b6f36
AZ
257792013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25780
25781 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25782
4d14f449
JM
257832013-04-29 Joseph Myers <joseph@codesourcery.com>
25784
25785 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
25786 of individual tests.
25787 (casin_test): Likewise.
25788 (casinh_test): Likewise.
25789
5b4217d7
JM
257902013-04-27 Joseph Myers <joseph@codesourcery.com>
25791
25792 [BZ #15409]
25793 * math/s_catan.c (__catan): Handle arguments with large real or
25794 imaginary part separately without squaring.
25795 * math/s_catanf.c (__catanf): Likewise.
25796 * math/s_catanh.c (__catanh): Likewise.
25797 * math/s_catanhf.c (__catanhf): Likewise.
25798 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25799 and redefine.
25800 (__catanhl): Handle arguments with large real or imaginary part
25801 separately without squaring.
25802 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25803 and redefine.
25804 (__catanl): Handle arguments with large real or imaginary part
25805 separately without squaring.
25806 * math/libm-test.inc (catan_test): Add more tests.
25807 (catanh_test): Likewise.
25808 * sysdeps/i386/fpu/libm-test-ulps: Update.
25809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25810
4220c3ef
AJ
258112013-04-27 Andreas Jaeger <aj@suse.de>
25812
25813 [BZ #15007]
25814 * stdlib/stdlib.h: Update guards for qecvt.
25815 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
25816 <stdlib.h>.
25817
4721b2d1
AM
258182013-04-27 Allan McRae <allan@archlinux.org>
25819
25820 * sysdeps/i386/fpu/libm-test-ulps: Update.
25821
f0302940
JM
258222013-04-26 Joseph Myers <joseph@codesourcery.com>
25823
9457fd95
JM
25824 [BZ #15406]
25825 * math/s_catan.c: Include <float.h>.
25826 (__catan): Ensure underflow exception occurs for underflowed
25827 result.
25828 * math/s_catanf.c: Include <float.h>.
25829 (__catanf): Ensure underflow exception occurs for underflowed
25830 result.
25831 * math/s_catanh.c: Include <float.h>.
25832 (__catanh): Ensure underflow exception occurs for underflowed
25833 result.
25834 * math/s_catanhf.c: Include <float.h>.
25835 (__catanhf): Ensure underflow exception occurs for underflowed
25836 result.
25837 * math/s_catanhl.c: Include <float.h>.
25838 (__catanhl): Ensure underflow exception occurs for underflowed
25839 result.
25840 * math/s_catanl.c: Include <float.h>.
25841 (__catanl): Ensure underflow exception occurs for underflowed
25842 result.
25843 * math/libm-test.inc (catan_test): Add more tests.
25844 (catanh_test): Likewise.
25845
f0302940
JM
25846 [BZ #15405]
25847 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
25848 underflowed result.
25849 * math/s_ccoshf.c (__ccoshf): Likewise.
25850 * math/s_ccoshl.c (__ccoshl): Likewise.
25851 * math/s_csin.c (__csin): Likewise.
25852 * math/s_csinf.c (__csinf): Likewise.
25853 * math/s_csinh.c (__csinh): Likewise.
25854 * math/s_csinhf.c (__csinhf): Likewise.
25855 * math/s_csinhl.c (__csinhl): Likewise.
25856 * math/s_csinl.c (__csinl): Likewise.
25857 * math/libm-test.inc (ccos_test): Add more tests.
25858 (ccosh_test): Likewise.
25859 (csin_test): Likewise.
25860 (csinh_test): Likewise.
25861
aa630f59
AZ
258622013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25863
25864 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
25865 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
25866 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
25867 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
25868 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
25869 powerpc/power5+/fpu folders.
25870 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
25871
25872
1b835983
MT
258732013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25874
25875 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25876
73709b26
JM
258772013-04-25 Joseph Myers <joseph@codesourcery.com>
25878
25879 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
25880 additions to variable.
25881 [$(config-machine) = x86_64] (modules-names): Likewise.
25882 ($(objpfx)tst-audit3): Remove dependency.
25883 ($(objpfx)tst-audit3.out): Likewise.
25884 ($(objpfx)tst-audit4): Likewise.
25885 ($(objpfx)tst-audit4.out): Likewise.
25886 ($(objpfx)tst-audit5): Likewise.
25887 ($(objpfx)tst-audit5.out): Likewise.
25888 ($(objpfx)tst-audit6): Likewise.
25889 ($(objpfx)tst-audit6.out): Likewise.
25890 ($(objpfx)tst-audit7): Likewise.
25891 ($(objpfx)tst-audit7.out): Likewise.
25892 (tst-audit3-ENV): Remove variable.
25893 (tst-audit4-ENV): Likewise.
25894 (tst-audit5-ENV): Likewise.
25895 (tst-audit6-ENV): Likewise.
25896 (tst-audit7-ENV): Likewise.
25897 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
25898 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
25899 addition to variable.
25900 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
25901 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
25902 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
25903 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
25904 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
25905 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
25906 tst-audit3, tst-audit4 and tst-audit5.
25907 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
25908 tst-audit6 and tst-audit7.
25909 [$(subdir) = elf] (modules-names): Add audit modules for those
25910 tests.
25911 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
25912 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
25913 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
25914 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
25915 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
25916 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
25917 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
25918 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
25919 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
25920 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
25921 [$(subdir) = elf] (tst-audit3-ENV): New variable.
25922 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
25923 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
25924 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
25925 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
25926 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
25927 Likewise.
25928 [$(subdir) = elf && $(config-cflags-avx) = yes]
25929 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
25930 [$(subdir) = elf && $(config-cflags-avx) = yes]
25931 (CFLAGS-tst-auditmod4a.c): Likewise.
25932 [$(subdir) = elf && $(config-cflags-avx) = yes]
25933 (CFLAGS-tst-auditmod4b.c): Likewise.
25934 [$(subdir) = elf && $(config-cflags-avx) = yes]
25935 (CFLAGS-tst-auditmod6b.c): Likewise.
25936 [$(subdir) = elf && $(config-cflags-avx) = yes]
25937 (CFLAGS-tst-auditmod6c.c): Likewise.
25938 [$(subdir) = elf && $(config-cflags-avx) = yes]
25939 (CFLAGS-tst-auditmod7b.c): Likewise.
25940 * elf/tst-audit3.c: Move to ...
25941 * sysdeps/x86_64/tst-audit3.c: ... here.
25942 * elf/tst-audit4.c: Move to ...
25943 * sysdeps/x86_64/tst-audit4.c: ... here.
25944 * elf/tst-audit5.c: Move to ...
25945 * sysdeps/x86_64/tst-audit5.c: ... here.
25946 * elf/tst-audit6.c: Move to ...
25947 * sysdeps/x86_64/tst-audit6.c: ... here.
25948 * elf/tst-audit7.c: Move to ...
25949 * sysdeps/x86_64/tst-audit7.c: ... here.
25950 * elf/tst-auditmod3a.c: Move to ...
25951 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
25952 * elf/tst-auditmod3b.c: Move to ...
25953 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
25954 * elf/tst-auditmod4a.c: Move to ...
25955 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
25956 * elf/tst-auditmod4b.c: Move to ...
25957 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
25958 * elf/tst-auditmod5a.c: Move to ...
25959 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
25960 * elf/tst-auditmod5b.c: Move to ...
25961 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
25962 * elf/tst-auditmod6a.c: Move to ...
25963 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
25964 * elf/tst-auditmod6b.c: Move to ...
25965 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
25966 * elf/tst-auditmod6c.c: Move to ...
25967 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
25968 * elf/tst-auditmod7a.c: Move to ...
25969 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
25970 * elf/tst-auditmod7b.c: Move to ...
25971 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
25972
1ef74943
PP
259732013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
25974
25975 [BZ #15366]
25976 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
25977 define unconditionally.
25978 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
25979 define unconditionally.
25980 (INT8_C, INT16_C, etc.): Likewise.
25981
93fd48c5
MR
259822013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
25983
ae9552cf
MR
25984 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
25985 __ehdr_start with hidden visibility.
25986
93fd48c5
MR
25987 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
25988
418601aa
CD
259892013-04-24 Carlos O'Donell <carlos@redhat.com>
25990
25991 * math/libm-test.inc (cos_test): Use accurate hex constants.
25992 (sincost_test): Likewise.
25993
2f38fbfe
JM
259942013-04-24 Joseph Myers <joseph@codesourcery.com>
25995
5e221800
JM
25996 * math/libm-test.inc (catan_test): Add more tests.
25997 (catanh_test): Likewise.
25998
77f143fd
JM
25999 * math/s_catanf.c (__catanf): Use suffixed floating-point
26000 constants.
26001 * math/s_catanhf.c (__catanhf): Likewise.
26002 * math/s_catanhl.c (__catanhl): Likewise.
26003 * math/s_catanl.c (__catanl): Likewise.
26004
2f38fbfe
JM
26005 [BZ #15394]
26006 * math/s_catan.c (__catan): Calculate imaginary part of result
26007 with log1p not log unless computing log of number close to 0.
26008 * math/s_catanf.c (__catanf): Likewise.
26009 * math/s_catanl.c (__catanl): Likewise.
26010 * math/s_catanh.c (__catanh): Calculate real part of result with
26011 log1p not log unless computing log of number close to 0.
26012 * math/s_catanhf.c (__catanhf): Likewise.
26013 * math/s_catanhl.c (__catanhl): Likewise.
26014 * math/libm-test.inc (catan_test): Add more tests.
26015 (catanh_test): Likewise.
26016 * sysdeps/i386/fpu/libm-test-ulps: Update.
26017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26018
45d69176
SP
260192013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26020
26021 * benchtests/Makefile: Mention files in which fast and slow
26022 paths of math functions are implemented.
26023
87f51853
RM
260242013-04-23 Roland McGrath <roland@hack.frob.com>
26025
26026 * sysdeps/posix/timespec_get.c: New file.
26027
3c026539
AZ
260282013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26029
26030 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
26031 POWER.
26032 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
26033 for POWER.
26034 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
26035 powerpc/power5/fpu folders.
26036 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
26037 * benchtests/Makefile: Add modf testcase.
26038 * benchtests/bench-modf.c: New file: Benchmark test for mo
26039
ff491d14
SP
260402013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
26041
26042 [BZ #14888]
26043 * time/Makefile (tests): Add tst-strptime-whitespace.
26044 * time/strptime_l.c (get_number): Use ISSPACE.
26045 (__strptime_internal): Likewise.
26046 * time/tst-strptime-whitespace.c: New test case.
26047
7ed3f4e8
AS
260482013-04-23 Andreas Schwab <schwab@linux-m68k.org>
26049
26050 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
26051 member.
26052 (_nss_files_init): Set it here.
26053
5c95f7b6
HC
260542013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
26055
26056 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
26057 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
26058 unsigned.
26059
d34c9158
JBG
260602013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
26061
26062 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
26063
2169712d
SP
260642013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26065
26066 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
26067 size just once.
26068
29c5de99
DM
260692013-04-21 David S. Miller <davem@davemloft.net>
26070
26071 * po/ru.po: Update Russion translation from translation project.
26072
ccdad15d
AC
260732013-04-17 Adam Conrad <adconrad@0c3.net>
26074
26075 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
26076 and setfsgid.
26077
0f122b8d
CD
260782013-04-17 Carlos O'Donell <carlos@redhat.com>
26079
5c5b07da 26080 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 26081 * configure: Regenerate.
5c5b07da 26082 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
26083 Add example to error message.
26084 * sysdeps/i386/configure: Regenerate.
26085
037714dd
SP
260862013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26087
26088 * benchtests/Makefile (bench): Add cos, tan, slowcos and
26089 slowtan.
26090 * benchtests/cos-inputs: New file.
26091 * benchtests/slowcos-inputs: New file.
26092 * benchtests/slowcos.c: New file.
26093 * benchtests/slowtan-inputs: New file.
26094 * benchtests/slowtan.c: New file.
26095 * benchtests/tan-inputs: New file.
26096
e913141d
RM
260972013-04-16 Roland McGrath <roland@hack.frob.com>
26098
26099 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
26100 considered kosher.
26101
a2964074
SP
261022013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26103
4856bcd2
SP
26104 * benchtests/Makefile: Include cppflags-iterator.mk to add
26105 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
26106
a2964074
SP
26107 * Makefile.in (bench-clean): New target.
26108 * benchtests/Makefile (bench-clean): Likewise.
26109
9fbf9aca
DH
261102013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
26111
26112 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
26113
207d1e2a
TS
261142013-04-15 Thomas Schwinge <thomas@codesourcery.com>
26115
26116 * stdio-common/tstdiomisc.c: Fix coding-style violation.
26117
306dfba9
AS
261182013-04-15 Andreas Schwab <schwab@suse.de>
26119
26120 * nscd/grpcache.c (cache_addgr): Properly check for short write.
26121 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26122 * nscd/pwdcache.c (cache_addpw): Likewise.
26123 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
26124 more than recsize.
26125
206a6699
SP
261262013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26127
26128 * benchtests/Makefile (bench): Write all output to
26129 bench-out.tmp together.
26130
0582f6b3
AS
261312013-04-15 Andreas Schwab <schwab@suse.de>
26132
26133 * nscd/nscd.c (main): Don't fork again after closing files.
26134
acb4325f
SP
261352013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26136
5cb26d0a
SP
26137 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
26138
acb4325f
SP
26139 * benchtests/Rules (bench-deps): Collect dependencies into a
26140 single variable. Add Makefile to dependencies.
26141 ($(objpfx)bench-%.c): Depend on bench-deps.
26142
47792506
RM
261432013-04-12 Roland McGrath <roland@hack.frob.com>
26144 Xavier Roche <roche+kml2@exalead.com>
26145
26146 [BZ #15361]
26147 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
26148 just that it's a file descriptor.
26149 * manual/llio.texi (Synchronizing AIO Operations): Update description
26150 for EBADF error from aio_fsync.
26151
8fc1bee5
SP
261522013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26153
26154 * Rules (bench): Move target definition...
26155 * benchtests/Makefile: ... here.
26156
aba5e333
CD
261572013-04-11 Carlos O'Donell <carlos@redhat.com>
26158
26159 * math/libm-test.inc (cos_test): Fix PI/2 test.
26160 (sincos_test): Likewise.
26161 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26162 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
26163
273cdee8
AS
261642013-04-11 Andreas Schwab <schwab@suse.de>
26165
6ecec3b6
AS
26166 [BZ #13988]
26167 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
26168 accept exponent character only when digits were seen.
26169 * stdio-common/Makefile (tests): Add bug26.
26170 * stdio-common/bug26.c: New file.
26171
273cdee8
AS
26172 [BZ #14293]
26173 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
26174 non-freeable.
26175
8da491f5
SP
261762013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26177
01dc6df9
SP
26178 * Makeconfig (rtld-prefix): Define built linker prefix.
26179 * Rules (run-bench): Use it.
26180 * math/Makefile (run-regen-ulps): Likewise.
26181
8da491f5
SP
26182 * Rules (bench): Remove eval.
26183
abe7f530
SP
261842013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26185 Roland McGrath <roland@hack.frob.com>
26186 Ondrej Bilka <neleai@seznam.cz>
26187
26188 [BZ #15346]
26189 * time/getdate.c: Include ctype.h and alloca.h.
26190 (__getdate_r): Trim leading and trailing spaces of input.
26191 * time/tst-getdate.c (tests): Add tests with leading and
26192 trailing spaces.
26193
61c23e62
RM
261942013-04-08 Roland McGrath <roland@hack.frob.com>
26195
26196 [BZ #14280]
26197 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
26198 when computing value.
26199
7208a313
CD
262002013-04-06 Carlos O'Donell <carlos@redhat.com>
26201
085b2d41
CD
26202 * math/README.libm-test (How can I generate "libm-test-ulps"?):
26203 Use testrun.sh to run libm tests.
26204
7208a313
CD
26205 [BZ #15309]
26206 * elf/dl-open.c (dl_open_worker): memset all of seen array.
26207
872c0acd
MM
262082013-04-06 Marko Myllynen <myllynen@redhat.com>
26209
26210 [BZ #15264]
26211 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
26212
26510bdd
CD
262132013-04-06 Carlos O'Donell <carlos@redhat.com>
26214
26215 * Makefile.in (regen-ulps): New target.
26216 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
26217 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
26218 [ifneq (no,$(PERL)] (regen-ulps): New target.
26219 [ifeq (no,$(PERL)] (regen-ulps): New target.
26220 * math/libm-test.inc (ulps_file_name): Define.
26221 (output_dir): New variable.
26222 (options): Add "output-dir" option.
26223 (parse_opt): Handle 'o' case.
26224 (main): If output_dir is non-NULL use it as a prefix
26225 otherwise use "".
26226 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
26227
a01f19c8
CD
262282013-04-06 Carlos O'Donell <carlos@redhat.com>
26229
26230 [BZ #10060, #10062]
26231 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
26232 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
26233 fail configure if __sync_val_compare_and_swap is not inlined.
26234 * sysdeps/i386/configure: Regenerate.
26235 * configure.in: Build for i686 when configured for i386.
26236 * configure: Regenerate.
26237 * README: Remove i386 reference.
26238
b7a329a5
CD
262392013-04-06 Carlos O'Donell <carlos@redhat.com>
26240
26241 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
26242 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26243
bf0f50df
TS
262442013-04-05 Thomas Schwinge <thomas@codesourcery.com>
26245
ee091edf
TS
26246 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
26247 (lmsnanval): New variables.
26248 (F): Add conversion tests.
26249 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
26250 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
26251
a8b792d6
TS
26252 * stdio-common/tstdiomisc.c (F): Properly collect individual
26253 tests' results.
26254
a1cbf437
TS
26255 [BZ #14686, #15336]
26256 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
26257 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26258 Instead, use input NaN values or generate a qNaN by arithmetic
26259 operation. Also fix bugs to comply with the standard.
26260 * math/libm-test.inc (remainder_test): Add more tests.
26261
8b43a0c9
TS
26262 [BZ #15335, #15342]
26263 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
26264 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
26265 input NaN values or generate a qNaN by arithmetic operation.
26266
d91da4ce
TS
26267 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
26268 unreachable code.
26269
bf0f50df
TS
26270 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
26271 definitions.
26272
05e166c8
JM
262732013-04-03 Joseph Myers <joseph@codesourcery.com>
26274
26275 [BZ #14478]
26276 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
26277 underflowed result.
26278 * math/s_cexpf.c (__cexpf): Likewise.
26279 * math/s_cexpl.c (__cexpl): Likewise.
26280 * math/libm-test.inc (cexp_test): Add more tests.
26281
1cef1b19
AS
262822013-04-03 Andreas Schwab <schwab@suse.de>
26283
26284 [BZ #15330]
26285 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
26286 order arrays from heap if bigger than alloca cutoff.
26287
74d87055
TS
262882013-04-03 Thomas Schwinge <thomas@codesourcery.com>
26289
26290 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
26291 (SNAN_TESTS_double): Refer to GCC PR56831.
26292 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
26293 GCC PR56828.
26294
d755bba4
SP
262952013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26296
90d5d5bb
SP
26297 * Rules (bench): Move bench.out after the run is complete.
26298
73e0cd5d
SP
26299 * Rules (bench): Echo currently running benchmark.
26300
64aabd4b
SP
26301 * benchtests/Makefile (bench): Add atan and slowatan.
26302 * benchtests/atan-inputs: New file.
26303 * benchtests/slowatan-inputs: New file.
26304 * benchtests/slowatan.c: New file.
26305
c871eccd
SP
26306 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
26307 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
26308 its value.
26309
d755bba4
SP
26310 [BZ #15305]
26311 * sysdeps/unix/sysv/linux/kernel-features.h
26312 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
26313 __ASSUME_XFS_RESTRICTED_CHOWN.
26314 * sysdeps/unix/sysv/linux/pathconf.c
26315 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
26316 Save and restore errno.
26317
52ce4860
JM
263182013-04-02 Joseph Myers <joseph@codesourcery.com>
26319
26320 [BZ #15327]
26321 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
26322 arguments using __kernel_casinh.
26323 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
26324 arguments using __kernel_casinhf.
26325 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
26326 arguments using __kernel_casinhl.
26327 * math/libm-test.inc (cacosh_test): Add more tests.
26328 * sysdeps/i386/fpu/libm-test-ulps: Update.
26329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26330
81f311c2
SP
263312013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26332
e7906a47
SP
26333 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
26334 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
26335
92e3664b
SP
26336 * bench/Makefile (bench): Add sin and slowsin.
26337 * benchtests/sin-inputs: New file.
26338 * benchtests/slowsin-inputs: New file.
26339 * benchtests/slowsin.c: New file.
26340
81f311c2
SP
26341 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
26342 (bench): Add slowexp and slowpow.
26343 (exp-ITER): Increase iterations.
26344 (pow-ITER): Likewise.
26345 * benchtests/exp-inputs: Change input.
26346 * benchtests/pow-inputs: Likewise.
26347 * benchtests/slowexp-inputs: New file.
26348 * benchtests/slowexp.c: New file.
26349 * benchtests/slowpow-inputs: New file.
26350 * benchtests/slowpow.c: New file.
26351
ab0f1aa9
AZ
263522013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26353
26354 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
26355 instructions.
26356 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26357 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
26358 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26359 * benchtests/Makefile: Add rint benchtest.
26360 * benchtests/rint-inputs: Input for rint benchtest.
26361
57267616
TS
263622013-04-02 Thomas Schwinge <thomas@codesourcery.com>
26363
26364 * Versions.def (libm): Add GLIBC_2.18.
26365 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
26366 hidden libm prototypes.
26367 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
26368 * math/Makefile (libm-calls): Add s_issignaling.
26369 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
26370 __issignalingf, __issignalingl. Adjust all libm.abilist files.
26371 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
26372 declaration.
26373 * math/math.h [__USE_GNU] (issignaling): New macro.
26374 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
26375 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
26376 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
26377 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
26378 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
26379 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
26380 * manual/arith.texi (issignaling): New section.
26381 * manual/libm-err-tab.pl (@all_functions): Update comment.
26382 * math/gen-libm-test.pl (parse_args): Apply special handling for
26383 issignaling.
26384 * math/libm-test.inc (print_float, issignaling_test): New
26385 functions.
26386 (check_float_internal): Add issignaling checks.
26387 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
26388 default definition.
26389 * sysdeps/powerpc/math-tests.h: New file.
26390 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
26391 tests.
26392 * math/test-snan.c (TEST_FUNC): Likewise.
26393
6142896d
DM
263942013-03-30 David S. Miller <davem@davemloft.net>
26395
26396 * po/de.po: Update from translation team.
26397
ccc8cadf
JM
263982013-03-30 Joseph Myers <joseph@codesourcery.com>
26399
26400 [BZ #10357]
26401 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26402 imaginary part less than 1.0 and real part less than 0.5
26403 specially.
26404 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26405 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26406 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
26407 (cacos_test): Add more tests.
26408 (casin_test): Likewise.
26409 (casinh_test): Likewise.
26410 * sysdeps/i386/fpu/libm-test-ulps: Update.
26411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26412
0f6a8d4b
SP
264132013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26414
0d1029de
SP
26415 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
26416 ONE with its value.
26417
c2d94018
SP
26418 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
26419 (__pow_mp): Replace ONE and MONE with their values.
26420 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26421 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
26422 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26423 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
26424 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26425 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26426
27ec37f1
SP
26427 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
26428
a64d7e0e
SP
26429 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
26430 (__pow_mp): Replace ZERO and MZERO with their values.
26431 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26432 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26433 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26434 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26435 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26436 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
26437 (__sqr): Likewise.
26438
d26dd3eb
SP
26439 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
26440
0f6a8d4b
SP
26441 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
26442
e57b0c61
RM
264432013-03-28 Roland McGrath <roland@hack.frob.com>
26444
26445 * include/stdlib.h [!SHARED] (__call_tls_dtors):
26446 Declare with __attribute__ ((weak)).
26447 * stdlib/exit.c (__libc_atexit) [!SHARED]:
26448 Call __call_tls_dtors only if it's not NULL.
26449
356b3480
RM
264502013-03-28 Roland McGrath <roland@hack.frob.com>
26451
288f7d79
RM
26452 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
26453 didn't do it already, then set _dl_phdr and _dl_phnum based on the
26454 magic __ehdr_start linker symbol if it's defined.
26455 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
26456 them up here if it was already done.
26457
dc0a0263
RM
26458 * elf/dl-support.c (_dl_phdr): Make pointer to const.
26459 (_dl_aux_init): Use const in cast when setting it.
26460 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
26461 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
26462 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
26463
3d3436ae
RM
26464 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
26465 Declare them here.
26466 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
26467 * csu/libc-tls.c: Nor here.
26468 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
26469
356b3480
RM
26470 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
26471 (__libc_message): Never call vsyslog.
26472
b0f1246a
AM
264732013-03-28 Alan Modra <amodra@gmail.com>
26474
26475 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
26476 Define as empty.
26477 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
26478 Likewise.
26479
fbbe2b9a
AZ
264802013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26481
26482 [BZ #15214]
26483 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
26484 underflow.
26485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26486
1728ab37
SP
264872013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26488
7a86be6e
SP
26489 [BZ #15304]
26490 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26491 Don't add gid passed as argument.
26492
1728ab37
SP
26493 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
26494
3a7182a1
JM
264952013-03-27 Joseph Myers <joseph@codesourcery.com>
26496
26497 [BZ #15307]
26498 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26499 imaginary part between 1.0 and 1.5 and real part less than 0.5
26500 specially.
26501 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26502 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26503 * math/libm-test.inc (cacos_test): Add more tests.
26504 (casin_test): Likewise.
26505 (casinh_test): Likewise.
26506 * sysdeps/i386/fpu/libm-test-ulps: Update.
26507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26508
6f2e90e7
SP
265092013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26510
5739f705
SP
26511 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
26512 constants.
26513 (norm): Likewise.
26514 (denorm): Likewise.
26515 (__dbl_mp): Likewise.
26516 (add_magnitudes): Likewise.
26517 (sub_magnitudes): Likewise.
26518 (__add): Likewise.
26519 (__sub): Likewise.
26520 (__mul): Likewise.
26521 (__sqr): Likewise.
26522 (__inv): Likewise.
26523 (__dvd): Likewise.
26524
e375e83d
SP
26525 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
26526 commented code.
26527 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
26528 (__dubcos): Likewise.
26529 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
26530 (__ieee754_acos): Likewise.
26531 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26532 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
26533 (__exp1): Likewise.
26534 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26535 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26536 (log1): Likewise.
26537 (my_log2): Likewise.
26538 (checkint): Likewise.
26539 * sysdeps/ieee754/dbl-64/e_remainder.c
26540 (__ieee754_remainder): Likewise.
26541 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26542 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
26543 (bsloww): Likewise.
26544 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26545
6f2e90e7
SP
26546 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26547 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
26548 MANTISSA_STORE_T to store computations on mantissa. Use
26549 macros for rounding and division.
26550 (denorm): Likewise.
26551 (__dbl_mp): Likewise.
26552 (add_magnitudes): Likewise.
26553 (sub_magnitudes): Likewise.
26554 (__mul): Likewise.
26555 (__sqr): Likewise.
26556 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
26557 powers of two in terms of TWOPOW macro.
26558 (mp_no): Make type of mantissa as MANTISSA_T.
26559 [!RADIXI]: Define RADIXI.
26560 [!TWO52]: Define TWO52.
26561 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26562
fce14d4e
AZ
265632013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26564
26565 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
26566 llroundl symbol when building for PPC32.
26567
9ad027fb
MW
265682013-03-24 Mark H Weaver <mhw@netris.org>
26569
26570 * manual/arith.texi (Normalization Functions): Fix prototypes for
26571 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
26572
e42a38dd
AZ
265732013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26574
26575 [BZ #13889]
26576 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
26577 high value to check if expl overflow.
26578 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
26579 to check for underflow and overflow.
26580 * math/libm-test.inc: Add exp test.
26581
2e0fb521
DL
265822013-03-21 Dmitry V. Levin <ldv@altlinux.org>
26583
26584 [BZ #11120]
26585 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
26586 with NOT_IN_libc.
26587
b5784d95
AZ
265882013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26589
26590 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
26591 symbol.
26592
5aa4a1a1
TS
265932013-03-21 Thomas Schwinge <thomas@codesourcery.com>
26594
bdef0be7
TS
26595 * math/gen-libm-test.pl (parse_args, special_functions): Properly
26596 wrap blocks consisting of several statements.
26597
5aa4a1a1
TS
26598 * sysdeps/generic/math-tests.h: New file.
26599 * sysdeps/i386/fpu/math-tests.h: Likewise.
26600 * math/test-snan.c: Include it.
26601 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
26602
98c48fe5
JM
266032013-03-21 Joseph Myers <joseph@codesourcery.com>
26604
26605 [BZ #15285]
26606 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
26607 (__ieee754_j0l): Do not improve calculations using cos of twice
26608 input for inputs above LDBL_MAX / 2.0L.
26609 (__ieee754_y0l): Likewise.
26610 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
26611 (__ieee754_j1l): Do not improve calculations using cos of twice
26612 input for inputs above LDBL_MAX / 2.0L.
26613 (__ieee754_y1l): Likewise.
26614 * math/libm-test.inc (j0_test): Add another test.
26615 (j1_test): Likewise.
26616 (y0_test): Likewise.
26617 (y1_test): Likewise.
26618 * sysdeps/i386/fpu/libm-test-ulps: Update.
26619
3775a8bc
SP
266202013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26621
26622 * Rules ($(objpfx)bench-%.c): Include code from a C source
26623 file.
26624
0a1b2ae6
JM
266252013-03-21 Joseph Myers <joseph@codesourcery.com>
26626
26627 [BZ #15287]
26628 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26629 imaginary part 1.0 and real part less than 0.5 specially.
26630 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26631 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26632 * math/libm-test.inc (cacos_test): Add more tests.
26633 (casin_test): Likewise.
26634 (casinh_test): Likewise.
26635 * sysdeps/i386/fpu/libm-test-ulps: Update.
26636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26637
b33d4ce4
SP
266382013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26639
26640 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
26641 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
26642
bef0b507
JM
266432013-03-20 Joseph Myers <joseph@codesourcery.com>
26644
26645 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
26646 * config.make.in (config-cflags-sse4): Remove variable.
26647 (config-cflags-avx): Likewise.
26648 (config-cflags-sse2avx): Likewise.
26649 (config-cflags-novzeroupper): Likewise.
26650 (config-asflags-i686): Likewise.
26651 (have-mfma4): Likewise.
26652 (have-as-vis3): Likewise.
26653 (MIG): Likewise.
26654 * configure.in (MIG): Do not AC_SUBST.
26655 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
26656 (libc_cv_cc_sse4): Do not AC_SUBST.
26657 (libc_cv_cc_avx): Likewise.
26658 (libc_cv_cc_sse2avx): Likewise.
26659 (libc_cv_cc_novzeroupper): Likewise.
26660 (libc_cv_cc_fma4): Likewise.
26661 (libc_cv_as_i686): Likewise.
26662 (libc_cv_sparc_as_vis3): Likewise.
26663 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
26664 LIBC_CONFIG_VAR.
26665 (config-asflags-i686): Likewise.
26666 (config-cflags-avx): Likewise.
26667 (config-cflags-sse2avx): Likewise.
26668 (have-mfma4): Likewise.
26669 (config-cflags-novzeroupper): Likewise.
26670 * sysdeps/mach/configure.in (MIG): Likewise.
26671 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
26672 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
26673 LIBC_CONFIG_VAR.
26674 (config-cflags-avx): Likewise.
26675 (config-cflags-sse2avx): Likewise.
26676 (have-mfma4): Likewise.
26677 (config-cflags-novzeroupper): Likewise.
26678 * configure: Regenerated.
26679 * sysdeps/i386/configure: Likewise.
26680 * sysdeps/mach/configure: Likewise.
26681 * sysdeps/sparc/configure: Likewise.
26682 * sysdeps/x86_64/configure: Likewise.
26683
912cc4b3
RM
266842013-03-20 Roland McGrath <roland@hack.frob.com>
26685
26686 [BZ #14812]
26687 * locale/programs/localedef.c (options): Put N_ translation marker
26688 on argument names, not just descriptions.
26689
04eed2b0
MS
266902013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26691
26692 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
26693
a065ceff
OB
266942013-03-20 Ondřej Bílka <neleai@seznam.cz>
26695
9bb2a810 26696 [BZ #14176]
a065ceff
OB
26697 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
26698
a600e5ce
RM
266992013-03-19 Roland McGrath <roland@hack.frob.com>
26700
26701 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
26702 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
26703 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
26704 [!BEFORE_ABORT] (before_abort): New function.
26705 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
26706 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
26707 (writev_for_fatal): New function.
26708 (WRITEV_FOR_FATAL): New macro; call that.
26709 (backtrace_and_maps): New function.
26710 (BEFORE_ABORT): New macro; call that.
26711 (struct str_list): Type removed.
26712 (__libc_message, __libc_fatal): Functions removed.
26713 Include <sysdeps/posix/libc_fatal.c> instead.
26714
6b18bea6
JM
267152013-03-19 Joseph Myers <joseph@codesourcery.com>
26716
26717 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
26718 constants.
26719 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
26720 double constants.
26721
aaa8cb4b
AS
267222013-03-19 Andreas Schwab <schwab@suse.de>
26723
44673770
AS
26724 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
26725 * sysdeps/gnu/configure: Regenerate.
26726
aaa8cb4b
AS
26727 * configure.in: Substitute libc_cv_rtlddir.
26728 * configure: Regenerate.
26729 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
26730 * Makeconfig (rtlddir, inst_rtlddir): New variables.
26731 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
26732 * elf/Makefile (install-others, CFLAGS-interp.c)
26733 (ldso_install, common-ldd-rewrite): Likewise.
26734 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
26735 $(inst_slibdir)/$(rtld-installed-name).
26736 * scripts/rellns-sh: Add -p option.
26737 * Makerules (make-shlib-link): Use rellns-sh to get relative name
26738 for source.
26739
d3cfc668
SP
267402013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26741
26742 * manual/nptl.texi: Renamed to ...
26743 * manual/threads.texi: ... this.
26744 * manual/Makefile (chapters): Update.
26745
0e2b9cdd
RM
267462013-03-18 Roland McGrath <roland@hack.frob.com>
26747
26748 [BZ #14812]
26749 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
26750 on argument names, not just descriptions.
0e2b9cdd
RM
26751 * malloc/memusagestat.c (options): Likewise.
26752 * nss/getent.c (options): Likewise.
63270c24
RM
26753
267542013-03-18 Benno Schulenberg <bensberg@justemail.net>
26755
26756 [BZ #14812]
26757 * iconv/iconv_prog.c (options): Put N_ translation marker
26758 on argument names, not just descriptions.
26759 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 26760
b2e1393c
OB
267612013-03-18 Ondrej Bilka <neleai@seznam.cz>
26762
26763 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
26764 implementation which is faster on all x86_64 architectures.
26765 Tested on AMD, Intel Nehalem, SNB, IVB.
26766 * sysdeps/x86_64/strnlen.S: Likewise.
26767
26768 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26769 Remove all multiarch strlen and strnlen versions.
26770 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26771 Remove strlen and strnlen related parts.
26772
26773 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
26774 Inline strlen part.
26775 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26776
26777 * sysdeps/x86_64/multiarch/strlen.S: Remove.
26778 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
26779 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
26780 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
26781 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26782 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
26783
ec4ff04d
CD
267842013-03-17 Carlos O'Donell <carlos@redhat.com>
26785
26786 * manual/memory.texi (Malloc Tunable Parameters):
26787 Sort parameters alphabetically. Add comments for missing entries.
26788
cd18e90a
DM
267892013-03-17 David S. Miller <davem@davemloft.net>
26790
26791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26792
2a185d32
JM
267932013-03-16 Joseph Myers <joseph@codesourcery.com>
26794
d2f9799e
JM
26795 [BZ #15283]
26796 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
26797 for arguments at most half maximum finite value.
26798 * math/libm-test.inc (j0_test): Add more tests.
26799 (j1_test): Likewise.
26800 (y0_test): Likewise.
26801 (y1_test): Likewise.
26802 * sysdeps/i386/fpu/libm-test-ulps: Update.
26803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26804
2a185d32
JM
26805 [BZ #14155]
26806 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
26807 1 / x and functions P and Q for arguments above 0x1p256L.
26808 (__ieee754_y0l): Likewise.
26809 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
26810 (__ieee754_y1l): Likewise.
26811 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
26812 (j1_test): Likewise.
26813 (y0_test): Likewise.
26814 (y1_test): Likewise.
26815
6cbec759
TS
268162013-03-16 Thomas Schwinge <thomas@codesourcery.com>
26817
26818 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
26819 variable.
26820
bc16e260
RM
268212013-03-15 Roland McGrath <roland@hack.frob.com>
26822
aefc9b8c
RM
26823 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
26824 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
26825 zero since it's initialized to EXEC_PAGESIZE.
26826
bc16e260
RM
26827 * sysdeps/unix/sysv/linux/ldsodefs.h
26828 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
26829 * sysdeps/generic/ldsodefs.h: ... here.
26830
a57da955
TS
268312013-03-15 Thomas Schwinge <thomas@codesourcery.com>
26832
af00a34d
TS
26833 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
26834
495ded2c
TS
26835 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
26836 math/test-snan.c.
26837 * math/test-snan.c: Renamed from
26838 sysdeps/powerpc/fpu/test-powerpc-snan.c.
26839 * math/Makefile (tests): Add test-snan.
26840 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
26841 test-powerpc-snan.
26842
777b0332
TS
26843 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
26844 SUFFIX. Initialize qNaN_var with __builtin_nan family of
26845 functions.
26846 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
26847 __builtin_nan family of functions.
26848 * math/libm-test.inc (initialize): Initialize qnan_value with
26849 __builtin_nan family of functions.
26850 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
26851 Remove variables.
26852 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
26853 Remove functions.
26854 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
26855 storage class. Initialize qNaN_var and sNaN_var with
26856 __builtin_nan and __builtin_nans families of functions,
26857 respectively.
26858
64d063b8
TS
26859 * math/libm-test.inc (acosh_test): Also test with qNaN input.
26860 (sqrt_test): Remove duplicate test with qNaN input.
26861 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
26862 (round_test, signbit_test, significand_test): Note missing +/-Inf
26863 as well as qNaN tests.
26864
67e971f1
TS
26865 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
26866 qNaN_var. Fix a few strings, too.
26867 * math/libm-test.inc (nan_value): Rename to qnan_value.
26868 * math/gen-libm-test.pl (%beautify): Adjust to that.
26869 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
26870 * math/test-misc.c (main): Likewise.
26871 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
26872 to __qnan_bytes, and __qnan_union, respectively.
26873 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
26874 Likewise.
26875 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
26876 and lqnanval, respectively.
26877 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
26878 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
26879 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
26880 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
26881
64487e12
TS
26882 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
26883 * math/test-misc.c (main) [__x86_64__]: Enable test for long
26884 doubles.
26885
e015e27b
TS
26886 * math/test-misc.c (main): Fix copy'n'pastos.
26887 * misc/tst-efgcvt.c (special): Likewise.
26888
a57da955
TS
26889 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
26890 Remove declarations.
26891
1e380345
SP
268922013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26893
26894 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
26895 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
26896 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
26897 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
26898
ef26eece
AZ
268992013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26900
26901 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
26902 macro to return vdso values correctly in IFUNC implementations.
26903 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26904 Optimization by using IFUNC.
26905
8cfdb7e0
SP
269062013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26907 Richard Henderson <rth@redhat.com>
26908 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26909
26910 * Makefile.in (bench): New target.
26911 * NEWS: Mention the benchmark framework.
26912 * Rules (bench): Likewise.
26913 (binaries-bench): Generate binaries for functions to
26914 benchmark.
26915 * benchtests/Makefile: New makefile for benchmark tests.
26916 * benchtests/bench-skeleton.c: New skeleton file for benchmark
26917 programs.
26918 * benchtests/exp-inputs: New input file for EXP function.
26919 * benchtests/pow-inputs: New input file for POW function.
26920 * scripts/bench.pl: New script to generate source files for
26921 benchmark programs.
26922
bcda9880
SP
269232013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26924
d22ca8cd
SP
26925 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26926 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
26927 computations on mantissa. Use macros for rounding and
26928 division.
26929 (denorm): Likewise.
26930 (__dbl_mp): Likewise.
26931 (add_magnitudes): Likewise.
26932 (sub_magnitudes): Likewise.
26933 (__mul): Likewise.
26934 (__sqr): Likewise.
26935 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
26936 powers of two in terms of TWOPOW macro.
26937 (mp_no): Make type of mantissa as MANTISSA_T.
26938 [!RADIXI]: Define RADIXI.
26939 [!TWO52]: Define TWO52.
26940 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26941
bcda9880
SP
26942 * manual/nptl.texi (cindex): Modify threads to pthreads.
26943
06d5adfb
JM
269442013-03-15 Joseph Myers <joseph@codesourcery.com>
26945
26946 * sysdeps/x86_64/preconfigure: Regenerated.
26947
41c7328e
JM
269482013-03-14 Joseph Myers <joseph@codesourcery.com>
26949
26950 [BZ #14155]
26951 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
26952 0x1p28 and above.
26953 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
26954 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
26955 0x1p28 and above.
26956 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
26957 * math/libm-test.inc (j0_test): Do not allow one spurious
26958 underflow exception.
26959 (y1_test): Likewise.
26960
e25cfa60
SP
269612013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26962
0409959c
SP
26963 * manual/Makefile (chapters): Add nptl.
26964 * manual/debug.texi (Debugging Support): Add link to Threads
26965 chapter.
26966 * manual/nptl.texi: New file.
26967
e25cfa60
SP
26968 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
26969
58a1335e
PB
269702013-03-14 Petr Baudis <pasky@ucw.cz>
26971
26972 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
26973 for non-NULL pointer before the memory validity test. Pointed
26974 out by Holger Brunck <holger.brunck@keymile.com>.
26975
9dc7c64f
AS
269762013-03-13 Andreas Schwab <schwab@suse.de>
26977
26978 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
26979 instead of .os.
26980
54206aa6
JM
269812013-03-13 Joseph Myers <joseph@codesourcery.com>
26982
26983 * timezone/zic.c: Update from tzcode 2013b.
26984
e98cdb38
CD
269852013-03-12 Carlos O'Donell <carlos@redhat.com>
26986
26987 * manual/install.texi (Configuring and compiling):
26988 Mention i686 and i586.
26989 * INSTALL: Regenerate.
26990
9967e003
RM
269912013-03-12 Roland McGrath <roland@hack.frob.com>
26992
26993 * sysdeps/init_array/elf-init.c: New file.
26994 * csu/elf-init.c
26995 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
26996 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
26997
26998 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
26999 __gmon_start__ as global, but as static with a .preinit_array pointer.
27000 * sysdeps/init_array/gmon-start.c: New file. Use that.
27001 * sysdeps/init_array/crti.S: New file, empty except for comments.
27002 * sysdeps/init_array/crtn.S: Likewise.
27003
e6b5a293 270042013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
27005
27006 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
27007 definining bcopy.
80f844c9
OB
27008 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27009 Remove Prefer_SSE_for_memop.
27010 * sysdeps/x86_64/multiarch/init-arch.h: Remove
27011 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
27012 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
27013 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
27014 memset-x86-64.
80f844c9 27015 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 27016 Remove bzero, memset ifunc support.
80f844c9
OB
27017 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
27018 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
27019 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27020 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27021
fb6b0fcb
AS
270222013-03-11 Andreas Schwab <schwab@suse.de>
27023
27024 [BZ #15234]
27025 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
27026 by SHLIB_COMPAT.
27027 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
27028 (GLIBC_2.16): Remove pthread_atfork.
27029
3e6bd4b1
PP
270302013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
27031
27032 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
27033 (ptestcases.h): Likewise.
27034
222d7f00
RM
270352013-03-08 Roland McGrath <roland@hack.frob.com>
27036
27037 * Makeconfig ($(common-objpfx)config.status): Depend on
27038 sysdeps/*/preconfigure{,.in} too.
27039
1ba4f030
JM
270402013-03-08 Joseph Myers <joseph@codesourcery.com>
27041
a222d91a
JM
27042 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
27043 (__free_hook): Use void * instead of __malloc_ptr_t.
27044 (__malloc_hook): Likewise.
27045 (__realloc_hook): Likewise.
27046 (__memalign_hook): Likewise.
27047 (__after_morecore_hook): Likewise.
27048 * malloc/arena.c (save_malloc_hook): Likewise.
27049 (save_free_hook): Likewise.
27050 * malloc/hooks.c (malloc_hook_ini): Likewise.
27051 (realloc_hook_ini): Likewise.
27052 (memalign_hook_ini): Likewise.
27053 * malloc/malloc.c (malloc_hook_ini): Likewise.
27054 (realloc_hook_ini): Likewise.
27055 (memalign_hook_ini): Likewise.
27056 (__free_hook): Likewise.
27057 (__malloc_hook): Likewise.
27058 (__realloc_hook): Likewise.
27059 (__memalign_hook): Likewise.
27060 (__libc_malloc): Likewise.
27061 (__libc_free): Likewise.
27062 (__libc_realloc): Likewise.
27063 (__libc_memalign): Likewise.
27064 (__libc_valloc): Likewise.
27065 (__libc_pvalloc): Likewise.
27066 (__libc_calloc): Likewise.
27067 (__posix_memalign): Likewise.
27068 * malloc/morecore.c (__sbrk): Likewise.
27069 (__default_morecore): Likewise.
27070
5cc45e10
JM
27071 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
27072
dd54b864
JM
27073 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
27074 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
27075 __malloc_ptrdiff_t.
27076
1ba4f030
JM
27077 * malloc/malloc.h (__malloc_size_t): Remove macro.
27078 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
27079 __malloc_size_t.
27080 (old_memalign_hook): Likewise.
27081 (old_realloc_hook): Likewise.
27082 (struct hdr): Likewise.
27083 (flood): Likewise.
27084 (mallochook): Likewise.
27085 (memalignhook): Likewise.
27086 (reallochook): Likewise.
27087 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
27088 (tr_old_realloc_hook): Likewise.
27089 (tr_old_memalign_hook): Likewise.
27090 (tr_mallochook): Likewise.
27091 (tr_reallochook): Likewise.
27092 (tr_memalignhook): Likewise.
27093
edf66e57
AZ
270942013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27095
27096 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
27097 default_ldbl_pack and using as default implementation.
27098 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
27099 implementation.
27100 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
27101 redundant definition.
27102 (ldbl_insert_mantissa): Likewise.
27103 (ldbl_canonicalize): Likewise.
27104 (ldbl_nearbyint): Likewise.
27105 (ldbl_pack): Rename to ldbl_pack_ppc.
27106 (ldbl_unpack): Rename to ldbl_unpack_ppc.
27107 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
27108 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
27109
6d9145d8
SP
271102013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27111
27112 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
27113 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
27114 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
27115 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
27116 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
27117 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
27118 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
27119 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
27120
4dd4e157
AJ
271212013-03-07 Andreas Jaeger <aj@suse.de>
27122
27123 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27124 bits/mman-linux.h.
27125
adbb8027
SP
271262013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27127
ce544b5b
SP
27128 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
27129 Include mpa.h and declare __MPEXP.
27130 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
27131 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27132 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27133 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
27134 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27135 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27136 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
27137
4cc149fd
SP
27138 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
27139 (__slowpow): Use long double EXPL and LOGL functions to
27140 compute POW.
27141 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27142 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27143 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
27144 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27145 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27146 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
27147
e6ebd4a7
SP
27148 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
27149 intermediate variable to calculate exponent.
27150 (__sqr): Likewise.
27151 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27152 Likewise.
27153 (__sqr): Likewise.
27154
82a9811d
SP
27155 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
27156 [!NO__SQR]: Define __sqr.
27157 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
27158 and NO__SQR. Remove all code except __mul and __sqr. Include
27159 sysdeps/ieee754/dbl-64/mpa.c.
27160 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27161
adbb8027
SP
27162 [BZ #12723]
27163 * posix/Makefile (tests): Add tst-pathconf.
27164 * posix/tst-pathconf.c: New test case.
27165 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
27166 _PC_PIPE_BUF.
27167 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
27168
39120df9
PF
271692013-03-06 Patsy Franklin <pfrankli@redhat.com>
27170
27171 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
27172
67525cb8
AJ
271732013-03-06 Andreas Jaeger <aj@suse.de>
27174
664a9ce4
AJ
27175 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
27176 definition via __MAP_ANONYMOUS.
27177
8e39047d
AJ
27178 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
27179 it's not part of Linux headers.
27180
67525cb8
AJ
27181 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
27182 (MAP_HUGE_MASK): Define.
27183
27184 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27185 Define.
27186 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27187 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27188 Define.
27189 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27190 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27191 Define.
27192 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27193 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
27194 Define.
27195 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27196
27197 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
27198 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
27199 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
27200 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
27201 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
27202 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
27203
27204 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27205 Handle f2fs.
27206
27207 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27208 Handle f2fs and efivarfs.
27209
27210 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
27211 f2fs.
27212
27213 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
27214 (EFIVARFS_MAGIC): Add.
27215 (F2FS_LINK_MAX): Add.
27216
e1b42695
PP
272172013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27218
27219 * stdio-common/vfprintf.c: Replace __builtin_expect with
27220 __glibc_unlikely.
27221
2d67d91a
JM
272222013-03-06 Joseph Myers <joseph@codesourcery.com>
27223
27224 [BZ #13550]
27225 * sysdeps/generic/bp-sym.h: Remove file.
27226 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
27227 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
27228 <bp-sym.h> and <bp-asm.h>.
27229 (__longjmp): Don't use BP_SYM.
27230 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
27231 and <bp-asm.h>.
27232 (memcpy): Don't use BP_SYM.
27233 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
27234 <bp-sym.h> and <bp-asm.h>.
27235 (memcpy): Don't use BP_SYM.
27236 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
27237 <bp-asm.h>.
27238 (memcpy): Don't use BP_SYM.
27239 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
27240 <bp-asm.h>.
27241 (memset): Don't use BP_SYM.
27242 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27243 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27244 (__bzero): Don't use BP_SYM.
27245 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27246 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27247 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
27248 <bp-sym.h> and <bp-asm.h>.
27249 (memcmp): Don't use BP_SYM. Remove comment about bounded
27250 pointers.
27251 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
27252 <bp-sym.h> and <bp-asm.h>.
27253 (memcpy): Don't use BP_SYM.
27254 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
27255 <bp-sym.h> and <bp-asm.h>.
27256 (memset): Don't use BP_SYM.
27257 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27258 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27259 (__bzero): Don't use BP_SYM.
27260 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27261 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27262 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
27263 <bp-sym.h> and <bp-asm.h>.
27264 (strncmp): Don't use BP_SYM. Remove comment about bounded
27265 pointers.
27266 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
27267 <bp-sym.h> and <bp-asm.h>.
27268 (memcpy): Don't use BP_SYM.
27269 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
27270 <bp-sym.h> and <bp-asm.h>.
27271 (memset): Don't use BP_SYM.
27272 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27273 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27274 (__bzero): Don't use BP_SYM.
27275 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27276 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27277 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
27278 <bp-sym.h> and <bp-asm.h>.
27279 (__memchr): Don't use BP_SYM.
27280 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
27281 <bp-sym.h> and <bp-asm.h>.
27282 (memcmp): Don't use BP_SYM. Remove comment about bounded
27283 pointers.
27284 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
27285 <bp-sym.h> and <bp-asm.h>.
27286 (memcpy): Don't use BP_SYM.
27287 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
27288 <bp-sym.h> and <bp-asm.h>.
27289 (__mempcpy): Don't use BP_SYM.
27290 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
27291 <bp-sym.h> and <bp-asm.h>.
27292 (__memrchr): Don't use BP_SYM.
27293 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
27294 <bp-sym.h> and <bp-asm.h>.
27295 (memset): Don't use BP_SYM.
27296 (__bzero): Likewise.
27297 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
27298 <bp-sym.h> and <bp-asm.h>.
27299 (__rawmemchr): Don't use BP_SYM.
27300 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
27301 <bp-sym.h> and <bp-asm.h>.
27302 (__STRCMP): Don't use BP_SYM.
27303 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
27304 <bp-sym.h> and <bp-asm.h>.
27305 (strchr): Don't use BP_SYM.
27306 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
27307 <bp-sym.h> and <bp-asm.h>.
27308 (__strchrnul): Don't use BP_SYM.
27309 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
27310 <bp-sym.h> and <bp-asm.h>.
27311 (strlen): Don't use BP_SYM.
27312 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
27313 <bp-sym.h> and <bp-asm.h>.
27314 (strncmp): Don't use BP_SYM. Remove comment about bounded
27315 pointers.
27316 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
27317 <bp-sym.h> and <bp-asm.h>.
27318 (__strnlen): Don't use BP_SYM.
27319 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
27320 <bp-sym.h> and <bp-asm.h>.
27321 (__GI__setjmp): Don't use BP_SYM.
27322 (_setjmp): Likewise.
27323 (__sigsetjmp): Likewise.
27324 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
27325 (L(start_addresses)): Don't use BP_SYM.
27326 (_start): Likewise.
27327 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
27328 <bp-asm.h>.
27329 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
27330 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
27331 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27332 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27333 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
27334 <bp-asm.h>.
27335 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
27336 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
27337 about bounded pointers.
27338 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27339 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27340 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
27341 <bp-asm.h>.
27342 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
27343 about bounded pointers. Remove GKM FIXME comments.
27344 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27345 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
27346 <bp-asm.h>.
27347 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
27348 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
27349 Remove GKM FIXME comments.
27350 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27351 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27352 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
27353 <bp-asm.h>.
27354 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
27355 about bounded pointers. Remove GKM FIXME comment.
27356 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
27357 and <bp-asm.h>.
27358 (strncmp): Don't use BP_SYM. Remove comment about bounded
27359 pointers.
27360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
27361 <bp-sym.h> and <bp-asm.h>.
27362 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
27364 <bp-sym.h> and <bp-asm.h>.
27365 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27366 comment.
27367
cdcf361f
PP
273682013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27369
27370 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
27371 call free(NULL).
27372
3c4a2b15
DM
273732013-03-05 David S. Miller <davem@davemloft.net>
27374
27375 * po/es.po: Update from translation team.
27376
cdcf361f 273772013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
27378
27379 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
27380 <bits/mman-linux.h>.
27381 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27382 is fine.
27383 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
27384 <bits/mman-linux.h> to end of file.
27385 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27386 is fine.
27387 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
27388 <bits/mman-linux.h> to end of file.
27389 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27390 is fine.
27391 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
27392 <bits/mman-linux.h> to end of file.
27393
27394 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
27395 (MCL_CURRENT, MCL_FUTURE): Define here.
27396
5f67c04f
AK
273972013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27398
8a4473cc 27399 [BZ #15232]
5f67c04f
AK
27400 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
27401 attribute_hidden.
27402 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27403
c3e94a95
AK
274042013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27405
27406 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
27407 fourth parameter needed for rt_sigprocmask syscall.
27408 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27409 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27410 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
27411 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27412 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27413 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
27414
cfb6382a
JM
274152013-03-04 Joseph Myers <joseph@codesourcery.com>
27416
27417 [BZ #13550]
27418 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
27419 comment about bounded pointers.
27420 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
27421 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
27422
539d8e01
AJ
274232013-03-04 Andreas Jaeger <aj@suse.de>
27424
27425 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
27426 common definitions.
27427
27428 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
27429 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
27430 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
27431 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27432 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
27433 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27434
2e167a70 274352013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
27436
27437 [BZ #15055]
27438 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
27439 __ieee754_sqrl instead of __sqrl.
27440
68508633
JM
274412013-03-01 Joseph Myers <joseph@codesourcery.com>
27442
27443 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
27444 * sysdeps/powerpc/fpu_control.h: ... here.
27445 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
27446 * sysdeps/powerpc/bits/fenvinline.h: ... here.
27447 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
27448 * sysdeps/powerpc/bits/mathinline.h: ... here.
27449
7775448e
RM
274502013-03-01 Roland McGrath <roland@hack.frob.com>
27451
27452 * elf/dl-hwcaps.c (_dl_important_hwcaps):
27453 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
27454 to just [NEED_DL_SYSINFO_DSO].
27455 * elf/dl-support.c: Likewise.
27456 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27457 * elf/rtld.c (dl_main): Likewise.
27458 * elf/setup-vdso.h (setup_vdso): Likewise.
27459 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
27460 * sysdeps/unix/sysv/linux/dl-sysdep.c
27461 (_dl_discover_osversion): Likewise.
27462
4e9b5995
CD
274632013-03-01 Carlos O'Donell <carlos@redhat.com>
27464
27465 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
27466 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27467
e23872c8
SP
274682013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
27469
e5c74c63
SP
27470 * NEWS: Mention libm performance improvements and non-x86 PI
27471 futex support.
27472
e23872c8
SP
27473 * csu/libc-start.c (__pthread_initialize_minimal): Change
27474 function arguments.
27475 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27476
b5510883
JM
274772013-02-28 Joseph Myers <joseph@codesourcery.com>
27478
27479 [BZ #13550]
27480 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
27481 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
27482 <bp-sym.h> and <bp-asm.h>.
27483 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27484 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
27485 and <bp-asm.h>.
27486 (memcpy): Don't use BP_SYM.
27487 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
27488 <bp-asm.h>.
27489 (__mpn_add_n): Don't use BP_SYM.
27490 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
27491 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
27492 and <bp-asm.h>.
27493 (__mpn_addmul_1): Don't use BP_SYM.
27494 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27495 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
27496 <bp-sym.h>.
27497 (_setjmp): Don't use BP_SYM.
27498 (__novmx_setjmp): Likewise.
27499 (__GI__setjmp): Likewise.
27500 (__vmx_setjmp): Likewise.
27501 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
27502 <bp-sym.h>.
27503 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
27504 (__bzero): Don't use BP_SYM.
27505 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27506 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27507 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
27508 <bp-sym.h> and <bp-asm.h>.
27509 (memcpy): Don't use BP_SYM.
27510 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
27511 <bp-sym.h> and <bp-asm.h>.
27512 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27513 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
27514 <bp-sym.h> and <bp-asm.h>.
27515 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27516 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
27517 <bp-asm.h>.
27518 (__mpn_lshift): Don't use BP_SYM.
27519 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27520 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
27521 <bp-asm.h>.
27522 (memset): Don't use BP_SYM.
27523 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27524 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27525 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
27526 <bp-asm.h>.
27527 (__mpn_mul_1): Don't use BP_SYM.
27528 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27529 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
27530 <bp-sym.h> and <bp-asm.h>.
27531 (memcmp): Don't use BP_SYM.
27532 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
27533 <bp-sym.h> and <bp-asm.h>.
27534 (memcpy): Don't use BP_SYM.
27535 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
27536 <bp-sym.h> and <bp-asm.h>.
27537 (memset): Don't use BP_SYM.
27538 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
27539 <bp-sym.h> and <bp-asm.h>.
27540 (strncmp): Don't use BP_SYM.
27541 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
27542 <bp-sym.h> and <bp-asm.h>.
27543 (memcpy): Don't use BP_SYM.
27544 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
27545 <bp-sym.h> and <bp-asm.h>.
27546 (memset): Don't use BP_SYM.
27547 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
27548 <bp-sym.h> and <bp-asm.h>.
27549 (__memchr): Don't use BP_SYM.
27550 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
27551 <bp-sym.h> and <bp-asm.h>.
27552 (memcmp): Don't use BP_SYM.
27553 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
27554 <bp-sym.h> and <bp-asm.h>.
27555 (memcpy): Don't use BP_SYM.
27556 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
27557 <bp-sym.h> and <bp-asm.h>.
27558 (__mempcpy): Don't use BP_SYM.
27559 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
27560 <bp-sym.h> and <bp-asm.h>.
27561 (__memrchr): Don't use BP_SYM.
27562 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
27563 <bp-sym.h> and <bp-asm.h>.
27564 (memset): Don't use BP_SYM.
27565 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
27566 <bp-sym.h> and <bp-asm.h>.
27567 (__rawmemchr): Don't use BP_SYM.
27568 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
27569 <bp-sym.h> and <bp-asm.h>.
27570 (__STRCMP): Don't use BP_SYM.
27571 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
27572 <bp-sym.h> and <bp-asm.h>.
27573 (strchr): Don't use BP_SYM.
27574 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
27575 <bp-sym.h> and <bp-asm.h>.
27576 (__strchrnul): Don't use BP_SYM.
27577 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
27578 <bp-sym.h> and <bp-asm.h>.
27579 (strlen): Don't use BP_SYM.
27580 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
27581 <bp-sym.h> and <bp-asm.h>.
27582 (strncmp): Don't use BP_SYM.
27583 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
27584 <bp-sym.h> and <bp-asm.h>.
27585 (__strnlen): Don't use BP_SYM.
27586 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
27587 <bp-asm.h>.
27588 (__mpn_rshift): Don't use BP_SYM.
27589 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27590 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
27591 <bp-sym.h> and <bp-asm.h>.
27592 (__sigsetjmp): Don't use BP_SYM.
27593 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
27594 (L(start_addresses)): Don't use BP_SYM.
27595 (_start): Likewise.
27596 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
27597 <bp-asm.h>.
27598 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
27599 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27600 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27601 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
27602 <bp-asm.h>.
27603 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
27604 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27605 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27606 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
27607 <bp-asm.h>.
27608 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27609 comments.
27610 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27611 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
27612 <bp-asm.h>.
27613 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
27614 FIXME comments.
27615 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27616 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27617 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
27618 <bp-asm.h>.
27619 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27620 comment.
27621 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
27622 and <bp-asm.h>.
27623 (strncmp): Don't use BP_SYM,
27624 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
27625 <bp-asm.h>.
27626 (__mpn_sub_n): Don't use BP_SYM.
27627 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27628 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
27629 and <bp-asm.h>.
27630 (__mpn_submul_1): Don't use BP_SYM.
27631 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
27633 <bp-sym.h> and <bp-asm.h>.
27634 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
27636 <bp-sym.h> and <bp-asm.h>.
27637 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27638 comment.
27639
8d19fe64
SP
276402013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27641
27642 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
27643 Use ZK to minimize writes to Z.
27644 (sub_magnitudes): Simplify code a bit.
27645 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
27646 Use ZK to minimize writes to Z.
27647 (sub_magnitudes): Simplify code a bit.
27648
85bd816a
RM
276492013-02-27 Roland McGrath <roland@hack.frob.com>
27650
27651 * csu/gmon-start.c: Add special exception to license text.
27652
b5977bf2
RH
276532013-02-27 Richard Henderson <rth@redhat.com>
27654
27655 * scripts/config.guess: Update from config.git.
27656 * scripts/config.sub: Likewise.
27657
11d6e2f2
SP
276582013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27659
09c14ed2
SP
27660 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
27661
a688864e
SP
27662 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
27663
6295157a
SP
27664 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
27665
b8de2202
SP
27666 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
27667
11d6e2f2
SP
27668 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
27669
7e80ddb8
RM
276702013-02-26 Roland McGrath <roland@hack.frob.com>
27671
27672 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
27673 [$(build-shared = yes].
7e80ddb8 27674
7da6d9ed
SP
276752013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27676
45f05884
SP
27677 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
27678 (__mul): Reduce iterations for calculating mantissa.
27679
2236d359
SP
27680 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
27681 MPTWO.
27682 (__mpranred): Likewise.
27683
7da6d9ed
SP
27684 [BZ #15160]
27685 * malloc/memusagestat.c (main): Draw graphs for heap and stack
27686 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
27687
b7688c42
PE
276882013-02-26 Paul Eggert <eggert@cs.ucla.edu>
27689
27690 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
27691 Define __attribute__.
27692
53a5c423
SP
276932013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27694
27695 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
27696 unused.
27697 * posix/regex_internal.h (__attribute): Remove.
27698 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
27699 (re_string_context_at): Likewise.
27700 (bitset_not): Use __attribute__ and mark function as possibly
27701 unused.
27702 (bitset_merge): Likewise.
27703 (bitset_mask): Likewise.
27704 (re_string_char_size_at): Likewise.
27705 (re_string_wchar_at): Likewise.
27706 (re_string_elem_size_at): Likewise.
27707
60f5a8b5
SP
277082013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27709
2a983a2e
SP
27710 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
27711 code.
27712 (cc32): Likewise.
27713
e69804d1
SP
27714 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
27715 (__acr): Likewise.
27716 (__cpy): Likewise.
27717 (norm): Likewise.
27718 (denorm): Likewise.
27719 (__dbl_mp): Likewise.
27720 (add_magnitudes): Likewise.
27721 (sub_magnitudes): Likewise.
27722 (__mul): Likewise.
27723 (__inv): Likewise.
27724
2f22a1e8
SP
27725 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
27726 style.
27727
8930ddc7
SP
27728 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
27729 style.
27730
dc60cb11
SP
27731 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
27732 code.
27733
60f5a8b5
SP
27734 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
27735 up changes with default code.
27736 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
27737 Likewise.
27738
b4d1fd33
AM
277392013-02-24 Allan McRae <allan@archlinux.org>
27740
faf6f8bc
AM
27741 * manual/socket.texi (The Internet Namespace): Order menu items
27742 to match that in the file.
27743
b4d1fd33
AM
27744 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
27745 node listing of the info page menu.
27746
2366713d
JM
277472013-02-21 Joseph Myers <joseph@codesourcery.com>
27748
27749 [BZ #13550]
27750 * sysdeps/i386/bp-asm.h: Remove file.
27751 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27752 (PARMS): Do not use macros from bp-asm.h.
27753 (S1): Likewise.
27754 (S2): Likewise.
27755 (SIZE): Likewise.
27756 (__mpn_add_n): Do not use BP_SYM
27757 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
27758 "bp-asm.h".
27759 (PARMS): Do not use macros from bp-asm.h.
27760 (S1): Likewise.
27761 (SIZE): Likewise.
27762 (__mpn_addmul_1): Do not use BP_SYM
27763 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
27764 "bp-asm.h".
27765 (PARMS): Do not use macros from bp-asm.h.
27766 (SIGMSK): Likewise.
27767 (_setjmp): Likewise. Do not use BP_SYM.
27768 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
27769 "bp-asm.h".
27770 (PARMS): Do not use macros from bp-asm.h.
27771 (SIGMSK): Likewise.
27772 (setjmp): Likewise. Do not use BP_SYM.
27773 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
27774 "bp-asm.h".
27775 (PARMS): Do not use macros from bp-asm.h.
27776 (__frexp): Do not use BP_SYM.
27777 (frexp): Likewise.
27778 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
27779 "bp-asm.h".
27780 (PARMS): Do not use macros from bp-asm.h.
27781 (__frexpf): Do not use BP_SYM.
27782 (frexpf): Likewise.
27783 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
27784 "bp-asm.h".
27785 (PARMS): Do not use macros from bp-asm.h.
27786 (__frexpl): Do not use BP_SYM.
27787 (frexpl): Likewise.
27788 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
27789 "bp-asm.h".
27790 (PARMS): Do not use macros from bp-asm.h.
27791 (__remquo): Do not use BP_SYM.
27792 (remquo): Likewise.
27793 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
27794 "bp-asm.h".
27795 (PARMS): Do not use macros from bp-asm.h.
27796 (__remquof): Do not use BP_SYM.
27797 (remquof): Likewise.
27798 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
27799 "bp-asm.h".
27800 (PARMS): Do not use macros from bp-asm.h.
27801 (__remquol): Do not use BP_SYM.
27802 (remquol): Likewise.
27803 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
27804 "bp-asm.h".
27805 (PARMS): Do not use macros from bp-asm.h.
27806 (DEST): Likewise.
27807 (SRC): Likewise.
27808 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
27809 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
27810 "bp-asm.h".
27811 (PARMS): Do not use macros from bp-asm.h.
27812 (strlen): Do not use BP_SYM.
27813 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
27814 "bp-asm.h".
27815 (PARMS): Do not use macros from bp-asm.h.
27816 (S1): Likewise.
27817 (S2): Likewise.
27818 (SIZE): Likewise.
27819 (__mpn_add_n): Do not use BP_SYM.
27820 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
27821 "bp-asm.h".
27822 (PARMS): Do not use macros from bp-asm.h.
27823 (S1): Likewise.
27824 (SIZE): Likewise.
27825 (__mpn_addmul_1): Do not use BP_SYM.
27826 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
27827 weak_alias.
27828 (bzero): Likewise.
27829 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
27830 "bp-asm.h".
27831 (PARMS): Do not use macros from bp-asm.h.
27832 (S): Likewise.
27833 (SIZE): Likewise.
27834 (__mpn_lshift): Do not use BP_SYM.
27835 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
27836 "bp-asm.h".
27837 (PARMS): Do not use macros from bp-asm.h.
27838 (DEST): Likewise.
27839 (SRC): Likewise.
27840 (LEN): Likewise.
27841 (memcpy): Likewise. Do not use BP_SYM.
27842 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
27843 libc_hidden_def and weak_alias.
27844 (mempcpy): Do not use BP_SYM in weak_alias.
27845 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
27846 "bp-asm.h".
27847 (PARMS): Do not use macros from bp-asm.h.
27848 (DEST): Likewise.
27849 (LEN): Likewise.
27850 [!BZERO_P] (CHR): Likewise.
27851 (memset): Likewise. Do not use BP_SYM.
27852 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
27853 "bp-asm.h".
27854 (PARMS): Do not use macros from bp-asm.h.
27855 (S1): Likewise.
27856 (SIZE): Likewise.
27857 (__mpn_mul_1): Do not use BP_SYM.
27858 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
27859 "bp-asm.h".
27860 (PARMS): Do not use macros from bp-asm.h.
27861 (S): Likewise.
27862 (SIZE): Likewise.
27863 (__mpn_rshift): Do not use BP_SYM.
27864 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
27865 "bp-asm.h".
27866 (PARMS): Do not use macros from bp-asm.h.
27867 (STR): Likewise.
27868 (CHR): Likewise.
27869 (strchr): Likewise. Do not use BP_SYM.
27870 (index): Do not use BP_SYM in weak_alias.
27871 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
27872 "bp-asm.h".
27873 (PARMS): Do not use macros from bp-asm.h.
27874 (DEST): Likewise.
27875 (SRC): Likewise.
27876 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
27877 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
27878 "bp-asm.h".
27879 (PARMS): Do not use macros from bp-asm.h.
27880 (strlen): Do not use BP_SYM.
27881 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
27882 "bp-asm.h".
27883 (PARMS): Do not use macros from bp-asm.h.
27884 (S1): Likewise.
27885 (S2): Likewise.
27886 (SIZE): Likewise.
27887 (__mpn_sub_n): Do not use BP_SYM.
27888 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
27889 "bp-asm.h".
27890 (PARMS): Do not use macros from bp-asm.h.
27891 (S1): Likewise.
27892 (SIZE): Likewise.
27893 (__mpn_submul_1): Do not use BP_SYM.
27894 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
27895 "bp-asm.h".
27896 (PARMS): Do not use macros from bp-asm.h.
27897 (S1): Likewise.
27898 (S2): Likewise.
27899 (SIZE): Likewise.
27900 (__mpn_add_n): Do not use BP_SYM.
27901 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
27902 weak_alias.
27903 (bzero): Likewise.
27904 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
27905 "bp-asm.h".
27906 (PARMS): Do not use macros from bp-asm.h.
27907 (BLK2): Likewise.
27908 (LEN): Likewise.
27909 (memcmp): Do not use BP_SYM.
27910 (bcmp): Do not use BP_SYM in weak_alias.
27911 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
27912 "bp-asm.h".
27913 (PARMS): Do not use macros from bp-asm.h.
27914 (DEST): Likewise.
27915 (SRC): Likewise.
27916 (LEN): Likewise.
27917 (memcpy): Likewise. Do not use BP_SYM.
27918 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
27919 "bp-asm.h".
27920 (PARMS): Do not use macros from bp-asm.h.
27921 (DEST): Likewise.
27922 (SRC): Likewise.
27923 (LEN): Likewise.
27924 (memmove): Likewise. Do not use BP_SYM.
27925 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
27926 "bp-asm.h".
27927 (PARMS): Do not use macros from bp-asm.h.
27928 (DEST): Likewise.
27929 (SRC): Likewise.
27930 (LEN): Likewise.
27931 (__mempcpy): Likewise. Do not use BP_SYM.
27932 (mempcpy): Do not use BP_SYM in weak_alias.
27933 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
27934 "bp-asm.h".
27935 (PARMS): Do not use macros from bp-asm.h.
27936 (DEST): Likewise.
27937 (LEN): Likewise.
27938 [!BZERO_P] (CHR): Likewise.
27939 (memset): Likewise. Do not use BP_SYM.
27940 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
27941 "bp-asm.h".
27942 (PARMS): Do not use macros from bp-asm.h.
27943 (STR2): Likewise.
27944 (strcmp): Do not use BP_SYM.
27945 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
27946 "bp-asm.h".
27947 (PARMS): Do not use macros from bp-asm.h.
27948 (STR): Likewise.
27949 (DELIM): Likewise.
27950 [USE_AS_STRTOK_R] (SAVE): Likewise.
27951 (FUNCTION): Likewise. Do not use BP_SYM.
27952 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
27953 aliases.
27954 (strtok_r): Likewise.
27955 (__GI___strtok_r): Likewise.
27956 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27957 (PARMS): Do not use macros from bp-asm.h.
27958 (S): Likewise.
27959 (SIZE): Likewise.
27960 (__mpn_lshift): Do not use BP_SYM.
27961 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27962 (PARMS): Do not use macros from bp-asm.h.
27963 (STR): Likewise.
27964 (CHR): Likewise.
27965 (__memchr): Do not use BP_SYM.
27966 (memchr): Do not use BP_SYM in weak_alias.
27967 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27968 (PARMS): Do not use macros from bp-asm.h.
27969 (BLK2): Likewise.
27970 (LEN): Likewise.
27971 (memcmp): Do not use BP_SYM.
27972 (bcmp): Do not use BP_SYM in weak_alias.
27973 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
27974 (PARMS): Do not use macros from bp-asm.h.
27975 (S1): Likewise.
27976 (SIZE): Likewise.
27977 (__mpn_mul_1): Do not use BP_SYM.
27978 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
27979 "bp-asm.h".
27980 (PARMS): Do not use macros from bp-asm.h.
27981 (STR): Likewise.
27982 (CHR): Likewise.
27983 (__rawmemchr): Do not use BP_SYM.
27984 (rawmemchr): Do not use BP_SYM in weak_alias.
27985 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27986 (PARMS): Do not use macros from bp-asm.h.
27987 (S): Likewise.
27988 (SIZE): Likewise.
27989 (__mpn_rshift): Do not use BP_SYM.
27990 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27991 (PARMS): Do not use macros from bp-asm.h.
27992 (SIGMSK): Likewise.
27993 (__sigsetjmp): Likewise. Do not use BP_SYM.
27994 * sysdeps/i386/start.S: Do not include "bp-sym.h".
27995 (_start): Do not use BP_SYM.
27996 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
27997 (PARMS): Do not use macros from bp-asm.h.
27998 (DEST): Likewise.
27999 (SRC): Likewise.
28000 (__stpcpy): Likewise. Do not use BP_SYM.
28001 (stpcpy): Do not use BP_SYM in weak_alias.
28002 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
28003 "bp-asm.h".
28004 (PARMS): Do not use macros from bp-asm.h.
28005 (DEST): Likewise.
28006 (SRC): Likewise.
28007 (LEN): Likewise.
28008 (__stpncpy): Likewise. Do not use BP_SYM.
28009 (stpncpy): Do not use BP_SYM in weak_alias.
28010 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28011 (PARMS): Do not use macros from bp-asm.h.
28012 (STR): Likewise.
28013 (CHR): Likewise.
28014 (strchr): Likewise. Do not use BP_SYM.
28015 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
28016 "bp-asm.h".
28017 (PARMS): Do not use macros from bp-asm.h.
28018 (STR): Likewise.
28019 (CHR): Likewise.
28020 (__strchrnul): Likewise. Do not use BP_SYM.
28021 (strchrnul): Do not use BP_SYM in weak_alias.
28022 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
28023 "bp-asm.h".
28024 (PARMS): Do not use macros from bp-asm.h.
28025 (STOP): Likewise.
28026 (strcspn): Do not use BP_SYM.
28027 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
28028 "bp-asm.h".
28029 (PARMS): Do not use macros from bp-asm.h.
28030 (STR): Likewise.
28031 (STOP): Likewise.
28032 (strpbrk): Likewise. Do not use BP_SYM.
28033 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
28034 "bp-asm.h".
28035 (PARMS): Do not use macros from bp-asm.h.
28036 (STR): Likewise.
28037 (CHR): Likewise.
28038 (strrchr): Likewise. Do not use BP_SYM.
28039 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
28040 (PARMS): Do not use macros from bp-asm.h.
28041 (SKIP): Likewise.
28042 (strspn): Do not use BP_SYM.
28043 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
28044 (PARMS): Do not use macros from bp-asm.h.
28045 (STR): Likewise.
28046 (DELIM): Likewise.
28047 (SAVE): Likewise.
28048 (FUNCTION): Likewise. Do not use BP_SYM.
28049 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
28050 aliases.
28051 (strtok_r): Likewise.
28052 (__GI___strtok_r): Likewise.
28053 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28054 (PARMS): Do not use macros from bp-asm.h.
28055 (S1): Likewise.
28056 (S2): Likewise.
28057 (SIZE): Likewise.
28058 (__mpn_sub_n): Do not use BP_SYM.
28059 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
28060 "bp-asm.h".
28061 (PARMS): Do not use macros from bp-asm.h.
28062 (S1): Likewise.
28063 (SIZE): Likewise.
28064 (__mpn_submul_1): Do not use BP_SYM.
28065 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
28066 <bp-sym.h>.
28067 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
28068 and <bp-asm.h>.
28069 (PARMS): Do not use macros from bp-asm.h.
28070 (FLAGS): Likewise.
28071 (PTID): Likewise.
28072 (TLS): Likewise.
28073 (CTID): Likewise.
28074 (__clone): Do not use BP_SYM.
28075 (clone): Do not use BP_SYM in weak_alias.
28076 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
28077 and <bp-asm.h>.
28078 (PARMS): Do not use macros from bp-asm.h.
28079 (LEN): Likewise.
28080 (__mmap64): Do not use BP_SYM.
28081 (mmap64): Do not use BP_SYM in weak_alias.
28082 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28083 <bp-sym.h> and <bp-asm.h>.
28084 (PARMS): Do not use macros from bp-asm.h.
28085 (__posix_fadvise64_l64): Do not use BP_SYM.
28086 * sysdeps/unix/sysv/linux/i386/semtimedop.S
28087 (PARMS): Do not use macros from bp-asm.h.
28088 (NSOPS): Likewise.
28089 (semtimedop): Do not use BP_SYM.
28090 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
28091 and <bp-asm.h>.
28092
582a3cff
AM
280932013-02-21 Allan McRae <allan@archlinux.org>
28094
28095 * manual/message.texi (Charset conversion in gettext):
28096 Move @end statement to beginning of line.
28097
bab8a695
SP
280982013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28099
80945231
SP
28100 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
28101 static.
28102 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28103 Likewise.
28104
bab8a695
SP
28105 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
28106 (denorm): Likewise.
28107 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
28108 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
28109
e21d7aa7
AK
281102013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28111
28112 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
28113 tail-call to the resolved function if pltexit isn't needed.
28114
4c7a4263
SP
281152013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28116
28117 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
28118 or Y being zero as being unlikely.
28119 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28120 Likewise.
28121
41f49342
CD
281222013-02-20 Carlos O'Donell <carlos@redhat.com>
28123
28124 * manual/nss.texi (System Databases and Name Service Switch):
28125 Remove frobnicate @pxref.
28126
50022a93
TS
281272013-02-20 Thomas Schwinge <thomas@codesourcery.com>
28128
28129 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28130 __attribute__ ((unused)) to __attribute__ ((__unused__)).
28131
08cbd996
PM
281322013-02-20 Petr Machata <pmachata@redhat.com>
28133
28134 * elf/elf.h (R_ARM_TARGET1): New macro.
28135 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
28136 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
28137 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
28138 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
28139 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
28140 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
28141 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
28142 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
28143 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
28144 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
28145 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
28146 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
28147 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
28148 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
28149 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
28150 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
28151 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
28152 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
28153 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
28154 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
28155 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
28156 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
28157 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
28158 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
28159 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
28160 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
28161 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
28162 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
28163 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
28164 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
28165 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
28166 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
28167 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
28168 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
28169 (R_ARM_THM_GOT_BREL12): Likewise.
28170 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
28171 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
28172 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
28173 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
28174 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
28175 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
28176 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
28177 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
28178 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
28179
c7b275d6
TS
281802013-02-20 Thomas Schwinge <thomas@codesourcery.com>
28181
28182 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28183 __attribute_used__ to __attribute__ ((unused)).
28184
20cd7fb3
SP
281852013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28186
28187 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
28188 powerpc mpa.c.
28189 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
28190 comment formatting.
28191 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
28192
92945b52
JM
281932013-02-19 Joseph Myers <joseph@codesourcery.com>
28194
28195 [BZ #13550]
28196 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
28197 Remove macro.
28198 (ENTER): Remove both macro definitions.
28199 (LEAVE): Likewise.
28200 (CHECK_BOUNDS_LOW): Likewise.
28201 (CHECK_BOUNDS_HIGH): Likewise.
28202 (CHECK_BOUNDS_BOTH): Likewise.
28203 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
28204 (RETURN_BOUNDED_POINTER): Likewise.
28205 (RETURN_NULL_BOUNDED_POINTER): Likewise.
28206 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
28207 (POP_ERRNO_LOCATION_RETURN): Likewise.
28208 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
28209 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28210 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
28211 macros.
28212 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28213 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
28214 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
28215 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
28216 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
28217 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
28218 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
28219 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
28220 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
28221 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
28222 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
28223 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
28224 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28225 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
28226 removed macros.
28227 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28228 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
28229 macros.
28230 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28231 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
28232 * sysdeps/i386/i586/memset.S (memset): Likewise.
28233 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
28234 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28235 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
28236 macros.
28237 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28238 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
28239 Change uses of L(2) to L(out).
28240 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
28241 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
28242 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
28243 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28244 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
28245 removed macros.
28246 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28247 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
28248 macros.
28249 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28250 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
28251 (RETURN): Do not use macro LEAVE.
28252 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
28253 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
28254 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
28255 * sysdeps/i386/i686/memset.S (memset): Likewise.
28256 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
28257 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
28258 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28259 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
28260 Likewise.
28261 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28262 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
28263 L(1_2) and L(1_3) into L(1).
28264 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28265 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
28266 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28267 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
28268 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28269 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
28270 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
28271 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28272 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
28273 macros.
28274 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
28275 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28276 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
28277 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
28278 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
28279 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28280 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
28281 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
28282 * sysdeps/i386/strcspn.S (strcspn): Likewise.
28283 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
28284 * sysdeps/i386/strrchr.S (strrchr): Likewise.
28285 * sysdeps/i386/strspn.S (strspn): Likewise.
28286 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
28287 conditional code.
28288 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28289 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
28290 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28291 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
28292 L(1_3) into L(1_1).
28293 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
28294 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28295 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
28296 macros.
28297 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28298
2389741a
JJ
282992013-02-19 Jakub Jelinek <jakub@redhat.com>
28300
28301 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
28302 macro.
28303
2016b3cd
SP
283042013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28305
e4f22324
SP
28306 * math/atest-exp.c (exp_mpn): Remove ROUND.
28307 * math/atest-exp2.c (exp_mpn): Likewise.
28308 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
28309
2016b3cd
SP
28310 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
28311 * stdlib/tst-tls-atexit-lib.c: Likewise.
28312 * stdlib/tst-tls-atexit.c: Likewise.
28313
4be9b544
MF
283142013-02-18 Mike Frysinger <vapier@gentoo.org>
28315
28316 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
28317 and __attribute_alloc_size__.
28318
2f62b9ee
MF
283192013-02-18 Mike Frysinger <vapier@gentoo.org>
28320
28321 * include/programs/xmalloc.h: Change __attribute_alloc_size to
28322 __attribute_alloc_size__.
28323 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
28324 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
28325
6ff444c4
MF
283262013-02-18 Mike Frysinger <vapier@gentoo.org>
28327
28328 * include/programs/xmalloc.h: New file.
28329 * catgets/gencat.c: Include it.
28330 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
28331 * elf/pldd.c: Likewise.
28332 * iconv/iconv_charmap.c: Likewise.
28333 * iconv/iconvconfig.c: Likewise.
28334 * iconv/strtab.c: Likewise.
28335 * locale/programs/locale.c: Likewise.
28336 * locale/programs/localedef.h: Likewise.
28337 * locale/programs/simple-hash.c: Likewise.
28338 * nscd/nscd.h: Likewise.
28339 * nss/makedb.c: Likewise.
28340 * sysdeps/generic/ldconfig.h: Likewise.
28341
be179c8a
SP
283422013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28343
ba384f6e
SP
28344 * Versions.def: Add GLIBC_2.18.
28345 * include/link.h (struct link_map): New member l_tls_dtor_count.
28346 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
28347 (__call_tls_dtors): Likewise.
28348 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
28349 __cxa_thread_atexit_impl.
28350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28351 Likewise.
28352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28353 Likewise.
28354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28355 Likewise.
28356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28357 Likewise.
28358 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28359 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
28360 Likewise.
28361 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
28362 Likewise.
28363 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28365 Likewise.
28366 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
28367 (tests): Add test case tst-tls-atexit.
28368 (modules-names): Add shared library for tst-tls-atexit.
85891aca 28369 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
28370 (GLIBC_PRIVATE): Add __call_tls_dtors.
28371 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
28372 for libstdc++.
28373 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
28374 * stdlib/tst-tls-atexit.c: New test case.
28375 * stdlib/tst-tls-atexit-lib.c: New test case.
28376
ffaa74cf 28377 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 28378
be179c8a
SP
28379 * elf/Versions (ld): Add _dl_find_dso_for_object.
28380 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
28381 * elf/dl-open.c (_dl_find_dso_for_object): New function.
28382 (dl_open_worker): Use _dl_find_dso_for_object.
28383 * elf/dl-sym.c (do_sym): Likewise.
28384 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
28385
f78b5caa
AK
283862013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28387
28388 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
28389 Syntactic changes only.
28390 (_dl_runtime_profile): Do a tail-call to the resolved function.
28391
29691210
JM
283922013-02-17 Joseph Myers <joseph@codesourcery.com>
28393
28394 [BZ #13550]
28395 * sysdeps/x86_64/bp-asm.h: Remove file.
28396 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
28397 <bp-sym.h> and <bp-asm.h>.
28398 (__clone): Do not use BP_SYM.
28399 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
28400 <bp-sym.h> and <bp-asm.h>.
28401 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28402 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
28403 "bp-asm.h".
28404 (_setjmp): Do not use BP_SYM.
28405 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
28406 "bp-asm.h".
28407 (setjmp): Do not use BP_SYM.
28408 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
28409 libc_hidden_def.
28410 (mempcpy): Do not use BP_SYM in weak_alias.
28411 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
28412 "bp-asm.h".
28413 (strchr): Do not use BP_SYM.
28414 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
28415 "bp-asm.h".
28416 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
28417 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
28418 (_start): Do not use BP_SYM.
28419 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
28420 "bp-asm.h".
28421 (strcat): Do not use BP_SYM.
28422 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
28423 "bp-asm.h".
28424 (STRCMP): Do not use BP_SYM.
28425 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
28426 "bp-asm.h".
28427 (STRCPY): Do not use BP_SYM.
28428 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
28429 "bp-asm.h".
28430 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
28431 "bp-asm.h".
28432 (FUNCTION): Do not use BP_SYM.
28433 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
28434 weak_alias.
28435 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
28436
f238fd19
AJ
284372013-02-17 Andreas Jaeger <aj@suse.de>
28438
28439 * time/Versions: Sort entries.
28440 * string/Versions: Likewise.
28441 * resolv/Versions: Likewise.
28442 * posix/Versions: Likewise.
28443 * iconv/Versions: Likewise.
28444 * elf/Versions: Likewise.
28445 * wcsmbs/Versions: Likewise.
28446
bd07f23c 284472013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 28448
22af19f9
SP
28449 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
28450 loop termination condition.
28451
4709fe76
SP
28452 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
28453 variable to calculate EZ.
28454 (__sqr): Likewise.
2d0e0f29
SP
28455
28456 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
28457 the lower precision input.
28458
daaa7713
JM
284592013-02-15 Joseph Myers <joseph@codesourcery.com>
28460
28461 [BZ #13550]
28462 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
28463 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
28464 (run-via-rtld-prefix): Do not handle %-bp tests.
28465 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
28466 (all-object-suffixes): Remove .ob.
28467 (bppfx): Remove variable.
28468 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
28469 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
28470 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
28471 [$(build-bounded) = yes] (libtype.ob): Likewise.
28472 * Makerules (elide-routines.ob): Remove variable.
28473 (do-tests-clean): Do not handle *-bp.out.
28474 (common-mostlyclean): Do not handle *-bp and *-bp.out.
28475 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
28476 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
28477 (tests): Do not include $(tests-bp.out).
28478 (xtests): Do not include $(xtests-bp.out).
28479 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
28480 [$(build-bounded) = yes] ($(addprefix
28481 $(objpfx),$(binaries-bounded))): Remove rule.
28482 ($(objpfx)%-bp.out): Remove rule.
28483 * config.make.in (build-bounded): Remove variable.
28484 * crypt/Makefile [$(build-bounded) = yes]
28485 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
28486 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
28487 append to variable.
28488 [$(build-bounded) = yes] (install-lib): Likewise.
28489 [$(build-bounded) = yes] (generated): Likewise.
28490 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
28491 Remove rule.
28492 * intl/Makefile [$(build-bounded) = yes]
28493 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
28494 * math/Makefile [$(build-bounded) = yes]
28495 ($(tests:%=$(objpfx)%-bp): Likewise.
28496 * misc/Makefile [$(build-bounded) = yes]
28497 ($(objpfx)tst-tsearch-bp): Likewise.
28498 * nptl/Makeconfig (bounded-thread-library): Remove variable.
28499 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
28500 Remove dependency.
28501 * string/Makefile (o-objects.ob): Remove variable.
28502 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
28503 (CFLAGS-.ob): Remove variable.
28504 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
28505 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
28506 both definitions of variable.
28507 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
28508 (ASFLAGS-.ob): Remove variable.
28509
e97ed6dd
JM
285102013-02-14 Joseph Myers <joseph@codesourcery.com>
28511
2bdd4ca6
JM
28512 [BZ #13550]
28513 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
28514 Remove __BOUNDED_POINTERS__ from condition.
28515 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
28516 * string/bits/string2.h [!__NO_STRING_INLINES &&
28517 !__BOUNDED_POINTERS__]: Likewise.
28518 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
28519 Likewise.
28520 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
28521 Remove conditional code.
28522 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
28523 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
28524 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
28525 condition.
28526
e97ed6dd
JM
28527 [BZ #13550]
28528 * csu/libc-start.c: Do not include <bp-sym.h>.
28529 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
28530 * elf/dl-open.c: Do not include <bp-sym.h>.
28531 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
28532 * math/fegetenv.c: Do not include <bp-sym.h>.
28533 (fegetenv): Do not use BP_SYM in versioned symbols.
28534 * nptl/sysdeps/pthread/bits/libc-lockP.h
28535 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
28536 <bp-sym.h>.
28537 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28538 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
28539 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28540 (__pthread_mutex_destroy): Likewise.
28541 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28542 (__pthread_mutex_lock): Likewise.
28543 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28544 (__pthread_mutex_trylock): Likewise.
28545 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28546 (__pthread_mutex_unlock): Likewise.
28547 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28548 (__pthread_mutexattr_init): Likewise.
28549 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28550 (__pthread_mutexattr_destroy): Likewise.
28551 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28552 (__pthread_mutexattr_settype): Likewise.
28553 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28554 (__pthread_rwlock_init): Likewise.
28555 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28556 (__pthread_rwlock_destroy): Likewise.
28557 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28558 (__pthread_rwlock_rdlock): Likewise.
28559 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28560 (__pthread_rwlock_tryrdlock): Likewise.
28561 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28562 (__pthread_rwlock_wrlock): Likewise.
28563 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28564 (__pthread_rwlock_trywrlock): Likewise.
28565 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28566 (__pthread_rwlock_unlock): Likewise.
28567 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28568 (__pthread_key_create): Likewise.
28569 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28570 (__pthread_setspecific): Likewise.
28571 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28572 (__pthread_getspecific): Likewise.
28573 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
28574 Likewise.
28575 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28576 (_pthread_cleanup_push_defer): Likewise.
28577 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28578 (_pthread_cleanup_pop_restore): Likewise.
28579 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28580 (pthread_setcancelstate): Likewise.
28581 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
28582 <bp-sym.h>.
28583 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
28584 (memchr): Do not use BP_SYM in weak_alias.
28585 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
28586 (fegetenv): Do not use BP_SYM in versioned symbols.
28587 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
28588 (fesetenv): Do not use BP_SYM in versioned symbols.
28589 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28590 (feupdateenv): Do not use BP_SYM in versioned symbols.
28591 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28592 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28593 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
28594 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
28595 (open64): Do not use BP_SYM in weak_alias.
28596 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
28597 (fegetenv): Do not use BP_SYM in versioned symbols.
28598 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
28599 (fesetenv): Do not use BP_SYM in versioned symbols.
28600 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28601 (feupdateenv): Do not use BP_SYM in versioned symbols.
28602 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
28603 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
28604 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
28605 (feraiseexcept): Do not use BP_SYM in versioned symbols.
28606 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28607 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28608 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
28609 <bp-sym.h>.
28610 (__libc_start_main): Do not use BP_SYM.
28611
d6752ccd
SP
286122013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28613
cb57ce60
SP
28614 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
28615 redundant return line.
28616 (norm): Likewise.
28617 (denorm): Likewise.
28618 (dbl_mp): Likewise.
28619 (sub_magnitudes): Likewise.
28620 (__add): Likewise.
28621 (__sub): Likewise.
28622 (__mul): Likewise.
28623 (__inv): Likewise.
28624 (__dvd): Likewise.
28625 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
28626 (norm): Likewise.
28627 (denorm): Likewise.
28628 (dbl_mp): Likewise.
28629 (sub_magnitudes): Likewise.
28630 (__add): Likewise.
28631 (__sub): Likewise.
28632 (__mul): Likewise.
28633 (__inv): Likewise.
28634 (__dvd): Likewise.
28635
f414520d
SP
28636 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
28637 instead of __mul.
28638 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28639 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
28640 (cc32): Likewise.
28641
d6752ccd
SP
28642 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
28643 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
28644 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
28645 of __mul for squares.
28646 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
28647 function
28648 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
28649 Likewise.
28650 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
28651 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28652
70d9946a
JM
286532013-02-13 Joseph Myers <joseph@codesourcery.com>
28654
28655 [BZ #13550]
28656 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
28657 code.
28658 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
28659 prototype or function definition. Rename ubp_* variables and
28660 parameters. Remove argv definitions conditional on
28661 [__BOUNDED_POINTERS__].
28662 * debug/backtrace.c (__backtrace): Do not use __unbounded.
28663 * elf/dl-runtime.c (_dl_fixup): Likewise.
28664 * include/set-hooks.h (RUN_HOOK): Likewise.
28665 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
28666 definition.
28667 * string/strcpy.c (strcpy): Do not use __unbounded.
28668 * sysdeps/generic/frame.h (struct layout): Likewise.
28669 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
28670 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
28671 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
28672 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
28673 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
28674 (__backtrace): Likewise.
28675 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
28676 use __ptrvalue.
28677 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
28678 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28679 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28680 Likewise.
28681 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
28682 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
28683 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
28684 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28685 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
28686 Do not use __unbounded.
28687 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
28688 Rename __unboundedrlimits parameter to rlimits in prototype.
28689 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
28690 Do not use __unbounded.
28691 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
28692 not use __ptrvalue.
28693 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28694 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
28695 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28696 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
28697 __ptrvalue or __unbounded.
28698 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
28699 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
28700 use __unbounded.
28701 (__new_msgctl): Do not use __ptrvalue.
28702 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
28703 __unbounded.
28704 (__libc_msgrcv): Do not use __ptrvalue.
28705 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
28706 startup_info): Do not use __unbounded.
28707 (__libc_start_main): Likewise. Rename ubp_* variables and
28708 parameters. Remove argv definitions conditional on
28709 [__BOUNDED_POINTERS__].
28710 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
28711 __ptrvalue.
28712 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
28713 use __unbounded.
28714 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
28715 or __ptrvalue.
28716 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
28717 use __unbounded.
28718 (__new_shmctl): Do not use __ptrvalue.
28719 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28720 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28721 Likewise.
28722 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28723 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
28724 (__libc_sigaction): Likewise.
28725 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
28726 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
28727 Likewise.
28728 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28729
cc7834d6
OB
287302013-02-13 Ondřej Bílka <neleai@seznam.cz>
28731
ffb1ec7b 28732 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
28733
28734 * string/mempcpy.c: Implement by calling memcpy.
28735
bdf02814
SP
287362013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28737
c2af38aa
SP
28738 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
28739
4e92d59e
SP
28740 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
28741 evaluation.
28742
909279a5
SP
28743 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
28744 values in the mantissa.
28745
bdf02814
SP
28746 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
28747 minimize writes to Z.
28748 (sub_magnitudes): Simplify code a bit.
28749
cd525923
RM
287502013-02-12 Roland McGrath <roland@hack.frob.com>
28751
28752 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
28753 from the message. The linker prefixes all warnings with that already.
28754
7e2f0d2d
AS
287552013-02-12 Andreas Schwab <schwab@suse.de>
28756
a445af0b
AS
28757 [BZ #15078]
28758 * posix/regexec.c (extend_buffers): Add parameter min_len.
28759 (check_matching): Pass minimum needed length.
28760 (clean_state_log_if_needed): Likewise.
28761 (get_subexp): Likewise.
28762 * posix/Makefile (tests): Add bug-regex34.
28763 (bug-regex34-ENV): Define.
28764 * posix/bug-regex34.c: New file.
28765
7e2f0d2d
AS
28766 [BZ #11561]
28767 * posix/regcomp.c (parse_bracket_exp): When looking up collating
28768 elements compare against the byte sequence of it, not its name.
28769 * posix/Makefile (tests): Add bug-regex35.
28770 (bug-regex35-ENV): Define.
28771 * posix/bug-regex35.c: New file.
28772
a175b684
TV
287732013-02-11 Tom de Vries <tom@codesourcery.com>
28774
28775 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
28776 comment.
28777 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
28778 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
28779 (CHECK_EOL): Add undef.
28780
310998fe 287812013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
28782
28783 * bits/stdlib-bsearch.h: New file.
28784 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 28785 * stdlib/stdlib.h: Likewise.
41eda41d 28786
8ded91fb
RM
287872013-02-11 Roland McGrath <roland@hack.frob.com>
28788
28789 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
28790 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
28791 declaration.
28792 * manual/search.texi (Array Search Function): Add missing const in
28793 lfind prototype.
28794 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
28795 declaration to use rlim_t.
28796 (Basic Scheduling Functions): Remove erroneous const from
28797 sched_getparam prototype. Remove erroneous * from
28798 sched_get_priority_max and sched_get_priority_min prototypes.
28799 (Resource Usage): Fix summary @comment on vtimes to refer to
28800 sys/vtimes.h rather than vtimes.h.
28801 Add missing *s in vtimes prototype.
28802 (Limits on Resources): Fix ulimit prototype to return long int.
28803 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
28804 prototypes to use long int rather than double.
28805 (BSD Random): Fix initstate and setstate to use char *, not void *.
28806 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
28807 prototype to make second argument 'struct aiocb64 *const[]'.
28808 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
28809 (Status of AIO Operations): Remove erroneous const in aio_return and
28810 aio_return64 prototypes.
28811 (Synchronizing I/O): Fix sync prototype to return void.
28812 * manual/startup.texi (Suboptions): Remove an erroneous const in
28813 getsubopt prototype.
28814 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
28815 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
28816 use size_t rather than int.
28817 (Scanning All Users): Likewise for getpwent_r.
28818 (Setting Groups): Add missing const to setgroups prototype.
28819 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
28820 * manual/socket.texi (Host Names): Fix gethostbyaddr and
28821 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
28822 'const void *' rather than 'const char *'.
28823 (Host Address Functions): Likewise for inet_ntop.
28824 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
28825 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
28826 ssize_t for return value.
28827 (Sending Data): Likewise for send, sendto, sendmsg.
28828 (Socket Option Functions): Add a missing const in setsockopt prototype.
28829 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
28830 use wchar_t for the argument.
28831 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
28832 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
28833 take no arguments.
28834 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
28835 double/float/long double for second argument.
28836 Fix return types of significand, significandf, significandl.
28837 * manual/filesys.texi (Setting Permissions): Use mode_t for second
28838 argument in fchmod prototype.
28839 (File Owner): Use uid_t and gid_t in fchown prototype.
28840 (File Times): Add const to utimes, futimes, and lutimes prototypes.
28841 (Making Special Files): Use mode_t and dev_t in mknod prototype.
28842 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
28843 use 'const struct dirent **' as argument types to CMP function pointer
28844 argument.
28845 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
28846 (File Times): Fix summary magic @comment for struct utimbuf and utime
28847 to refer to utime.h, not time.h.
28848 * manual/string.texi (Argz Functions): Add missing const in
28849 argz_extract and argz_next prototypes.
28850 (Finding Tokens in a String): Likewise for basename.
28851 (String/Array Comparison): Fix typo in wcscasecmp prototype.
28852 (Copying and Concatenation): Fix typo in wmemmove prototype.
28853 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
28854 (Signal Stack): Remove erroneous const in sigstack prototype.
28855 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
28856 prototype.
28857 (Simple Calendar Time): Likewise for stime.
28858 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
28859 prototype.
28860 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
28861 say sys/sysctl.h instead.
28862 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
28863 and vsyslog prototypes.
28864
fe77fe6d
TV
288652013-02-11 Tom de Vries <tom@codesourcery.com>
28866
28867 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
28868 Remove.
28869
3a09b620
RM
288702013-02-11 Roland McGrath <roland@hack.frob.com>
28871
28872 * misc/sys/mman.h: Fix typo in mremap comment.
28873
550a0b89
RM
288742013-02-08 Roland McGrath <roland@hack.frob.com>
28875
28876 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
28877 the '\0' terminator.
28878
a2da1673
JM
288792013-02-08 Joseph Myers <joseph@codesourcery.com>
28880
28881 [BZ #13550]
28882 * debug/segfault.c: Don't include <bp-checks.h>.
28883 * sysdeps/generic/bp-checks.h: Remove file.
28884 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
28885 (__GETDENTS): Don't use CHECK_N.
28886 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
28887 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28888 (__getgroups): Don't use CHECK_N.
28889 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
28890 (setgroups): Don't use CHECK_N.
28891 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
28892 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
28893 (__libc_msgrcv): Don't use CHECK_N.
28894 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
28895 (__libc_msgsnd): Don't use CHECK_N.
28896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
28897 <bp-checks.h>.
28898 (__libc_pread): Don't use CHECK_N.
28899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
28900 include <bp-checks.h>.
28901 (__libc_pread64): Don't use CHECK_N.
28902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
28903 include <bp-checks.h>.
28904 (__libc_pwrite): Don't use CHECK_N.
28905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
28906 include <bp-checks.h>.
28907 (__libc_pwrite64): Don't use CHECK_N.
28908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
28909 <bp-checks.h>.
28910 (__libc_pread): Don't use CHECK_N.
28911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
28912 include <bp-checks.h>.
28913 (__libc_pread64): Don't use CHECK_N.
28914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
28915 include <bp-checks.h>.
28916 (__libc_pwrite): Don't use CHECK_N.
28917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
28918 include <bp-checks.h>.
28919 (__libc_pwrite64): Don't use CHECK_N.
28920 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
28921 (do_pread): Don't use CHECK_N.
28922 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
28923 (do_pread64): Don't use CHECK_N.
28924 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
28925 (do_pwrite): Don't use CHECK_N.
28926 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
28927 (do_pwrite64): Don't use CHECK_N.
28928 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
28929 (__libc_readv): Don't use CHECK_N.
28930 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
28931 (semop): Don't use CHECK_N.
28932 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
28933 <bp-checks.h>.
28934 (semtimedop): Don't use CHECK_N.
28935 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
28936 (__libc_pread): Don't use CHECK_N.
28937 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
28938 <bp-checks.h>.
28939 (__libc_pread64): Don't use CHECK_N.
28940 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
28941 <bp-checks.h>.
28942 (__libc_pwrite): Don't use CHECK_N.
28943 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
28944 <bp-checks.h>.
28945 (__libc_pwrite64): Don't use CHECK_N.
28946 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
28947 <bp-checks.h>.
28948 (__libc_msgrcv): Don't use CHECK_N.
28949 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
28950 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
28951 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
28952 (__libc_writev): Don't use CHECK_N.
28953
b84660a8
RM
289542013-02-08 Roland McGrath <roland@hack.frob.com>
28955
7f3e75f8
RM
28956 * string/strcpy.c: Removed unused variable.
28957
b84660a8
RM
28958 * Makeconfig (+sysdep-includes): Define with := rather than =.
28959 Use an existing include/ subdir of each sysdeps dir before it.
28960
471514d3
CD
289612013-02-08 Carlos O'Donell <carlos@redhat.com>
28962
28963 * nscd/connection.c (register_traced_file): Comment function.
28964 [HAVE_INOTIFY] (union __inev): Define.
28965 [HAVE_INOTIFY] (inotify_check_files): New function.
28966 [HAVE_INOTIFY] (clear_db_cache): Likewise.
28967 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
28968 clear_db_cache.
28969 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
28970
b2d3c3be
CD
289712013-02-08 Carlos O'Donell <carlos@redhat.com>
28972
28973 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
28974 loaded if not already and that a failure is permanent.
28975
b39949d2
CD
289762013-02-08 Carlos O'Donell <carlos@redhat.com>
28977
ddacd1db 28978 [BZ #15006]
b39949d2
CD
28979 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
28980 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
28981
b2c9eff4
JM
289822013-02-08 Joseph Myers <joseph@codesourcery.com>
28983
f3aae3f3
JM
28984 [BZ #13550]
28985 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
28986 (CHECK_1_NULL_OK): Likewise.
28987 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
28988 (__fxstat): Do not use CHECK_1.
28989 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
28990 <bp-checks.h>.
28991 (___fxstat64): Do not use CHECK_1.
28992 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
28993 <bp-checks.h>.
28994 (__fxstatat): Do not use CHECK_1.
28995 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
28996 <bp-checks.h>.
28997 (__fxstatat64): Do not use CHECK_1.
28998 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
28999 <bp-checks.h>.
29000 (__fxstat): Do not use CHECK_1.
29001 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29002 <bp-checks.h>.
29003 (__fxstatat): Do not use CHECK_1.
29004 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29005 <bp-checks.h>.
29006 (__getresgid): Do not use CHECK_1.
29007 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29008 <bp-checks.h>.
29009 (__getresuid): Do not use CHECK_1.
29010 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
29011 <bp-checks.h>.
29012 (__lxstat): Do not use CHECK_1.
29013 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29014 <bp-checks.h>.
29015 (__old_msgctl): Do not use CHECK_1.
29016 (__new_msgctl): Likewise.
29017 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
29018 <bp-checks.h>.
29019 (__new_setrlimit): Do not use CHECK_1.
29020 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29021 <bp-checks.h>.
29022 (__old_shmctl): Do not use CHECK_1.
29023 (__new_shmctl): Likewise.
29024 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
29025 <bp-checks.h>.
29026 (__xstat): Do not use CHECK_1.
29027 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
29028 (__lxstat): Do not use CHECK_1.
29029 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
29030 <bp-checks.h>.
29031 (___lxstat64): Do not use CHECK_1.
29032 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
29033 (__old_msgctl): Do not use CHECK_1.
29034 (__new_msgctl): Likewise.
29035 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
29036 <bp-checks.h>.
29037 (__gettimeofday): Do not use CHECK_1.
29038 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
29039 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
29040 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
29041 <bp-checks.h>.
29042 (__gettimeofday): Do not use CHECK_1.
29043 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
29044 (__old_shmctl): Do not use CHECK_1_NULL_OK.
29045 (__new_shmctl): Do not use CHECK_1.
29046 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
29047 <bp-checks.h>.
29048 (do_sigtimedwait): Do not use CHECK_1.
29049 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
29050 <bp-checks.h>.
29051 (do_sigwaitinfo): Do not use CHECK_1.
29052 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
29053 <bp-checks.h>.
29054 (msgctl): Do not use CHECK_1.
29055 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
29056 <bp-checks.h>.
29057 (shmctl): Do not use CHECK_1.
29058 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
29059 (ustat): Do not use CHECK_1.
29060 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
29061 <bp-checks.h>.
29062 (__fxstat): Do not use CHECK_1.
29063 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29064 <bp-checks.h>.
29065 (__fxstatat): Do not use CHECK_1.
29066 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
29067 <bp-checks.h>.
29068 (__lxstat): Do not use CHECK_1.
29069 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
29070 <bp-checks.h>.
29071 (__xstat): Do not use CHECK_1.
29072 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
29073 (__xstat): Do not use CHECK_1.
29074 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
29075 (___xstat64): Do not use CHECK_1.
29076
b2c9eff4
JM
29077 [BZ #13550]
29078 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
29079 definitions.
29080 (CHECK_BOUNDS_HIGH): Likewise.
29081 * string/strcpy.c: Do not include <bp-checks.h>.
29082 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
29083
f1d70dad
RM
290842013-02-07 Roland McGrath <roland@hack.frob.com>
29085
29086 * nscd/nscd-client.h (__nscd_drop_map_ref):
29087 Add __attribute__ ((unused)).
29088 * nis/nss-nisplus.h (niserr2nss): Likewise.
29089
29090 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
29091 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
29092
29093 * csu/libc-tls.c (init_static_tls, init_slotinfo):
29094 Remove inline keyword.
29095 * include/rounding-mode.h (round_away): Likewise.
29096 * libio/wfileops.c (adjust_wide_data): Likewise.
29097 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
29098 (__m128i_strloadu_tolower): Likewise.
29099 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
29100 (__m128i_strloadu_tolower): Likewise.
29101 * time/mktime.c (ydhms_diff): Likewise.
29102 * locale/elem-hash.h (elem_hash): Likewise.
29103 * locale/setlocale.c (setdata): Likewise.
29104 * posix/regex_internal.h (re_string_char_size_at): Likewise.
29105 (re_string_wchar_at): Likewise.
29106 (bitset_not, bitset_merge, bitset_mask): Likewise.
29107 [!(__GNUC__ > 3)] (inline): Remove macro.
29108 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
29109 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
29110 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29111 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29112 * string/memcmp.c (memcmp_bytes): Likewise.
29113 * locale/programs/locarchive.c (compute_hashval): Likewise.
29114 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
29115 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29116 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
29117 * nss/getent.c (print_rpc, print_protocols): Likewise.
29118 (print_passwd, print_group, print_aliases): Likewise.
29119 * nis/nss-nisplus.h (niserr2nss): Likewise.
29120 * nscd/connections.c (restart_p): Likewise.
29121 Change return type to bool.
29122
eab55bfb
RM
291232013-02-05 Roland McGrath <roland@hack.frob.com>
29124
7bd642f5
RM
29125 * Makeconfig (all-Depend-files): Add existing
29126 $(sorted-subdirs:=/Depend) files.
29127 (all-subdirs): Remove nss.
29128 * sysdeps/unix/inet/Subdirs: Add it here instead.
29129 * hesiod/Depend: New file.
29130
573c29b2
RM
29131 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
29132 instead of calling alloca.
29133
b2e25af0
RM
29134 * io/lseek.c (__lseek): Rename to __libc_lseek.
29135 Define __lseek as an alias.
29136
eab55bfb
RM
29137 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
29138
9a0d1941
CD
291392013-02-04 Carlos O'Donell <carlos@redhat.com>
29140
29141 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
29142 else clause and remove check for non-standard endianness.
29143
b83bbec4
DM
291442013-02-04 David S. Miller <davem@davemloft.net>
29145
29146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29147
6277fdab
JM
291482013-02-04 Joseph Myers <joseph@codesourcery.com>
29149
29150 [BZ #13550]
29151 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
29152 (__ubp_memchr): Remove prototype.
29153 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
29154 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29155 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
29156 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29157 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
29158 Remove alias.
29159 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
29160 (__ubp_memchr): Likewise.
29161 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
29162 (__ubp_memchr): Likewise.
29163 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
29164 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
29165 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
29166 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
29167 CHECK_STRING.
29168 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29169 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
29170 (__getcwd): Do not use CHECK_STRING.
29171 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29172 <bp-checks.h>.
29173 (__real_chown): Do not use CHECK_STRING.
29174 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
29175 <bp-checks.h>.
29176 (fchownat): Do not use CHECK_STRING.
29177 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
29178 CHECK_STRING.
29179 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29180 <bp-checks.h>.
29181 (__lchown): Do not use CHECK_STRING.
29182 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29183 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29184 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29185 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29187 include <bp-checks.h>.
29188 (truncate64): Do not use CHECK_STRING.
29189 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29190 <bp-checks.h>.
29191 (__real_chown): Do not use CHECK_STRING.
29192 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29193 <bp-checks.h>.
29194 (__lchown): Do not use CHECK_STRING.
29195 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29196 <bp-checks.h>.
29197 (__chown): Do not use CHECK_STRING.
29198 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
29199 <bp-checks.h>.
29200 (truncate64): Do not use CHECK_STRING.
29201 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
29202 Likewise.
29203 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
29204 (__xmknod): Do not use CHECK_STRING.
29205 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29206 <bp-checks.h>.
29207 (__xmknodat): Do not use CHECK_STRING.
29208 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29209 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
29210
903ae060
AS
292112013-02-04 Andreas Schwab <schwab@suse.de>
29212
29213 [BZ #14142]
29214 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
29215 * include/netdb.h: Likewise for h_errno.
29216 * elf/tst-stackguard1.c: Include <tls.h>.
29217
542f9466
JK
292182013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
29219
29220 * elf/link.h (struct link_map): Extend the l_addr comment.
29221 * include/link.h (struct link_map): Likewise.
29222
e782a927
JM
292232013-02-01 Joseph Myers <joseph@codesourcery.com>
29224
29225 [BZ #13550]
29226 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
29227 (BOUNDED_1): Remove macro.
29228 * debug/backtrace.c: Don't include <bp-checks.h>.
29229 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
29230 (__backtrace): Likewise.
29231 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
29232 <bp-checks.h>.
29233 (__backtrace): Don't use BOUNDED_1.
29234 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
29235 <bp-checks.h>.
29236 (__backtrace): Don't use BOUNDED_1.
29237 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
29238 (__backtrace): Don't use BOUNDED_1.
29239 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
29240 (shmat): Don't use BOUNDED_N.
29241
8cf28c5e
JM
292422013-01-31 Joseph Myers <joseph@codesourcery.com>
29243
3a7ac8a0
JM
29244 [BZ #13550]
29245 * sysdeps/generic/bp-start.h: Remove file.
29246 * csu/libc-start.c: Don't include <bp-start.h>.
29247 (LIBC_START_MAIN): Set up __environ directly instead of using
29248 INIT_ARGV_and_ENVIRON.
29249 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
29250 <bp-start.h>.
29251
f3499f95
JM
29252 [BZ #13550]
29253 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
29254 definitions.
29255 (CHECK_FCNTL): Likewise.
29256 (CHECK_N_PAGES): Likewise.
29257
32a45bea
JM
29258 [BZ #13550]
29259 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
29260 definitions.
29261 (CHECK_SIGSET_NULL_OK): Likewise.
29262 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
29263 <bp-checks.h>.
29264 (sigpending): Don't use CHECK_SIGSET.
29265 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
29266 <bp-checks.h>.
29267 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29268 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
29269 <bp-checks.h>.
29270 (do_sigsuspend): Don't use CHECK_SIGSET.
29271 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
29272 use CHECK_SIGSET.
29273 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
29274 (do_sigwait): Don't use CHECK_SIGSET.
29275 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
29276 use CHECK_SIGSET.
29277 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
29278 include <bp-checks.h>.
29279 (sigpending): Don't use CHECK_SIGSET.
29280 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
29281 include <bp-checks.h>.
29282 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29283 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
29284 <bp-checks.h>.
29285 (sigpending): Don't use CHECK_SIGSET.
29286 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
29287 <bp-checks.h>.
29288 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29289
2e8a5c8c
JM
29290 [BZ #13550]
29291 * sysdeps/generic/bp-semctl.h: Remove file.
29292 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
29293 <bp-checks.h> and <bp-semctl.h>.
29294 (__old_semctl): Don't use CHECK_SEMCTL.
29295 (__new_semctl): Likewise.
29296 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
29297 and <bp-semctl.h>.
29298 (__old_semctl): Don't use CHECK_SEMCTL.
29299 (__new_semctl): Likewise.
29300 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
29301 <bp-checks.h> and <bp-semctl.h>.
29302 (__old_semctl): Don't use CHECK_SEMCTL.
29303 (__new_semctl): Likewise.
29304 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
29305 <bp-checks.h> and <bp-semctl.h>.
29306 (semctl): Don't use CHECK_SEMCTL.
29307
c2d54929
JM
29308 [BZ #13550]
29309 * Makerules (elide-bp-thunks): Remove variable.
29310 (elide-routines.oS): Don't use $(elide-bp-thunks).
29311 (elide-routines.os): Likewise.
29312 (elide-routines.o): Likewise.
29313 (elide-routines.op): Likewise.
29314 (elide-routines.og): Likewise.
29315 (objects): Don't use $(bp-thunks).
29316 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
29317 include.
29318 (common-generated): Do not add s-proto-bp.d.
29319 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
29320 (int): Likewise.
29321 (typ): Likewise.
29322 Do not generate makefile rules for bounded-pointer thunks.
29323 * sysdeps/generic/bp-thunks.h: Remove file.
29324 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
29325 * sysdeps/unix/s-proto-bp.S: Likewise.
29326
8cf28c5e
JM
29327 [BZ #15062]
29328 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
29329 parts of result separately when argument is not close to line from
29330 -i to i and one part of argument is small.
29331 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29332 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29333 * math/libm-test.inc (cacos_test): Add more tests.
29334 (casin_test): Likewise.
29335 (casinh_test): Likewise.
29336 * sysdeps/i386/fpu/libm-test-ulps: Update.
29337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29338
c4e33b8d
DM
293392013-01-31 David S. Miller <davem@davemloft.net>
29340
29341 * po/de.po: Update from translation team.
29342
3b60b421
MK
293432013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
29344
29345 * time/tzfile.c: Include stdint.h for SIZE_MAX.
29346
bb931195
TS
293472013-01-25 Thomas Schwinge <thomas@codesourcery.com>
29348
b5a5da23
TS
29349 * configure.in (_AC_PROG_CC_C89): New definition.
29350 * configure: Regenerate.
29351
bb931195
TS
29352 * configure.in (AC_PROG_CPP): New definition.
29353 * configure: Regenerate.
29354
8c53a12c
JM
293552013-01-23 Joseph Myers <joseph@codesourcery.com>
29356
29357 * debug/tst-backtrace.h: New file.
29358 * debug/tst-backtrace2.c: Include tst-backtrace.h.
29359 (ret): Remove variable.
29360 (x): Likewise.
29361 (FAIL): Remove macro.
29362 (NO_INLINE): Likewise.
29363 (fn1): Use match function instead of strstr.
29364 * debug/tst-backtrace3.c: Include tst-backtrace.h.
29365 (ret): Remove variable.
29366 (x): Likewise.
29367 (FAIL): Remove macro.
29368 (NO_INLINE): Likewise.
29369 (fn): Use match function instead of strstr.
29370 * debug/tst-backtrace4.c: Include tst-backtrace.h.
29371 (ret): Remove variable.
29372 (x): Likewise.
29373 (FAIL): Remove macro.
29374 (NO_INLINE): Likewise.
29375 (handle_signal): Use match function instead of strstr.
29376 * debug/tst-backtrace5.c: Include tst-backtrace.h.
29377 (ret): Remove variable.
29378 (x): Likewise.
29379 (FAIL): Remove macro.
29380 (NO_INLINE): Likewise.
29381 (handle_signal): Use match function instead of strstr.
29382
4858fa2a
RM
293832013-01-23 Roland McGrath <roland@hack.frob.com>
29384
29385 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
29386
bae8e7f5
DM
293872013-01-23 David S. Miller <davem@davemloft.net>
29388
29389 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
29390 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
29391 argument of CAS if possible.
29392 * sysdeps/sparc/sparc64/bits/atomic.h
29393 (__arch_compare_and_exchange_val_32_acq): Likewise.
29394 (__arch_compare_and_exchange_val_64_acq): Likewise.
29395
9cbbc4ae
PT
293962013-01-23 Pino Toscano <toscano.pino@tiscali.it>
29397
29398 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
29399 * sysdeps/posix/ulimit.c: ... this.
92a601b8 29400 Include <limits.h>.
67b3f58c 29401 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 29402
5655a0b5
AC
294032013-01-23 Adam Conrad <adconrad@0c3.net>
29404
29405 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
29406 (LDFLAGS-tst-array5): Likewise.
29407
052aff95
JM
294082013-01-23 Joseph Myers <joseph@codesourcery.com>
29409
29410 [BZ #15036]
29411 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
29412 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
29413 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
29414 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
29415
7c1e01aa
DM
294162013-01-21 David S. Miller <davem@davemloft.net>
29417
29418 * sysdeps/sparc/backtrace.c: New file.
29419 * sysdeps/sparc/sparc32/backtrace.h: New file.
29420 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
29421 * sysdeps/sparc/sparc64/backtrace.h: New file.
29422 * sysdeps/sparc/sparc64/backtrace.c: Delete.
29423 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
29424 -funwind-tables.
29425
ab087e0a
AS
294262013-01-21 Andreas Schwab <schwab@suse.de>
29427
29428 [BZ #15020]
29429 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
29430 closed its stdout.
29431
ed689c2f
AS
294322013-01-20 Andreas Schwab <schwab@linux-m68k.org>
29433
29434 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
29435 "mpa2.h".
29436 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29437
31d470ac
JM
294382013-01-18 Joseph Myers <joseph@codesourcery.com>
29439 Mark Mitchell <mark@codesourcery.com>
29440 Tom de Vries <tom@codesourcery.com>
29441 Paul Pluzhnikov <ppluzhnikov@google.com>
29442
29443 * debug/tst-backtrace2.c: New file.
29444 * debug/tst-backtrace3.c: Likewise.
29445 * debug/tst-backtrace4.c: Likewise.
29446 * debug/tst-backtrace5.c: Likewise.
29447 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
29448 (CFLAGS-tst-backtrace3.c): Likewise.
29449 (CFLAGS-tst-backtrace4.c): Likewise.
29450 (CFLAGS-tst-backtrace5.c): Likewise.
29451 (LDFLAGS-tst-backtrace2): Likewise.
29452 (LDFLAGS-tst-backtrace3): Likewise.
29453 (LDFLAGS-tst-backtrace4): Likewise.
29454 (LDFLAGS-tst-backtrace5): Likewise.
29455 (tests): Add new tests tst-backtrace2, tst-backtrace3,
29456 tst-backtrace4 and tst-backtrace5.
29457
90567f30 294582013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
29459 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29460
29461 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
29462 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
29463 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
29464 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
29465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29466 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
29467 "+r" and remove output regs list as redundant. Add explicit inline
29468 asm to specify register of return val to work around compiler codegen
29469 bug. Remove (int) cast on return value. Add return type parameter to
29470 use in macro so that this macro does not truncate return value for
29471 64-bit values.
29472 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
29473 pass to INTERNAL_VSYSCALL_NCS.
29474 (INLINE_VSYSCALL): Add 'long int' as return type to
29475 INTERNAL_VSYSCALL_NCS macro invocation.
29476 (INTERNAL_VSYSCALL): Add 'long int' as return type to
29477 INTERNAL_VSYSCALL_NCS macro invocation.
29478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29479
d3b9ea61
SP
294802013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29481
0b57daeb
SP
29482 [BZ #14496]
29483 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
29484 Fix application of SIMD FP exception mask.
29485
caa99d06
SP
29486 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
29487 mp_no from a power of two.
29488 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
29489 __mpexp_twomm1. Use __pow_mp.
29490
d3b9ea61
SP
29491 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
29492 multiplication.
29493
1dbaee3c
DM
294942013-01-17 David S. Miller <davem@davemloft.net>
29495
29496 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29497
728d7b43
JM
294982013-01-17 Joseph Myers <joseph@codesourcery.com>
29499
29500 [BZ #15023]
29501 * include/complex.h: Condition contents on [!_COMPLEX_H].
29502 (__kernel_casinhf): New prototype.
29503 (__kernel_casinh): Likewise.
29504 (__kernel_casinhl): Likewise.
29505 * math/Makefile (libm_calls): Add k_casinh.
29506 * math/k_casinh.c: New file.
29507 * math/k_casinhf.c: Likewise.
29508 * math/k_casinhl.c: Likewise.
29509 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
29510 finite nonzero arguments.
29511 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
29512 finite nonzero arguments.
29513 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
29514 finite nonzero arguments.
29515 * math/s_casinh.c: Do not include <float.h>.
29516 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
29517 * math/s_casinhf.c: Do not include <float.h>.
29518 (__casinhf): Move code for finite nonzero arguments to
29519 k_casinhf.c.
29520 * math/s_casinhl.c: Do not include <float.h>.
29521 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
29522 redefine.
29523 (__casinhl): Move code for finite nonzero arguments to
29524 k_casinhl.c.
29525 * math/libm-test.inc (cacos_test): Add more tests.
29526 * sysdeps/i386/fpu/libm-test-ulps: Update.
29527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29528
2a26ef3a
PT
295292013-01-17 Pino Toscano <toscano.pino@tiscali.it>
29530
29531 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
29532 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
29533 [!HAVE_MREMAP]: Remove [defined linux] case.
29534 * malloc/arena.c: Do not include <malloc-sysdep.h>.
29535
a897655d
SP
295362013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29537
29538 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
29539
881ebe89 295402013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
29541
29542 * elf/elf.h (R_386_SIZE32): New relocation.
29543 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
29544 R_386_SIZE32.
29545 (elf_machine_rela): Likewise.
29546 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29547 R_X86_64_SIZE64 and R_X86_64_SIZE32.
29548
59981e9b
JM
295492013-01-17 Joseph Myers <joseph@codesourcery.com>
29550
29551 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
29552 (FP_FAST_FMA): Do not define.
29553 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
29554 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
29555 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
29556 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
29557 !_SOFT_FLOAT]: Likewise.
29558 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
29559 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
29560 value.
29561 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
29562 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
29563 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
29564 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
29565 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
29566 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
29567 file.
29568
cfa8054f
AS
295692013-01-16 Andreas Schwab <schwab@suse.de>
29570
29571 [BZ #14327]
29572 * include/stdlib.h (__mktemp): Add declaration.
29573 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
29574 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
29575
dd930cc5
SP
295762013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29577
881ebe89
SP
29578 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
29579 definitions.
29580 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29581 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
29582 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
29583 definitions here.
29584 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
29585 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
29586 definitions.
29587 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
29588 and ONE.
29589 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
29590 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
29591 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
29592 definitions.
29593 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
29594 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
29595 definitions.
29596 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 29597
dd930cc5
SP
29598 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
29599
c19a9f89
DM
296002013-01-15 David S. Miller <davem@davemloft.net>
29601
1aa61767
DM
29602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29603 trunc{,f} to libm-sysdep_routes.
29604 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
29606 file.
29607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
29608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
29609 file.
29610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
29611 file.
29612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
29613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
29614 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
29615 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
29616 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
29617 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
29618 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
29619 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
29620
c42d5e98
DM
29621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29622 nearbyint{,f} to libm-sysdep_routes.
29623 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
29625 New file.
29626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
29627 file.
29628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
29629 New file.
29630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
29631 file.
29632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
29633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
29634 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
29635 file.
29636 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
29637 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
29638 file.
29639 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
29640 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
29641 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
29642
c19a9f89
DM
29643 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29644 libc_feholdexcept and libc_fesetenv.
29645
357679d2
MF
296462013-01-15 Mike Frysinger <vapier@gentoo.org>
29647
29648 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
29649
65a82e3d
DM
296502013-01-14 David S. Miller <davem@davemloft.net>
29651
8b954ab9
DM
29652 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
29653 (SPARC_ASM_VIS2_IFUNC): Likewise.
29654 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
29655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
29656 use of 'siam' instruction.
29657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
29658 Likewise.
29659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
29660 Likewise.
29661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
29662 Likewise.
29663 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
29664 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
29665 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
29666 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
29667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
29668 file.
29669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
29670 file.
29671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
29672 file.
29673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
29674 file.
29675 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
29676 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
29677 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
29678 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
29679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
29680 new VIS2 routines.
29681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29684 Likewise.
29685 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29686 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29687 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29688 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
29690 routines to libm-sysdep_routines.
29691 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29692
65a82e3d
DM
29693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29694 fdim/fdimf to libm-sysdep_routines.
29695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
29696 file.
29697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
29698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
29699 file.
29700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
29701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
29702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
29703 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
29704 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
29705 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
29706 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
29707
e34ab705
SP
297082013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29709
2a91b573
SP
29710 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
29711 to optimize copies.
29712
1066a534
SP
29713 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
29714 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29715 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29716
e34ab705
SP
29717 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
29718 local variable MPTWO.
29719 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29720 Likewise.
29721
aba5e596
MF
297222013-01-13 Mike Frysinger <vapier@gentoo.org>
29723
29724 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
29725 GLOB_NOESCAPE.
29726
e557e9e5
MF
297272013-01-13 Mike Frysinger <vapier@gentoo.org>
29728
29729 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
29730
0428cec9
MF
297312013-01-13 Mike Frysinger <vapier@gentoo.org>
29732
29733 * manual/pattern.texi (glob_t): Document gl_flags.
29734 (glob64_t): Likewise.
29735
8794a964
DM
297362013-01-11 David S. Miller <davem@davemloft.net>
29737
66438c3f
RM
29738 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
29739 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
29740 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
29741 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
29742 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
29743 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
29744 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
29745 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
29746 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
29747 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
29748 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
29749 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
29750 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
29751
4ae4244d
DM
29752 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29753 sparc V9 rather than using V8 code.
29754 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29755 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29756
8794a964
DM
29757 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29758 Move to...
29759 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
29760 Here.
29761
6270516e
RM
297622013-01-11 Roland McGrath <roland@hack.frob.com>
29763
29764 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
29765 not in the main loop.
29766 * configure: Regenerated.
29767
6a57d931
JM
297682013-01-11 Joseph Myers <joseph@codesourcery.com>
29769
29770 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
29771 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
29772 to just #else.
29773 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
29774 [!__GLIBC_HAVE_LONG_LONG] case.
29775 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
29776 condition to just #else.
29777 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
29778 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
29779 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
29780 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
29781 unconditional.
29782 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
29783 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29784 #elif condition to just #else.
29785 * sysdeps/unix/sysv/linux/sys/sysmacros.h
29786 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
29787 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29788 #elif condition to just #else.
29789
0e8529e9
SE
297902013-01-11 Steve Ellcey <sellcey@mips.com>
29791
29792 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
29793 (EF_MIPS_ARCH_64): Fix value.
29794 (EF_MIPS_ARCH_32R2): New.
29795 (EF_MIPS_ARCH_64R2): New.
29796
740b3dbe
L
297972013-01-11 H.J. Lu <hongjiu.lu@intel.com>
29798
29799 * Makeconfig (+link-pie-before-libc): New.
29800 (+link-pie-after-libc): Likewise.
29801 (+link-pie-tests): Likewise.
29802 (+link-pie): Rewritten.
29803 (link-before-libc): Remove $(config-LDFLAGS).
29804 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
29805 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
29806 (config-LDFLAGS): Renamed to ...
29807 (rtld-LDFLAGS): This.
29808 (rtld-tests-LDFLAGS): New macro.
29809 (link-libc-rpath-link): Likewise.
29810 (link-libc-tests-rpath-link): Likewise.
29811 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
29812 (link-libc): Prepand $(link-libc-rpath-link).
29813 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
29814 (test-program-prefix): New macro.
29815 (test-via-rtld-prefix): Likewise.
29816 (test-program-cmd): Likewise.
29817 (host-test-program-cmd): Likewise.
29818 * Makefile ($(common-objpfx)testrun.sh): Replace
29819 $(run-program-prefix) with $(test-program-prefix).
29820 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
29821 $(rtld-LDFLAGS).
29822 ($(common-objpfx)shlib.lds): Likewise.
29823 (build-module-helper): Likewise.
29824 ($(common-objpfx)format.lds): Likewise.
29825 * Rules (binaries-pie-tests): New.
29826 (binaries-pie-notests): Likewise.
29827 (binaries-pie): Rewritten.
29828 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
29829 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
29830 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
29831 (make-test-out): Replace $(host-built-program-cmd) with
29832 $(host-test-program-cmd).
29833 * config.make.in (build-hardcoded-path-in-tests): New variable.
29834 * configure.in (--enable-hardcoded-path-in-tests): New configure
29835 option.
29836 (hardcoded_path_in_tests): New AC_SUBST.
29837 * configure: Regenerated.
29838 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
29839 $(built-program-cmd) with $(test-program-cmd).
29840 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
29841 (test_program_cmd): This.
29842 * elf/Makefile ($(objpfx)order.out): Run test with
29843 $(test-program-prefix).
29844 ($(objpfx)order2.out): Likewise.
29845 ($(objpfx)tst-initorder.out): Likewise.
29846 ($(objpfx)tst-initorder2.out): Likewise.
29847 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
29848 $(test-program-cmd).
29849 ($(objpfx)tst-array1-static.out): Likewise.
29850 ($(objpfx)tst-array2.out): Likewise.
29851 ($(objpfx)tst-array3.out): Likewise.
29852 ($(objpfx)tst-array4.out): Likewise.
29853 ($(objpfx)tst-array5.out): Likewise.
29854 ($(objpfx)tst-array5-static.out): Likewise.
29855 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
29856 $(test-program-cmd).
29857 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
29858 $(run-program-prefix) with $(test-program-prefix).
29859 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
29860 (test_program_prefix): This.
29861 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
29862 $(run-program-prefix) with $(test-program-prefix).
29863 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
29864 (test_program_prefix): This.
29865 * iconvdata/tst-tables.sh: Likewise.
29866 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
29867 $(run-program-prefix) with $(test-program-prefix).
29868 ($(objpfx)tst-translit.out): Likewise.
29869 ($(objpfx)tst-gettext2.out): Likewise.
29870 ($(objpfx)tst-gettext4.out): Likewise.
29871 ($(objpfx)tst-gettext6.out): Likewise.
29872 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
29873 (test_program_prefix): This.
29874 * intl/tst-gettext2.sh: Likewise.
29875 * intl/tst-gettext4.sh Likewise.
29876 * intl/tst-gettext6.sh: Likewise.
29877 * intl/tst-translit.sh: Likewise.
29878 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
29879 with $(test-program-cmd).
29880 * libio/Makefile ($(objpfx)test-freopen.out): Replace
29881 $(run-program-prefix) with $(test-program-prefix).
29882 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
29883 (test_program_prefix): This.
29884 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
29885 $(run-program-prefix) with $(test-program-prefix).
29886 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
29887 (test_program_prefix): This.
29888 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
29889 * posix/Makefile ($(objpfx)globtest.out): Replace
29890 $(run-via-rtld-prefix) and $(test-wrapper) with
29891 $(test-program-prefix) and $(test-via-rtld-prefix).
29892 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
29893 $(test-program-prefix).
29894 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
29895 $(host-test-program-cmd).
29896 (tst-spawn-ARGS): Likewise.
29897 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
29898 $(test-program-prefix).
29899 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
29900 (test_via_rtld_prefix): This.
29901 (test_wrapper): Renamed to ...
29902 (test_program_prefix): This.
29903 (run_program_prefix): Replaced by test_program_prefix.
29904 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
29905 (test_program_prefix): This.
29906 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
29907 with $(host-test-program-cmd).
29908 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
29909 $(run-program-prefix) with $(test-program-prefix).
29910 ($(objpfx)tst-printf.out): Likewise.
29911 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
29912 $(test-program-cmd).
29913 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
29914 (test_program_prefix): This.
29915 * stdio-common/tst-unbputc.sh: Likewise.
29916 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
29917 $(run-program-prefix) with $(test-program-prefix).
29918 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
29919 (test_program_prefix): This.
29920 * string/Makefile ($(objpfx)tst-svc.out): Replace
29921 $(built-program-cmd) with $(test-program-cmd).
29922
c6fe55cf
AJ
299232013-01-11 Andreas Jaeger <aj@suse.de>
29924
29925 [BZ #15003]
29926 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
29927 value. Sync with Linux 3.7.
29928
9e6919c8
DM
299292013-01-10 David S. Miller <davem@davemloft.net>
29930
29931 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
29932 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29933 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29934
1c9f1a02
RM
299352013-01-10 Roland McGrath <roland@hack.frob.com>
29936
29937 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
29938 never set.
29939 * configure: Regenerated.
29940
b9de2dde
DM
299412013-01-10 David S. Miller <davem@davemloft.net>
29942
29943 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29944 sparc V9 rather than using V8 code.
29945 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29946 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29947
e7f68ef4
RM
299482013-01-10 Roland McGrath <roland@hack.frob.com>
29949
29950 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
29951 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
29952 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
29953 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
29954 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
29955 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
29956 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
29957 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
29958 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
29959 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
29960 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
29961 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
29962 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
29963 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
29964 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
29965 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
29966 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
29967 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
29968 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
29969 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
29970 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
29971 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
29972 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
29973 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
29974 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
29975 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
29976 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
29977
5a47cc9c
DM
299782013-01-10 David S. Miller <davem@davemloft.net>
29979
29980 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29981
4cf8f209
L
299822013-01-10 H.J. Lu <hongjiu.lu@intel.com>
29983
29984 * posix/Makefile (tests-static): New variable.
29985 (tests): Add $(tests-static).
29986 (tst-exec-static-ARGS): New variable.
29987 (tst-spawn-static-ARGS): Likewise.
29988 * posix/tst-exec-static.c: New file.
29989 * posix/tst-spawn-static.c: Likewise.
29990 * posix/tst-exec.c: Support run directly.
29991 * posix/tst-spawn.c: Likewise.
29992
fed0faa1
JM
299932013-01-10 Joseph Myers <joseph@codesourcery.com>
29994
828beb13
JM
29995 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
29996 long.
29997 * math/bits/mathcalls.h (llrint): Likewise.
29998 (llround): Likewise.
29999 * stdlib/stdlib.h (struct drand48_data): Likewise.
30000 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
30001 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
30002 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
30003 Likewise.
30004 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
30005 Likewise.
30006 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
30007 (elf_greg_t): Likewise.
30008 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
30009 (__jmp_buf): Likewise.
30010 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
30011 definitions.
30012 (llrint): Likewise, for all definitions.
30013 (llrintl): Likewise.
30014
fed0faa1
JM
30015 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
30016 Remove [__GNUC__] condition.
30017 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
30018 condition to just [__USE_ISOC99].
30019 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
30020
1a20cb20
L
300212013-01-10 H.J. Lu <hongjiu.lu@intel.com>
30022
30023 [BZ #14200]
30024 * sysdeps/unix/sysv/linux/x86/bits/environments.h
30025 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
30026 defined.
30027 (_POSIX_V6_ILP32_OFF32): Likewise.
30028 (_XBS5_ILP32_OFF32): Likewise.
30029 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
30030 (__ILP32_OFFBIG_LDFLAGS): Likewise.
30031
751b85f7
SP
300322013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30033
7490eb81
SP
30034 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
30035
751b85f7
SP
30036 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
30037 doubles __mpexp_twomm1. Adjust usage.
30038 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
30039 Remove.
30040
988197f0
AS
300412013-01-10 Andreas Schwab <schwab@suse.de>
30042
30043 [BZ #14964]
30044 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
30045 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
30046
e83d7298
DM
300472013-01-09 David S. Miller <davem@davemloft.net>
30048
034ed64b 30049 [BZ #15003]
57f41c40
AS
30050 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
30051 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
30052 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
30053 (TCP_FASTOPEN): Define.
e83d7298
DM
30054 (tcp_repair_opt): New structure.
30055 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
30056 enum values.
57f41c40
AS
30057 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
30058 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
30059 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
30060 (tcp_cookie_transactions): New structure.
30061
d5e0b9bd
AB
300622013-01-09 Anton Blanchard <anton@samba.org>
30063
30064 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
30065 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
30066 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
30067 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
30068
0c07e3ea
JM
300692013-01-09 Joseph Myers <joseph@codesourcery.com>
30070
30071 * include/features.h (__USE_ANSI): Remove.
30072
232f7002
RM
300732013-01-09 Roland McGrath <roland@hack.frob.com>
30074
ad98e30c
RM
30075 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
30076
232f7002
RM
30077 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
30078
950c99ca
SP
300792013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
30080
b5792741
SP
30081 * sysdeps/s390/fpu/libm-test-ulps: Update.
30082
47cf2278
SP
30083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30084
950c99ca
SP
30085 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
30086 (__acr): Likewise.
30087 (__cpy): Likewise.
30088 (norm): Likewise.
30089 (denorm): Likewise.
30090 (__mp_dbl): Likewise.
30091 (__dbl_mp): Likewise.
30092 (add_magnitudes): Likewise.
30093 (sub_magnitudes): Likewise.
30094 (__add): Likewise.
30095 (__sub): Likewise.
30096 (__mul): Likewise.
30097 (__inv): Likewise.
30098 (__dvd): Likewise.
30099 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
30100 (__acr): Likewise.
30101 (__cpy): Likewise.
30102 (norm): Likewise.
30103 (denorm): Likewise.
30104 (__mp_dbl): Likewise.
30105 (__dbl_mp): Likewise.
30106 (add_magnitudes): Likewise.
30107 (sub_magnitudes): Likewise.
30108 (__add): Likewise.
30109 (__sub): Likewise.
30110 (__mul): Likewise.
30111 (__inv): Likewise.
30112 (__dvd): Likewise.
30113 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
30114 (__acr): Likewise.
30115 (__cpy): Likewise.
30116 (norm): Likewise.
30117 (denorm): Likewise.
30118 (__mp_dbl): Likewise.
30119 (__dbl_mp): Likewise.
30120 (add_magnitudes): Likewise.
30121 (sub_magnitudes): Likewise.
30122 (__add): Likewise.
30123 (__sub): Likewise.
30124 (__mul): Likewise.
30125 (__inv): Likewise.
30126 (__dvd): Likewise.
30127
eede9df9
JM
301282013-01-08 Joseph Myers <joseph@codesourcery.com>
30129
30130 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
30131 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
30132 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
30133 2 && __USE_EXTERN_INLINES]: Likewise.
30134
c40ea3d9
AJ
301352013-01-08 Andreas Jaeger <aj@suse.de>
30136
30137 [BZ# 14985]
30138 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
30139 Remove.
30140 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30141 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30142
2ccdea26
AB
301432013-01-07 Anton Blanchard <anton@samba.org>
30144
30145 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
30146 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30147 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
30148 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30149 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30150 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30151 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
30152 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30153 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30154 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30155 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30156 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30157 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30158 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30159 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30160 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30161 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30162 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30163 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30164 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30165 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30166 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
30167 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30168 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30169 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
30170 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30171 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30172 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30173 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
30174 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30175 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30176 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30177 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30178 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30179 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30180 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30181 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30182 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30183 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
30184 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
30185 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
30186 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30187 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30188
a9708fed
JM
301892013-01-07 Joseph Myers <joseph@codesourcery.com>
30190
375607b9
JM
30191 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
30192 (__MALLOC_PMT): Likewise.
30193 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
30194 [__GNUC__], only on [_LIBC].
30195 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30196 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
30197 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30198 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
30199 forward declaration.
30200 (realloc_hook_ini): Likewise.
30201 (memalign_hook_ini): Likewise.
30202 (__libc_memalign): Do not use __MALLOC_PMT in variable
30203 declaration.
30204 (__libc_valloc): Likewise.
30205 (__libc_pvalloc): Likewise.
30206 (__libc_calloc): Likewise.
30207 (__posix_memalign): Likewise.
30208
a9708fed
JM
30209 [BZ #14996]
30210 * math/s_casinh.c: Include <float.h>.
30211 (__casinh): Do not do computation with squaring and square root
30212 for large arguments.
30213 * math/s_casinhf.c: Include <float.h>.
30214 (__casinhf): Do not do computation with squaring and square root
30215 for large arguments.
30216 * math/s_casinhl.c: Include <float.h>.
30217 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
30218 (__casinhl): Do not do computation with squaring and square root
30219 for large arguments.
30220 * math/libm-test.inc (casin_test): Add more tests.
30221 (casinh_test): Likewise.
30222 * sysdeps/i386/fpu/libm-test-ulps: Update.
30223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30224
afec409a
L
302252013-01-04 H.J. Lu <hongjiu.lu@intel.com>
30226
30227 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
30228 (__x86_64_raw_data_cache_size): Likewise.
30229 (__x86_64_data_cache_size_half): Likewise.
30230 (__x86_64_raw_data_cache_size_half): Likewise.
30231 (__x86_64_shared_cache_size): Likewise.
30232 (__x86_64_raw_shared_cache_size): Likewise.
30233 (__x86_64_shared_cache_size_half): Likewise.
30234 (__x86_64_raw_shared_cache_size_half): Likewise.
30235 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
30236 to ...
30237 (__x86_data_cache_size): This.
30238 (__x86_64_raw_data_cache_size): Renamed to ...
30239 (__x86_raw_data_cache_size): This.
30240 (__x86_64_data_cache_size_half): Renamed to ...
30241 (__x86_data_cache_size_half): This.
30242 (__x86_64_raw_data_cache_size_half): Renamed to ...
30243 (__x86_raw_data_cache_size_half): This.
30244 (__x86_64_shared_cache_size): Renamed to ...
30245 (__x86_shared_cache_size): This.
30246 (__x86_64_raw_shared_cache_size): Renamed to ...
30247 (__x86_raw_shared_cache_size): This.
30248 (__x86_64_shared_cache_size_half): Renamed to ...
30249 (__x86_shared_cache_size_half): This.
30250 (__x86_64_raw_shared_cache_size_half): Renamed to ...
30251 (__x86_raw_shared_cache_size_half): This.
30252 * sysdeps/x86_64/memcpy.S: Updated.
30253 * sysdeps/x86_64/memset.S: Likewise.
30254 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30255 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30256 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30257
0b3986d0
DM
302582013-01-04 David S. Miller <davem@davemloft.net>
30259
30260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30261
e47686e9
AS
302622013-01-04 Andreas Schwab <schwab@linux-m68k.org>
30263
d643bac1
AS
30264 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
30265 1 to avoid redefinition warning.
30266 (__USE_GNU): Don't define.
30267 (init_signaling_nan): Protoize.
30268
e47686e9
AS
30269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30270
b18decba
SP
302712013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30272
fffb407f
SP
30273 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
30274 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
30275 (__cpymn): Likewise.
30276 (norm): Remove commented code.
30277 (denorm): Likewise.
30278 (__mp_dbl): Likewise.
30279 (__inv): Likewise.
30280 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
30281 (__cpymn): Likewise.
30282 (norm): Remove commented code.
30283 (denorm): Likewise.
30284 (__mp_dbl): Likewise.
30285 (__inv): Likewise.
30286
b18decba
SP
30287 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
30288 mp_no value for 1.0 and 2.0.
30289 (norm): Use RADIXI instead of radixi.d.
30290 (denorm): Likewise.
30291 (__mul): Use 0.0 instead of zero.d.
30292 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
30293 mp_no value for 1.0 and 2.0.
30294 (norm): Use RADIXI instead of radixi.d.
30295 (denorm): Likewise.
30296 (__mul): Use 0.0 instead of zero.d.
30297
cdc1c96f
JM
302982013-01-04 Joseph Myers <joseph@codesourcery.com>
30299
30300 [BZ #14994]
30301 * math/s_casinh.c (__casinh): Reduce finite argument to first
30302 quadrant then set signs of results at the end.
30303 * math/s_casinhf.c (__casinhf): Likewise.
30304 * math/s_casinhl.c (__casinhl): Likewise.
30305 * math/libm-test.inc (casin_test): Add more tests.
30306 (casinh_test): Likewise.
30307 * sysdeps/i386/fpu/libm-test-ulps: Update.
30308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30309
302913e1
SP
303102013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30311
6420d207
SP
30312 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
30313
a9e48ab4
SP
30314 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
30315
b7837264
SP
30316 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
30317 declarations.
30318 (denorm): Likewise.
30319 (__mp_dbl): Likewise.
30320 (__inv): Likewise.
30321
f8af25d2
SP
30322 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
30323 and adjust the header comment.
30324
302913e1
SP
30325 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
30326 variable name from declaration.
30327
5d7dd1ca
L
303282013-01-03 H.J. Lu <hongjiu.lu@intel.com>
30329
30330 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30331 Initialize COMMON_CPUID_INDEX_7 element.
30332 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
30333 (CPUID_RTM): Likewise.
30334 (HAS_RTM): Likewise.
30335 (COMMON_CPUID_INDEX_7): New enum.
30336
2f5f40f4
AS
303372013-01-03 Andreas Schwab <schwab@linux-m68k.org>
30338
30339 [BZ #14981]
30340 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
30341 size is zero, record memory as freed.
30342
4056f4a0
AJ
303432013-01-03 Andreas Jaeger <aj@suse.de>
30344
30345 * po/ia.po: Add new Interlingua translation.
30346
ab15736f 303472012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
30348
30349 * locale/programs/localedef.c: Fix description of '--posix' flag.
30350
568035b7
JM
303512013-01-02 Joseph Myers <joseph@codesourcery.com>
30352
e6898b8d
JM
30353 * NEWS: Update dates in second copyright notice.
30354 * README: Update copyright dates in example.
30355 * manual/libc.texinfo: Update copyright dates.
30356 * scripts/test-installation.pl: Update copyright date in --version
30357 output.
30358
0e2f9562
JM
30359 * hurd/ctty-input.c: Fix copyright notice formatting.
30360 * hurd/ctty-output.c: Likewise.
30361 * hurd/dtable.c: Likewise.
30362 * hurd/hurd-raise.c: Likewise.
30363 * hurd/hurdprio.c: Likewise.
30364 * hurd/msgportdemux.c: Likewise.
30365 * misc/sys/file.h: Likewise.
30366 * misc/sys/ioctl.h: Likewise.
30367 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30368 * sysdeps/mach/hurd/chdir.c: Likewise.
30369 * sysdeps/mach/hurd/fchdir.c: Likewise.
30370 * sysdeps/mach/hurd/rename.c: Likewise.
30371 * sysdeps/mach/hurd/rmdir.c: Likewise.
30372 * sysdeps/mach/hurd/seekdir.c: Likewise.
30373 * sysdeps/mach/hurd/setsid.c: Likewise.
30374 * sysdeps/posix/wait3.c: Likewise.
30375
568035b7
JM
30376 * All files with FSF copyright notices: Update copyright dates
30377 using scripts/update-copyrights.
30378 * intl/plural.c: Regenerated.
30379 * locale/programs/charmap-kw.h: Likewise.
30380 * locale/programs/locfile-kw.h: Likewise.
30381
da08f647
SP
303822013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30383
0f5477af
SP
30384 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
30385 four values.
30386
44e0d4c2
SP
30387 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
30388 calculation loop and add branch prediction.
30389
4d55b4e5
SP
30390 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
30391 check access beyond bounds of m1np.
30392
da08f647
SP
30393 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30394 MPTWO.
30395 (__inv): Remove local variable MPTWO to use the global
30396 constant.
30397 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
30398 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30399 variable MPTWO.
30400 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
30401 MP3HALFS static const.
30402
8e051029
DM
304032013-01-01 David S. Miller <davem@davemloft.net>
30404
30405 * po/ca.po: Update from translation team.
30406
f4cf5f2d
JM
304072013-01-01 Joseph Myers <joseph@codesourcery.com>
30408
30409 * scripts/update-copyrights: New file.
30410 * Makeconfig: Reformat copyright notice.
30411 * ctype/ctype.h: Likewise.
30412 * debug/swprintf_chk.c: Likewise.
30413 * elf/dl-cache.c: Likewise.
30414 * elf/dl-debug.c: Likewise.
30415 * elf/dl-object.c: Likewise.
30416 * grp/initgroups.c: Likewise.
30417 * hurd/Makefile: Likewise.
30418 * hurd/hurd/signal.h: Likewise.
30419 * hurd/hurdfault.c: Likewise.
30420 * hurd/hurdioctl.c: Likewise.
30421 * hurd/hurdlookup.c: Likewise.
30422 * hurd/intr-msg.c: Likewise.
30423 * iconv/gconv_open.c: Likewise.
30424 * libio/swprintf.c: Likewise.
30425 * locale/lc-ctype.c: Likewise.
30426 * locale/nl_langinfo.c: Likewise.
30427 * mach/Machrules: Likewise.
30428 * mach/Makefile: Likewise.
30429 * malloc/obstack.h: Likewise.
30430 * manual/Makefile: Likewise.
30431 * manual/tsort.awk: Likewise.
30432 * misc/bits/stab.def: Likewise.
30433 * nis/nis_print_group_entry.c: Likewise.
30434 * nis/nis_table.c: Likewise.
30435 * nis/nss_compat/compat-pwd.c: Likewise.
30436 * nis/nss_compat/compat-spwd.c: Likewise.
30437 * po/Makefile: Likewise.
30438 * posix/fnmatch.c: Likewise.
30439 * posix/regex.h: Likewise.
30440 * resolv/Makefile: Likewise.
30441 * resolv/nss_dns/dns-network.c: Likewise.
30442 * resolv/res_hconf.c: Likewise.
30443 * scripts/gen-sorted.awk: Likewise.
30444 * soft-fp/soft-fp.h: Likewise.
30445 * stdio-common/printf.h: Likewise.
30446 * stdlib/monetary.h: Likewise.
30447 * stdlib/random.c: Likewise.
30448 * stdlib/random_r.c: Likewise.
30449 * sysdeps/generic/Makefile: Likewise.
30450 * sysdeps/gnu/Makefile: Likewise.
30451 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30452 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30453 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30454 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30455 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30456 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30457 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30458 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30459 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30460 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30461 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30462 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30463 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30464 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30465 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
30466 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30467 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30468 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30469 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30470 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30471 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30472 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30473 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30474 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30475 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
30476 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30477 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30478 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
30479 * sysdeps/mach/hurd/errnos.awk: Likewise.
30480 * sysdeps/mach/hurd/fork.c: Likewise.
30481 * sysdeps/mach/hurd/getcwd.c: Likewise.
30482 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
30483 * sysdeps/mach/hurd/mmap.c: Likewise.
30484 * sysdeps/mach/hurd/utimes.c: Likewise.
30485 * sysdeps/mach/hurd/xmknod.c: Likewise.
30486 * sysdeps/posix/profil.c: Likewise.
30487 * sysdeps/posix/readdir_r.c: Likewise.
30488 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30489 * sysdeps/powerpc/bits/setjmp.h: Likewise.
30490 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
30491 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30492 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30493 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30494 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30495 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30496 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30497 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30498 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30499 * sysdeps/pthread/lio_listio.c: Likewise.
30500 * sysdeps/sparc/dl-procinfo.h: Likewise.
30501 * sysdeps/unix/i386/sysdep.S: Likewise.
30502 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
30503 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
30504 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
30505 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
30506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30507 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
30508 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
30509 * sysdeps/unix/sysv/linux/speed.c: Likewise.
30510 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30511 * sysdeps/wordsize-32/divdi3.c: Likewise.
30512 * time/sys/time.h: Likewise.
30513 * wcsmbs/Makefile: Likewise.
30514
0549fbba
DM
305152013-01-01 David S. Miller <davem@davemloft.net>
30516
a141f1a7
DM
30517 * po/fr.po: Update from translation team.
30518
0549fbba
DM
30519 * catgets/gencat.c: Update copyright year.
30520 * csu/version.c: Likewise.
30521 * debug/catchsegv.sh: Likewise.
30522 * debug/pcprofiledump.c: Likewise.
30523 * debug/xtrace.sh: Likewise.
30524 * elf/ldconfig.c: Likewise.
30525 * elf/ldd.bash.in: Likewise.
30526 * elf/pldd.c: Likewise.
30527 * elf/sotruss.ksh: Likewise.
30528 * elf/sprof.c: Likewise.
30529 * iconv/iconv_prog.c: Likewise.
30530 * iconv/iconvconfig.c: Likewise.
30531 * locale/programs/locale.c: Likewise.
30532 * locale/programs/localedef.c: Likewise.
30533 * login/programs/pt_chown.c: Likewise.
30534 * malloc/memusage.sh: Likewise.
30535 * malloc/memusagestat.c: Likewise.
30536 * malloc/mtrace.pl: Likewise.
30537 * nscd/nscd.c: Likewise.
30538 * nss/getent.c: Likewise.
30539 * nss/makedb.c: Likewise.
30540 * posix/getconf.c: Likewise.
30541
18ea052c
SP
305422012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30543
30544 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
30545 numbers.
30546
9c89fca6
MF
305472012-12-30 Mike Frysinger <vapier@gentoo.org>
30548
30549 * math/bits/mathcalls.h (modf): Use __nonnull.
30550
085ec079
SP
305512012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30552
30553 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
30554 (split): Use macro CN instead of the bare value.
30555 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
30556 could be used.
30557 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
30558 instead of the bare value.
30559 (power1): Likewise.
30560
6d9f97e1
SP
305612012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30562
d63f73be
SP
30563 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
30564 __ATAN_TWOM.
30565 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30566
6d9f97e1
SP
30567 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
30568 their values.
30569 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30570 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30571 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
30572 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30573
4c4febf5
AJ
305742012-12-28 Andreas Jaeger <aj@suse.de>
30575
af5843ef
AJ
30576 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
30577 values are from Linux 3.7.
30578
4c4febf5
AJ
30579 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
30580 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
30581
99136f82
SP
305822012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30583
2f216c3c 30584 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
30585 TRUE case.
30586
99136f82
SP
30587 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
30588 (norm): Likewise.
30589 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
30590 variables with preprocessor constants.
30591 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30592 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30593 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30594
7fffbdff
BH
305952012-12-27 Bruno Haible <bruno@clisp.org>
30596
30597 [BZ #14317]
30598 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
30599 only if needed.
30600
b76eb5f0
SP
306012012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30602
31a7fe5c
SP
30603 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
30604 and use variable directly.
30605 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
30606
b76eb5f0
SP
30607 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30608 MPONE.
30609 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
30610 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30611 variable MPONE.
30612 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30613 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30614 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
30615 include directive. Remove local variable MPONE.
30616 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
30617 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
30618 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30619
2c8bfe7d
DM
306202012-12-25 David S. Miller <davem@davemloft.net>
30621
30622 * version.h (RELEASE): Set to "development".
30623 (VERSION): Set to "2.17.90".
30624 * NEWS: Add 2.18 section.
30625
147d03b0
DM
306262012-12-21 David S. Miller <davem@davemloft.net>
30627
30628 * po/hr.po: Update from translation team.
30629
a8ebb2b9
AK
306302012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30631
30632 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
30633
95b4f1b6
SE
306342012-12-19 Steve Ellcey <sellcey@mips.com>
30635
b2d94007 30636 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 30637
cedb2a90
MS
306382012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30639
30640 * manual/contrib.texi (Contributors): Spelling correction.
30641
bbf527d6
DM
306422012-12-15 David S. Miller <davem@davemloft.net>
30643
30644 * po/ru.po: Update from translation team.
30645
bc38c906
DM
306462012-12-13 David S. Miller <davem@davemloft.net>
30647
85429b1a
DM
30648 * NEWS: Mention IFUNC testsuite enhancements.
30649
d283e353
DM
30650 * po/pl.po: Update from translation team.
30651 * po/bg.po: Likewise.
30652
bc38c906
DM
30653 * manual/contrib.texi (Contributors): Update entries for Hongjiu
30654 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
30655
a181b0d7
DM
306562012-12-11 David S. Miller <davem@davemloft.net>
30657
4641d57e
DM
30658 * po/sv.po: Update from translation team.
30659
f7bc6495
DM
30660 * po/vi.po: Update from translation team.
30661
6fc9048f
DM
30662 * po/cs.po: Update from translation team.
30663
a181b0d7
DM
30664 * po/de.po: Update from translation team.
30665 * po/eo.po: Likewise.
30666 * po/nl.po: Likewise.
30667
f70bfe80
SP
306682012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30669
3c8b4190
SP
30670 [BZ #14246]
30671 * manual/argp.texi (Argp Helper Functions): Move node to follow
30672 Argp Parsing State.
30673
f70bfe80
SP
30674 [BZ #14872]
30675 * manual/conf.texi (Limits on File System Capacity): Mention if
30676 terminating null is included in the max size.
30677
188f0adf
AJ
306782012-12-10 Andreas Jaeger <aj@suse.de>
30679
30680 * po/cs.po: Update from translation team.
30681
56e7d3ad
SP
306822012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30683
30684 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
30685 void pointer and cast to uintptr_t.
30686 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
30687 path.
30688 * sysdeps/s390/s390-64/memcpy.S: Likewise.
30689 * sysdeps/s390/s390-64/memset.S: Likewise.
30690
76f2d2ea 306912012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
30692
30693 [BZ #14833]
30694 * menual/message.texi (Message Translation): Fix typos.
30695 (Helper programs for gettext): Likewise.
30696
67cbf9a2
AS
306972012-12-07 Andreas Schwab <schwab@linux-m68k.org>
30698
30699 [BZ #14898]
30700 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
30701 Change to -1.
30702
682d0e9a
DM
307032012-12-07 David S. Miller <davem@davemloft.net>
30704
30705 * po/libc.pot: Update.
30706
573cd484
RH
307072012-12-07 Richard Henderson <rth@redhat.com>
30708
7e9da188 30709 [BZ #10114]
573cd484
RH
30710 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
30711 normal/normal case to before the switch.
30712 (_FP_DIV): Likewise.
30713
e933a943
MF
307142012-12-06 Carlos O'Donell <carlos@systemhalted.org>
30715 Mike Frysinger <vapier@gentoo.org>
30716
30717 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
30718 check for __NR_fadvise64_64.
30719
82123268
CM
307202012-12-06 Chris Metcalf <cmetcalf@tilera.com>
30721
30722 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
30723 0, not just to plain "0" as a statement.
30724 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
30725 with cw.
30726
d9814526
JM
307272012-12-06 Joseph Myers <joseph@codesourcery.com>
30728
30729 * NEWS: Use sourceware.org in Bugzilla URL.
30730
7728c574
SP
307312012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30732
f16946dd
SP
30733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30734 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30735
5704bbcb
SP
30736 * stdio-common/tst-put-error.c (do_test): Add newline to the
30737 padded test to ensure flush.
30738
17aa0516
JL
307392012-12-05 Jeff Law <law@redhat.com>
30740
30741 * sunrpc/etc.rpc (fedfs_admin): Add entry.
30742
363313b5
JM
307432012-12-05 Joseph Myers <joseph@codesourcery.com>
30744
effbd42a
JM
30745 * README: Don't refer to ports add-on as distributed separately.
30746 Mention AArch64 in list of systems supported in the ports add-on.
30747
87600365
JM
30748 * LICENSES: Add more non-FSF copyright and license notices.
30749
a0d7066a
JM
30750 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
30751 ((unused)).
30752
66ca5a5b
JM
30753 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
30754
363313b5
JM
30755 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
30756 10000 as width of padded output.
30757
b37984ad
JM
307582012-12-04 Joseph Myers <joseph@codesourcery.com>
30759
9003570a
JM
30760 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
30761
b37984ad
JM
30762 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
30763 variable LX with __attribute__ ((unused)).
30764 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30765 Likewise.
30766 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30767 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30768 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
30769 with __attribute__ ((unused)).
30770
c8df52ec
DM
307712012-12-04 David S. Miller <davem@abraco.davemloft.net>
30772
30773 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
30774
b3b099af
JM
307752012-12-04 Joseph Myers <joseph@codesourcery.com>
30776
c33aa6e3
JM
30777 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
30778 (CFLAGS-nldbl-acos.c): New variable.
30779 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
30780 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
30781 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
30782 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
30783 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
30784 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
30785 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
30786 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
30787 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
30788 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
30789 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
30790 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
30791 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
30792 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
30793 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
30794 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
30795 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
30796 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
30797 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
30798 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
30799 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
30800 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
30801 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
30802 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
30803 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
30804 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
30805 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
30806 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
30807 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
30808 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
30809 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
30810 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
30811 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
30812 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
30813 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
30814 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
30815 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
30816 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
30817 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
30818 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
30819 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
30820 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
30821 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
30822 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
30823 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
30824 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
30825 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
30826 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
30827 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
30828 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
30829 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
30830 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
30831 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
30832 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
30833 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
30834 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
30835 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
30836 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
30837 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
30838 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
30839 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
30840 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
30841 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
30842 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
30843 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
30844 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
30845 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
30846 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
30847 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
30848 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
30849 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
30850 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
30851 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
30852 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
30853 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
30854 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
30855 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
30856 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
30857 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
30858 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
30859 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
30860 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
30861 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
30862 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
30863 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
30864 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
30865 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
30866 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
30867 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
30868 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
30869 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
30870 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
30871 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
30872 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
30873 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
30874 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
30875 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
30876
20f0018d
JM
30877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30878 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30879
b3b099af
JM
30880 [BZ #14914]
30881 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
30882 whole low double instead of just low 47 bits when splitting values
30883 into two parts.
30884
029264d1
AM
308852012-12-03 Allan McRae <allan@archlinux.org>
30886
30887 * manual/stdio.texi (Predefined Printf Handlers): Remove
30888 @hsep and @vsep usage.
30889
c9d6789e
MF
308902012-12-03 Mike Frysinger <vapier@gentoo.org>
30891
30892 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
30893 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
30894
4b7634a5
JL
308952012-12-03 Jeff Law <law@redhat.com>
30896
30897 * time/sys/time.h (settimeofday): Do not mark TV argument
30898 as __nonnull.
30899
eb6cbd24
MF
309002012-12-01 Mike Frysinger <vapier@gentoo.org>
30901
30902 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
30903 when currently writing and seek to current position when not.
30904 * libio/Makefile (tests): Remove bug-fclose1.
30905 * libio/bug-fclose1.c: Delete.
30906
f638872a
JM
309072012-12-01 Joseph Myers <joseph@codesourcery.com>
30908
30909 * manual/arith.texi (feenableexcept): Fix typo.
30910 (fedisableexcept): Likewise.
30911
48085d14
RM
309122012-11-30 Roland McGrath <roland@hack.frob.com>
30913
30914 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
30915 second, differently-typed declaration, rather than a cast.
30916
1a538b9f
SP
309172012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30918
30919 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
30920 * include/rpc/svc.h: ... here.
30921
d07f2ff1 309222012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
30923
30924 [BZ #13013]
30925 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
30926 depending n and resplen2 to catch cases where answer
30927 equals answerp2.
30928
c93ec1f0
CD
309292012-11-29 Carlos O'Donell <carlos@systemhalted.org>
30930
30931 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
30932 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
30933
37db69de
MF
309342012-11-29 Mike Frysinger <vapier@gentoo.org>
30935
30936 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
30937
e10c4e4f
RM
309382012-11-29 Roland McGrath <roland@hack.frob.com>
30939
30940 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
30941
2af1b328
JL
309422012-11-28 Jeff Law <law@redhat.com>
30943
30944 [BZ #13761]
30945 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
30946 dataset_temporary. Track alloca usage into alloca_used.
30947 If dataset is large allocate and release it via malloc/free.
30948
111db5b1
FW
309492012-06-04 Florian Weimer <fweimer@redhat.com>
30950
f06cc227 30951 [BZ #14197]
111db5b1
FW
30952 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
30953
dd694abd
DM
309542012-11-28 David S. Miller <davem@davemloft.net>
30955
30956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30957
9984dd01
JM
309582012-11-28 Joseph Myers <joseph@codesourcery.com>
30959
30960 [BZ #14803]
30961 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
30962 of pi/2 rounded to nearest to 64 bits.
30963 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
30964 nearest to 64 bits.
30965 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
30966 bits.
30967
14bc93a9
JL
309682012-11-28 Jeff Law <law@redhat.com>
30969 Martin Osvald <mosvald@redhat.com>
30970
30971 [BZ #14889]
30972 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
30973 * sunrpc/svc.c: Include time.h.
30974 (__svc_accept_failed): New function.
30975 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
30976 any reason other than EINTR, call __svc_accept_failed.
30977 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
30978 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
30979
e3c6aa3a
AS
309802012-11-28 Andreas Schwab <schwab@suse.de>
30981
30982 * scripts/abilist.awk: Also handle indirect functions in .opd
30983 section.
30984
1bead169
JM
309852012-11-28 Joseph Myers <joseph@codesourcery.com>
30986
30987 [BZ #13881]
30988 * sysdeps/x86/fpu/powl_helper.c: New file.
30989 * sysdeps/x86/fpu/Makefile: Likewise.
30990 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
30991 (p3): New object.
30992 (__ieee754_powl): Use __powl_helper for finite arguments except
30993 integer exponents below 8.
30994 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
30995 (p3): New object.
30996 (__ieee754_powl): Use __powl_helper for finite arguments except
30997 integer exponents below 8.
30998 * math/libm-test.inc (pow_test): Add more tests and enable some
30999 previously disabled tests.
31000 * sysdeps/i386/fpu/libm-test-ulps: Update.
31001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31002
0817d63d
SP
310032012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31004 Carlos O'Donell <carlos_odonell@mentor.com>
31005
31006 * nss/makedb.c (is_prime): Assert that input is odd and greater
31007 than 4. Note that fact in a comment too.
31008 (next_prime): Add 4 to input.
31009
de2fd463
SP
310102012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31011
31012 [BZ #11741]
31013 * libio/Makefile (tests): Add test case tst-fwrite-error.
31014 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
31015 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
31016 * libio/tst-fwrite-error.c: New test case.
31017
c515fb51
L
310182012-11-26 H.J. Lu <hongjiu.lu@intel.com>
31019
31020 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
31021 before casting to void *.
31022 * include/libc-internal.h (__pointer_type): New macro.
31023 (__integer_if_pointer_type_sub): Likewise.
31024 (__integer_if_pointer_type): Likewise.
31025 (cast_to_integer): Likewise.
31026 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
31027 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
31028 before casting to atomic64_t.
31029 (atomic_exchange_acq): Likewise.
31030 (__arch_exchange_and_add_body): Likewise.
31031 (__arch_add_body): Likewise.
31032 (atomic_add_negative): Likewise.
31033 (atomic_add_zero): Likewise.
31034
4cf77aa9
JM
310352012-11-26 Joseph Myers <joseph@codesourcery.com>
31036
31037 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
31038 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
31039 (add_fdes): Likewise.
31040 (linear_search_fdes): Likewise.
31041 (binary_search_unencoded_fdes): Likewise.
31042
d260b3b4
AS
310432012-11-26 Andreas Schwab <schwab@linux-m68k.org>
31044
31045 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
31046
67060746
AC
310472012-11-24 Adam Conrad <adconrad@0c3.net>
31048
31049 * configure.in: Autodetect C++ header directories.
31050 * configure: Regenerated.
31051
800938a1
MF
310522012-11-23 Mike Frysinger <vapier@gentoo.org>
31053
31054 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
31055
4e6e34e6
AS
310562012-11-23 Andreas Schwab <schwab@linux-m68k.org>
31057
31058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31059
7c7feb47
JM
310602012-11-22 Joseph Myers <joseph@codesourcery.com>
31061
7184dcdf
JM
31062 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
31063 LDBL_MANT_DIG == 106]: Disable some tests.
31064 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31065 Likewise.
31066 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31067 Likewise.
31068
0a42601f
JM
31069 [BZ #14871]
31070 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
31071 input for small inputs. Return +/- pi/2 for large inputs.
31072 * math/libm-test.inc (atan_test): Add more tests.
31073
79c9b9fe
JM
31074 * sysdeps/generic/unwind-dw2-fde-glibc.c
31075 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
31076 __attribute__ ((unused)).
31077
c60d3bf2
JM
31078 [BZ #14645]
31079 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
31080 x * y if x and y are nonzero and z is zero.
31081
ef1e0867
JM
31082 [BZ #14811]
31083 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
31084 nonzero exponents with absolute value below 0x1p-117 to +/-
31085 0x1p-117.
31086
1468ded3
JM
31087 [BZ #14869]
31088 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
31089 up arguments below 2**-450, not just those below 2**-500.
31090 * math/libm-test.inc (hypot_test): Add another test.
31091
8e27e3cc
JM
31092 [BZ #14868]
31093 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
31094 Return a+b for ratio over 2**120, not 2**60.
31095 * math/libm-test.inc (hypot_test): Add another test.
31096
c9c0279b
JM
31097 * math/libm-test.inc (clog_test): Use
31098 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
31099 (clog10_test): Likewise.
31100
7c7feb47
JM
31101 [BZ #6778]
31102 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
31103
fff1530e
AS
311042012-11-22 Andreas Schwab <schwab@suse.de>
31105
31106 * sysdeps/i386/fpu/libm-test-ulps: Update.
31107
94558d30
PT
311082012-11-22 Pino Toscano <toscano.pino@tiscali.it>
31109
31110 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
31111 printf output with newline.
31112
7e1be741
L
311132012-11-21 H.J. Lu <hongjiu.lu@intel.com>
31114
6bfea974
L
31115 [BZ #14865]
31116 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
31117 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
31118 -z nodlopen, -z initfirst and -z execstack support.
31119 * configure: Regenerated.
31120
7e1be741
L
31121 * elf/elf.h (DF_1_NODIRECT): New macro.
31122 (DF_1_IGNMULDEF): Likewise.
31123 (DF_1_NOKSYMS): Likewise.
31124 (DF_1_NOHDR): Likewise.
31125 (DF_1_EDITED): Likewise.
31126 (DF_1_NORELOC): Likewise.
31127 (DF_1_SYMINTPOSE): Likewise.
31128 (DF_1_GLOBAUDIT): Likewise.
31129 (DF_1_SINGLETON): Likewise.
31130 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
31131 DT_1_SUPPORTED_MASK bits.
31132 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
31133
105ce2ce
CD
311342012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
31135
31136 * sysdeps/unix/make-syscalls.sh: Document prefixes.
31137
123be9de
TS
311382012-11-20 Thomas Schwinge <thomas@codesourcery.com>
31139
d072f3f7
TS
31140 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
31141 macro.
31142
123be9de
TS
31143 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
31144 (sendmmsg): Move declarations...
31145 * socket/sys/socket.h: ... here.
31146 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
31147 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
31148 include it from...
31149 * socket/recvmmsg.c: ... this new file.
31150 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
31151 (sendmmsg): Rename to __sendmmsg, create weak alias and make
31152 definition of __sendmmsg hidden.
31153 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
31154 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
31155 Move ENOSYS stub into and include it from...
31156 * socket/sendmmsg.c: ... this new file.
31157 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
31158 (sysdep_routines): Move recvmmsg and sendmmsg...
31159 * socket/Makefile (routines): ... here.
31160 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
31161 (GLIBC_PRIVATE): Add __sendmmsg.
31162 * include/sys/socket.h (__sendmmsg): Add declarations.
31163 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
31164 sendmmsg.
31165
cf9a5d18
JM
311662012-11-20 Joseph Myers <joseph@codesourcery.com>
31167
31168 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
31169 variable I1 with __attribute__ ((unused)).
31170 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31171
ecd4caf9
JM
311722012-11-19 Joseph Myers <joseph@codesourcery.com>
31173
be14d48f
JM
31174 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
31175 DUMMY variables with __attribute__ ((unused)).
31176
ecd4caf9
JM
31177 * bits/byteswap.h: Include <bits/types.h>.
31178 (__bswap_64): Use __uint64_t instead of unsigned long long int.
31179
986cab95
PT
311802012-11-19 Pino Toscano <toscano.pino@tiscali.it>
31181
31182 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
31183 string_t. Do not manually set errno.
31184 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
31185 length with __strnlen. Make sure to both set errno and return it on
31186 failure.
31187
6d33cc9d
DM
311882012-11-19 David S. Miller <davem@davemloft.net>
31189
31190 With help from Joseph Myers.
31191 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
31192 very large arguments properly.
31193 * math/libm-test.inc (atan_test): New tests.
31194 (atan2_test): New tests.
31195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31196 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31197
ee663277
JM
311982012-11-19 Joseph Myers <joseph@codesourcery.com>
31199
877f2d8e
JM
31200 [BZ #14856]
31201 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
31202 Define to 3.
31203
116fc08a
JM
31204 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
31205 [POSIX] (EADDRNOTAVAIL): Likewise.
31206 [POSIX] (EAFNOSUPPORT): Likewise.
31207 [POSIX] (EALREADY): Likewise.
31208 [POSIX] (ECONNABORTED): Likewise.
31209 [POSIX] (ECONNREFUSED): Likewise.
31210 [POSIX] (ECONNRESET): Likewise.
31211 [POSIX] (EDESTADDRREQ): Likewise.
31212 [POSIX] (EDQUOT): Likewise.
31213 [POSIX] (EHOSTUNREACH): Likewise.
31214 [POSIX] (EIDRM): Likewise.
31215 [POSIX] (EISCONN): Likewise.
31216 [POSIX] (ELOOP): Likewise.
31217 [POSIX] (EMULTIHOP): Likewise.
31218 [POSIX] (ENETDOWN): Likewise.
31219 [POSIX] (ENETUNREACH): Likewise.
31220 [POSIX] (ENOBUFS): Likewise.
31221 [POSIX] (ENODATA): Likewise.
31222 [POSIX] (ENOLINK): Likewise.
31223 [POSIX] (ENOMSG): Likewise.
31224 [POSIX] (ENOPROTOOPT): Likewise.
31225 [POSIX] (ENOSR): Likewise.
31226 [POSIX] (ENOSTR): Likewise.
31227 [POSIX] (ENOTCONN): Likewise.
31228 [POSIX] (ENOTSOCK): Likewise.
31229 [POSIX] (EOPNOTSUPP): Likewise.
31230 [POSIX] (EOVERFLOW): Likewise.
31231 [POSIX] (EPROTO): Likewise.
31232 [POSIX] (EPROTONOSUPPORT): Likewise.
31233 [POSIX] (EPROTOTYPE): Likewise.
31234 [POSIX] (ESTALE): Likewise.
31235 [POSIX] (ETIME): Likewise.
31236 [POSIX] (ETXTBSY): Likewise.
31237 [POSIX] (EWOULDBLOCK): Likewise.
31238 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
31239 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
31240 [POSIX] (SEEK_CUR): Likewise.
31241 [POSIX] (SEEK_END): Likewise.
31242 [POSIX || UNIX98] (mode_t): Do not require.
31243 [POSIX] (off_t): Likewise.
31244 [POSIX] (pid_t): Likewise.
31245 [POSIX] (sys/stat.h): Do not allow header.
31246 [POSIX] (unistd.h): Likewise.
31247 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
31248 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
31249 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
31250 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
31251 require.
31252 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
31253 sigevent): Specify elements.
31254 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
31255 entry.
31256 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
31257 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
31258
a483863f
JM
31259 * conform/data/cpio.h-data [POSIX]: Disable whole file.
31260 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
31261 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
31262 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
31263 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
31264 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
31265 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
31266 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
31267 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
31268 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
31269 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
31270 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
31271 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
31272 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
31273 Likewise.
31274 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
31275 Likewise.
31276 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
31277 Likewise.
31278 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
31279 Likewise.
31280 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
31281 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
31282 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
31283 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
31284 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
31285 Specify lower bound on value.
31286 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
31287 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
31288 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
31289 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
31290 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
31291 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
31292 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
31293 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
31294 value.
31295 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
31296 as optional.
31297 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
31298 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
31299 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
31300 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
31301 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
31302 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
31303 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
31304 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
31305 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
31306 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
31307 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
31308 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
31309 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
31310 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
31311 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
31312 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
31313 entry.
31314 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
31315 optional.
31316 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
31317 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
31318 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
31319 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
31320 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
31321 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
31322 Likewise.
31323 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
31324 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
31325 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
31326 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
31327 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
31328 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
31329 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
31330 as optional.
31331 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
31332 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
31333 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
31334 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
31335 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
31336 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
31337 specify as optional.
31338 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
31339 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
31340 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
31341 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
31342 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
31343 [XPG3] (NL_LANGMAX): Likewise.
31344 [POSIX || XPG3] (NL_MSGMAX): Likewise.
31345 [POSIX || XPG3] (NL_NMAX): Likewise.
31346 [POSIX || XPG3] (NL_SETMAX): Likewise.
31347 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
31348 [XPG3] (NZERO): Likewise.
31349 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
31350 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
31351 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
31352 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
31353 (REG_ERANGE): Expect.
31354 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
31355 optional-constant.
31356 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
31357 Use (void) in prototype.
31358 [POSIX] (*_t): Allow.
31359 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
31360 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
31361 (WRDE_BADVAL): Expect.
31362
5ba924e3
JM
31363 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
31364 expect.
31365 [XPG3 || XPG4] (O_RSYNC): Likewise.
31366 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
31367 Likewise.
31368 [XPG3 || XPG4] (pthread_sigmask): Likewise.
31369 [XPG3 || XPG4] (sigqueue): Likewise.
31370 [XPG3 || XPG4] (sigtimedwait): Likewise.
31371 [XPG3 || XPG4] (sigwaitinfo): Likewise.
31372 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
31373 [XPG3 || XPG4] (vsnprintf): Likewise.
31374 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
31375 Likewise.
31376 [XPG3 || XPG4] (blksize_t): Likewise.
31377 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
31378 Likewise.
31379 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
31380 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31381 [XPG3 || XPG4] (struct itimerspec): Likewise.
31382 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
31383 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
31384 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
31385 [XPG3 || XPG4] (clockid_t): Likewise.
31386 [XPG3 || XPG4] (timer_t): Likewise.
31387 [XPG3 || XPG4] (clock_getres): Likewise.
31388 [XPG3 || XPG4] (clock_gettime): Likewise.
31389 [XPG3 || XPG4] (clock_settime): Likewise.
31390 [XPG3 || XPG4] (nanosleep): Likewise.
31391 [XPG3 || XPG4] (timer_create): Likewise.
31392 [XPG3 || XPG4] (timer_delete): Likewise.
31393 [XPG3 || XPG4] (timer_gettime): Likewise.
31394 [XPG3 || XPG4] (timer_getoverrun): Likewise.
31395 [XPG3 || XPG4] (timer_settime): Likewise.
31396 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
31397 [XPG3 || XPG4] (getlogin_r): Likewise.
31398 [XPG3 || XPG4] (pread): Likewise.
31399 [XPG3 || XPG4] (pthread_atfork): Likewise.
31400 [XPG3 || XPG4] (pwrite): Likewise.
31401
ee663277
JM
31402 [BZ #14835]
31403 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
31404 <bits/siginfo.h>.
31405
942caa16
PT
314062012-11-19 Pino Toscano <toscano.pino@tiscali.it>
31407
e19af380
PT
31408 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
31409 finalizing MALLSTREAM.
31410
942caa16
PT
31411 * sysdeps/mach/hurd/syncfs.c: New file.
31412
cfde9b46
SP
314132012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31414
31415 [BZ #14719]
31416 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
31417 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
31418 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
31419 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
31420 (_nss_dns_gethostbyname4_r): Likewise.
31421 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
31422 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
31423
f6da27e5
PH
314242012-11-19 Peng Haitao <penght@cn.fujitsu.com>
31425
31426 [BZ #13763]
31427 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
31428
6665d4a2
SM
314292012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
31430
1f51ee92
SM
31431 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
31432 * elf/cache.c (print_entry): Print ",AArch64" for
31433 FLAG_AARCH64_LIB64
31434
6665d4a2
SM
31435 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
31436 * elf/cache.c (print_entry): Print ",hard-float" for
31437 FLAG_ARM_LIBHF.
31438
05b227bd
DM
314392012-11-18 David S. Miller <davem@davemloft.net>
31440
31441 With help from Joseph Myers.
31442 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
31443 cutoff to 2**-13.
31444 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
31445 cutoff to 2**-25.
31446 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
31447 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
31448 small.
31449 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
31450 * math/libm-test.inc (y0_test): New tests.
31451 (y1_test): New tests.
31452 * sysdeps/i386/fpu/libm-test-ulps: Update.
31453 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31454 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31455
786b0b67
AS
314562012-11-18 Andreas Schwab <schwab@linux-m68k.org>
31457
31458 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
31459 64-bit targets.
31460 * configure: Regenerated.
31461
8e18b86d
DM
314622012-11-17 David S. Miller <davem@davemloft.net>
31463
31464 [BZ #14811]
31465 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
31466 nonzero exponents with absolute value below 0x1p-128 to +/-
31467 0x1p-128.
31468
531f1ae0
JM
314692012-11-17 Joseph Myers <joseph@codesourcery.com>
31470
12df29e2
JM
31471 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
31472
150dc1a0
JM
31473 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
31474
531f1ae0
JM
31475 * posix/getconf-speclist.c: New file.
31476 * posix/posix-envs.def: Likewise.
31477 * posix/confstr.c (START_ENV_GROUP): New macro.
31478 (END_ENV_GROUP): Likewise.
31479 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31480 (KNOWN_PRESENT_ENV_STRING): Likewise.
31481 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31482 (UNKNOWN_ENVIRONMENT): Likewise.
31483 (confstr): Include posix-envs.def instead of handling
31484 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
31485 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
31486 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
31487 (END_ENV_GROUP): Likewise.
31488 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31489 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31490 (UNKNOWN_ENVIRONMENT): Likewise.
31491 (__sysconf): Include posix-envs.def instead of handling associated
31492 cases directly here.
31493 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
31494 preprocessing getconf-speclist.c rather than running getconf or
31495 generating empty file.
31496
a93f9cbc
PT
314972012-11-16 Pino Toscano <toscano.pino@tiscali.it>
31498
31499 * scripts/check-local-headers.sh: Ignore 'mach' headers.
31500
d64d9f87
AL
315012012-11-16 Andrej Lajovic <natrij@gmail.com>
31502
31503 [BZ #14672]
31504 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
31505
447885eb
DM
315062012-11-16 David S. Miller <davem@davemloft.net>
31507
31508 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
31509 smaller than LDBL_EPSILON/2.0L, just return xm1.
31510
bcbf9830
L
315112012-11-16 H.J. Lu <hongjiu.lu@intel.com>
31512
31513 * elf/tst-array1.c (init): Set constructor priority to 1000.
31514 (fini): Set destructor priority to 1000.
31515 * elf/tst-array2dep.c: Likewise.
31516
2b766585
SP
315172012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31518
31519 [BZ #11741]
31520 * libio/fileops.c (_IO_new_file_write): Correctly return error.
31521 (_IO_new_file_xsputn): Also return EOF if none of the input
31522 data was written when overflow failed.
31523 * libio/iopadn.c (_IO_padn): Likewise.
31524 * libio/iowpadn.c (_IO_wpadn): Likewise.
31525 * stdio-common/tst-put-error.c: Add copyright notice.
31526 (do_test): Add case for printing padded string.
31527 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
31528 _IO_padn returned error.
31529 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
31530 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
31531 return EOF.
31532
b1848fde
SP
315332012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31534
31535 * libio/libioP.h: Add comment note that the references to C++
31536 bits are now obsolete.
31537
2fd89785
MS
315382012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31539
31540 * math/libm-test.inc (check_complex): Use asprintf.
31541
e3ea5409
JM
315422012-11-14 Joseph Myers <joseph@codesourcery.com>
31543
31544 * debug/pcprofiledump.c (print_version): Update copyright year.
31545 * malloc/memusagestat.c (print_version): Likewise.
31546
2e64d265
L
315472012-11-14 H.J. Lu <hongjiu.lu@intel.com>
31548
31549 [BZ #14831]
31550 * elf/Makefile (tests): Add tst-audit8.
31551 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
31552 ($(objpfx)tst-audit8.out): New target.
31553 (tst-audit8-ENV): New variable.
31554 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
31555 audit if l_reloc_result is NULL.
31556 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
31557 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
31558 * elf/tst-audit8.c: New file.
31559
c485e4d2
MS
315602012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31561
31562 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
31563 * misc/Makefile (CFLAGS-select.c): Define.
31564 * posix/Makefile (CFLAGS-pause.c): Define.
31565
3a0d900a
DM
315662012-11-13 David S. Miller <davem@davemloft.net>
31567
31568 * crypt/Makefile: Move test targets after toplevel Rules
31569 inclusion. Grab any necessary sysdep routines when linking.
31570 * crypt/md5.c (md5_process_block): Remove define, we will always
31571 name it __md5_process_block.
31572 (md5_finish_ctx): Update md5_process_block call.
31573 (md5_stream): Likewise.
31574 (md5_process_bytes): Likewise.
31575 (md5_process_block): Rename to __md5_process_block and move to ...
31576 * crypt/md5-block.c: ... here.
31577 * crypt/sha256.c (sha256_process_block): Move to ...
31578 * crypt/sha256-block.c: ... here.
31579 * crypt/sha512.c (sha512_process_block): Move to ...
31580 * crypt/sha512-block.c: ... here.
31581 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
31582 path.
31583 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
31584 * sysdeps/sparc/sparc64/multiarch/Makefile
31585 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
31586 crypt subdir.
31587 (localedef-aux): Add md5 crypto assembler when in locale subdir.
31588 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
31589 multiarch changes.
31590 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
31591 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
31592 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
31593 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
31594 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
31595 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
31596 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
31597 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
31598 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
31599 file.
31600 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
31601 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
31602 file.
31603 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
31604
8ca89318
JM
316052012-11-13 Joseph Myers <joseph@codesourcery.com>
31606
e27d476a
JM
31607 * timezone/tzselect.ksh: Update from tzcode git revision
31608 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
31609 * timezone/zdump.c: Likewise.
31610 * timezone/zic.c: Likewise.
31611 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
31612 in TZVERSION setting, not $(PKGVERSION).
31613 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
31614 REPORT_BUGS_TO settings.
31615
8ca89318
JM
31616 [BZ #14838]
31617 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
31618 macro.
31619
47594329
MS
316202012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31621
31622 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
31623 detection to immediately after _FP_ROUND().
31624 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
31625 bits are 0.
31626
640ac3f1
DM
316272012-11-11 David S. Miller <davem@davemloft.net>
31628
31629 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
31630 inttypes.h
31631 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
31632 __close rather than their public counterparts.
31633
3d2577bb
JM
316342012-11-10 Joseph Myers <joseph@codesourcery.com>
31635
31636 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
31637 file.
31638 [UNIX98] (sem_timedwait): Do not expect.
31639 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
31640 [XPG4 || UNIX98] (sockatmark): Do not expect.
31641 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
31642 (clock_getcpuclockid): Do not expect.
31643 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
31644 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
31645 Do not expect.
31646 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
31647 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
31648 [UNIX98] (vwscanf): Likewise.
31649 [UNIX98] (vswscanf): Likewise.
31650
fb1ae1ee
JM
316512012-11-09 Joseph Myers <joseph@codesourcery.com>
31652
9ec6f8bd
JM
31653 * timezone/version.h: Remove file.
31654 * timezone/README: Do not refer to version.h.
31655 * timezone/Makefile ($(objpfx)zic.o): New dependency on
31656 $(objpfx)version.h.
31657 ($(objpfx)zdump.o): Likewise.
c3f81911 31658 ($(objpfx)version.h): New target.
9ec6f8bd 31659
0aa8f8a1
JM
31660 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
31661 2012i.
31662 * timezone/README: Don't mention modification to tzselect.ksh.
31663 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
31664 work on unmodified tzselect.ksh. Substitute version numbers in
31665 tzselect.ksh.
31666
4e87147f
JM
31667 * Makefile (format-me): Remove.
31668 (INSTALL): Adjust indentation. Use commands directly instead of
31669 using $(format-me).
31670
8b748aed
JM
31671 * aclocal.m4 (ACX_PKGVERSION): New macro.
31672 (ACX_BUGURL): Likewise.
31673 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
31674 (PKGVERSION): New AC_DEFINE_UNQUOTED.
31675 (REPORT_BUGS_TO): Likewise.
31676 * configure: Regenerated.
31677 * config.h.in (PKGVERSION): New macro.
31678 (REPORT_BUGS_TO): Likewise.
31679 * config.make.in (PKGVERSION): New variable.
31680 (PKGVERSION_TEXI): Likewise.
31681 (REPORT_BUGS_TO): Likewise.
31682 (REPORT_BUGS_TEXI): Likewise.
31683 * Makefile (format-me): Use -I$(common-objpfx)manual.
31684 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
31685 ($(common-objpfx)manual/%): New target.
31686 (manual/%): Remove target.
31687 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
31688 (print_version): Use PKGVERSION.
31689 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
31690 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
31691 and REPORT_BUGS_TO.
31692 ($(objpfx)xtrace): Likewise.
31693 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
31694 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
31695 (print_version): Use PKGVERSION.
31696 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
31697 (do_version): Use PKGVERSION.
31698 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
31699 REPORT_BUGS_TO.
31700 (common-ldd-rewrite): Likewise.
31701 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
31702 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
31703 (print_version): Use PKGVERSION.
31704 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
31705 * elf/pldd.c (argp_program_bug_address): Remove variable.
31706 (more_help): New function.
31707 (argp): Use more_help.
31708 (print_version): Use PKGVERSION.
31709 * elf/sln.c (main): Use PKGVERSION.
31710 (usage): Use REPORT_BUGS_TO.
31711 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
31712 (top level): Use PKGVERSION.
31713 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
31714 (print_version): Use PKGVERSION.
31715 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
31716 (print_version): Use PKGVERSION.
31717 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
31718 (print_version): Use PKGVERSION.
31719 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
31720 (print_version): Use PKGVERSION.
31721 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
31722 (print_version): Use PKGVERSION.
31723 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
31724 (print_version): Use PKGVERSION.
31725 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
31726 and BUGURL.
31727 ($(objpfx)memusage): Likewise.
31728 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
31729 (do_version): Use PKGVERSION.
31730 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
31731 (print_version): Use PKGVERSION.
31732 * malloc/mtrace.pl ($PACKAGE): Remove variable.
31733 ($PKGVERSION): New variable.
31734 ($REPORT_BUGS_TO): Likewise.
31735 (usage): Use $REPORT_BUGS_TO.
31736 (top level): Use $PKGVERSION.
31737 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
31738 ($(objpfx)pkgvers.texi): New rule.
31739 ($(objpfx)stamp-pkgvers): Likewise.
31740 * manual/install.texi: Include pkgvers.texi.
31741 (--with-pkgversion): Document new configure option.
31742 (--with-bugurl): Likewise.
31743 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
31744 than necessarily for this particular distribution. Use
31745 REPORT_BUGS_TO for where to report bugs.
31746 * INSTALL: Regenerated.
31747 * manual/libc.texinfo: Include pkgvers.texi.
31748 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
31749 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
31750 (print_version): Use PKGVERSION.
31751 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
31752 (print_version): Use PKGVERSION.
31753 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
31754 (print_version): Use PKGVERSION.
31755 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
31756 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
31757 macro.
31758 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
31759 (print_version): Use PKGVERSION.
31760 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
31761 (print_version): Use PKGVERSION.
31762 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
31763 and PKGVERSION.
31764
92e4b6a9
JM
31765 * timezone/checktab.awk: Update from tzcode 2012i.
31766 * timezone/ialloc.c: Likewise.
31767 * timezone/private.h: Likewise.
31768 * timezone/scheck.c: Likewise.
31769 * timezone/tzfile.h: Likewise.
31770 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
31771 (TZVERSION): Hardcode tzcode version number.
31772 * timezone/zdump.c: Update from tzcode 2012i.
31773 * timezone/zic.c: Likewise.
31774 * timezone/version.h: New file.
31775 * timezone/README: Describe version.h. Update upstream location.
31776
9bde902c
JM
31777 [BZ #14824]
31778 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
31779 (mktemp): Enable declaration.
31780 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
31781 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
31782 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
31783 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
31784 Likewise.
31785 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
31786 Likewise.
31787 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
31788 Likewise.
31789 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
31790 Likewise.
31791 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
31792 Likewise.
31793 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
31794 Likewise.
31795
fb1ae1ee
JM
31796 [BZ #14821]
31797 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
31798 offset in buffer as u_int32_t not u_long. Consistently use memcpy
31799 for copies of such integer values.
31800 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31801 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31802
2c1adbcb
AJ
318032012-11-09 Andreas Jaeger <aj@suse.de>
31804
31805 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
31806 definitions and declarations that are provided by
31807 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31808
d0f8457e
AK
318092012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31810
3a235abb 31811 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
31812 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
31813 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
31814 definition.
31815
57241e26
MS
318162012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31817
31818 * elf/elf.h: Update comment before AArch64 relocations.
31819
60e8270d
DM
318202012-11-07 David S. Miller <davem@davemloft.net>
31821
31822 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
31823 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
31824 (__start_context): Declare.
31825 (__makecontext_ret): Delete.
31826 (__makecontext): Hook up __start_context instead of
31827 __makecontext_ret.
31828 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
31829 (sysdep_routines): Add __start_context when in stdlib.
31830
0fbb0fbc
JM
318312012-11-07 Joseph Myers <joseph@codesourcery.com>
31832
31833 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
31834 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
31835 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
31836 hardcoded "nm".
31837 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
31838 (READELF): New variable. Use it instead of hardcoded "readelf".
31839
eb48db7e
L
318402012-11-07 H.J. Lu <hongjiu.lu@intel.com>
31841
31842 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
31843 * sysdeps/x86/Makefile: Here.
31844 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
31845 * sysdeps/x86/tst-xmmymm.sh: This.
31846
05bcf62a
JM
318472012-11-07 Joseph Myers <joseph@codesourcery.com>
31848
c4b6cf53
JM
31849 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
31850 expectations.
31851 [UNIX98] (pthread_barrier_t): Do not expect.
31852 [UNIX98] (pthread_barrierattr_t): Likewise.
31853 [UNIX98] (pthread_spinlock_t): Likewise.
31854 [UNIX98] (pthread_barrier_destroy): Likewise.
31855 [UNIX98] (pthread_barrier_init): Likewise.
31856 [UNIX98] (pthread_barrier_wait): Likewise.
31857 [UNIX98] (pthread_barrierattr_destroy): Likewise.
31858 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
31859 [UNIX98] (pthread_barrierattr_init): Likewise.
31860 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
31861 [UNIX98] (pthread_getcpuclockid): Likewise.
31862 [UNIX98] (pthread_mutex_timedlock): Likewise.
31863 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
31864 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
31865 [UNIX98] (pthread_sigmask): Likewise.
31866 [UNIX98] (pthread_spin_destroy): Likewise.
31867 [UNIX98] (pthread_spin_init): Likewise.
31868 [UNIX98] (pthread_spin_lock): Likewise.
31869 [UNIX98] (pthread_spin_trylock): Likewise.
31870 [UNIX98] (pthread_spin_unlock): Likewise.
31871 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
31872 Do not expect.
31873 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
31874 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
31875 [XPG3 || XPG4] (pthread_cond_t): Likewise.
31876 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
31877 [XPG3 || XPG4] (pthread_key_t): Likewise.
31878 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
31879 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
31880 [XPG3 || XPG4] (pthread_once_t): Likewise.
31881 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
31882 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
31883 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
31884 [XPG3 || XPG4] (pthread_t): Likewise.
31885
cbe6e120
JM
31886 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
31887 not expect.
31888 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
31889
1b126443
JM
31890 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
31891 Change function return type to int.
31892
b961a573
JM
31893 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
31894 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
31895 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
31896 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
31897 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
31898 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
31899 [!POSIX] (posix_madvise): Likewise.
31900 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
31901 && !UNIX98].
31902 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
31903 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
31904 (mode_t): Likewise.
31905 (posix_mem_offset): Likewise.
31906 (posix_typed_mem_get_info): Likewise.
31907 (posix_typed_mem_open): Likewise.
31908
9e188909
JM
31909 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
31910 Change condition to [XOPEN2K8].
31911
05bcf62a
JM
31912 * conform/conformtest.pl: Preprocess allow-header data with -x c
31913 instead of from stdin.
31914 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
31915 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
31916 [C99-based standards] (cerfc): Likewise.
31917 [C99-based standards] (cexp2): Likewise.
31918 [C99-based standards] (cexpm1): Likewise.
31919 [C99-based standards] (clog10): Likewise.
31920 [C99-based standards] (clog1p): Likewise.
31921 [C99-based standards] (clog2): Likewise.
31922 [C99-based standards] (clgamma): Likewise.
31923 [C99-based standards] (ctgamma): Likewise.
31924 [C99-based standards] (cerff): Likewise.
31925 [C99-based standards] (cerfcf): Likewise.
31926 [C99-based standards] (cexp2f): Likewise.
31927 [C99-based standards] (cexpm1f): Likewise.
31928 [C99-based standards] (clog10f): Likewise.
31929 [C99-based standards] (clog1pf): Likewise.
31930 [C99-based standards] (clog2f): Likewise.
31931 [C99-based standards] (clgammaf): Likewise.
31932 [C99-based standards] (ctgammaf): Likewise.
31933 [C99-based standards] (cerfl): Likewise.
31934 [C99-based standards] (cerfcl): Likewise.
31935 [C99-based standards] (cexp2l): Likewise.
31936 [C99-based standards] (cexpm1l): Likewise.
31937 [C99-based standards] (clog10l): Likewise.
31938 [C99-based standards] (clog1pl): Likewise.
31939 [C99-based standards] (clog2l): Likewise.
31940 [C99-based standards] (clgammal): Likewise.
31941 [C99-based standards] (ctgammal): Likewise.
31942 * conform/data/inttypes.h-data [C99-based standards]: Include
31943 stdint.h-data. Remove all expectations for stdint.h contents.
31944 [C99-based standards] (PRI*): Do not allow.
31945 [C99-based standards] (SCN*): Likewise.
31946 [C99-based standards] (*_t): Likewise.
31947 [C99-based-standards] (PRId8): Expect macro.
31948 [C99-based-standards] (PRIi8): Likewise.
31949 [C99-based-standards] (PRIo8): Likewise.
31950 [C99-based-standards] (PRIu8): Likewise.
31951 [C99-based-standards] (PRIx8): Likewise.
31952 [C99-based-standards] (PRIX8): Likewise.
31953 [C99-based-standards] (SCNd8): Likewise.
31954 [C99-based-standards] (SCNi8): Likewise.
31955 [C99-based-standards] (SCNo8): Likewise.
31956 [C99-based-standards] (SCNu8): Likewise.
31957 [C99-based-standards] (SCNx8): Likewise.
31958 [C99-based-standards] (PRIdLEAST8): Likewise.
31959 [C99-based-standards] (PRIiLEAST8): Likewise.
31960 [C99-based-standards] (PRIoLEAST8): Likewise.
31961 [C99-based-standards] (PRIuLEAST8): Likewise.
31962 [C99-based-standards] (PRIxLEAST8): Likewise.
31963 [C99-based-standards] (PRIXLEAST8): Likewise.
31964 [C99-based-standards] (SCNdLEAST8): Likewise.
31965 [C99-based-standards] (SCNiLEAST8): Likewise.
31966 [C99-based-standards] (SCNoLEAST8): Likewise.
31967 [C99-based-standards] (SCNuLEAST8): Likewise.
31968 [C99-based-standards] (SCNxLEAST8): Likewise.
31969 [C99-based-standards] (PRIdFAST8): Likewise.
31970 [C99-based-standards] (PRIiFAST8): Likewise.
31971 [C99-based-standards] (PRIoFAST8): Likewise.
31972 [C99-based-standards] (PRIuFAST8): Likewise.
31973 [C99-based-standards] (PRIxFAST8): Likewise.
31974 [C99-based-standards] (PRIXFAST8): Likewise.
31975 [C99-based-standards] (SCNdFAST8): Likewise.
31976 [C99-based-standards] (SCNiFAST8): Likewise.
31977 [C99-based-standards] (SCNoFAST8): Likewise.
31978 [C99-based-standards] (SCNuFAST8): Likewise.
31979 [C99-based-standards] (SCNxFAST8): Likewise.
31980 [C99-based-standards] (PRId16): Likewise.
31981 [C99-based-standards] (PRIi16): Likewise.
31982 [C99-based-standards] (PRIo16): Likewise.
31983 [C99-based-standards] (PRIu16): Likewise.
31984 [C99-based-standards] (PRIx16): Likewise.
31985 [C99-based-standards] (PRIX16): Likewise.
31986 [C99-based-standards] (SCNd16): Likewise.
31987 [C99-based-standards] (SCNi16): Likewise.
31988 [C99-based-standards] (SCNo16): Likewise.
31989 [C99-based-standards] (SCNu16): Likewise.
31990 [C99-based-standards] (SCNx16): Likewise.
31991 [C99-based-standards] (PRIdLEAST16): Likewise.
31992 [C99-based-standards] (PRIiLEAST16): Likewise.
31993 [C99-based-standards] (PRIoLEAST16): Likewise.
31994 [C99-based-standards] (PRIuLEAST16): Likewise.
31995 [C99-based-standards] (PRIxLEAST16): Likewise.
31996 [C99-based-standards] (PRIXLEAST16): Likewise.
31997 [C99-based-standards] (SCNdLEAST16): Likewise.
31998 [C99-based-standards] (SCNiLEAST16): Likewise.
31999 [C99-based-standards] (SCNoLEAST16): Likewise.
32000 [C99-based-standards] (SCNuLEAST16): Likewise.
32001 [C99-based-standards] (SCNxLEAST16): Likewise.
32002 [C99-based-standards] (PRIdFAST16): Likewise.
32003 [C99-based-standards] (PRIiFAST16): Likewise.
32004 [C99-based-standards] (PRIoFAST16): Likewise.
32005 [C99-based-standards] (PRIuFAST16): Likewise.
32006 [C99-based-standards] (PRIxFAST16): Likewise.
32007 [C99-based-standards] (PRIXFAST16): Likewise.
32008 [C99-based-standards] (SCNdFAST16): Likewise.
32009 [C99-based-standards] (SCNiFAST16): Likewise.
32010 [C99-based-standards] (SCNoFAST16): Likewise.
32011 [C99-based-standards] (SCNuFAST16): Likewise.
32012 [C99-based-standards] (SCNxFAST16): Likewise.
32013 [C99-based-standards] (PRId32): Likewise.
32014 [C99-based-standards] (PRIi32): Likewise.
32015 [C99-based-standards] (PRIo32): Likewise.
32016 [C99-based-standards] (PRIu32): Likewise.
32017 [C99-based-standards] (PRIx32): Likewise.
32018 [C99-based-standards] (PRIX32): Likewise.
32019 [C99-based-standards] (SCNd32): Likewise.
32020 [C99-based-standards] (SCNi32): Likewise.
32021 [C99-based-standards] (SCNo32): Likewise.
32022 [C99-based-standards] (SCNu32): Likewise.
32023 [C99-based-standards] (SCNx32): Likewise.
32024 [C99-based-standards] (PRIdLEAST32): Likewise.
32025 [C99-based-standards] (PRIiLEAST32): Likewise.
32026 [C99-based-standards] (PRIoLEAST32): Likewise.
32027 [C99-based-standards] (PRIuLEAST32): Likewise.
32028 [C99-based-standards] (PRIxLEAST32): Likewise.
32029 [C99-based-standards] (PRIXLEAST32): Likewise.
32030 [C99-based-standards] (SCNdLEAST32): Likewise.
32031 [C99-based-standards] (SCNiLEAST32): Likewise.
32032 [C99-based-standards] (SCNoLEAST32): Likewise.
32033 [C99-based-standards] (SCNuLEAST32): Likewise.
32034 [C99-based-standards] (SCNxLEAST32): Likewise.
32035 [C99-based-standards] (PRIdFAST32): Likewise.
32036 [C99-based-standards] (PRIiFAST32): Likewise.
32037 [C99-based-standards] (PRIoFAST32): Likewise.
32038 [C99-based-standards] (PRIuFAST32): Likewise.
32039 [C99-based-standards] (PRIxFAST32): Likewise.
32040 [C99-based-standards] (PRIXFAST32): Likewise.
32041 [C99-based-standards] (SCNdFAST32): Likewise.
32042 [C99-based-standards] (SCNiFAST32): Likewise.
32043 [C99-based-standards] (SCNoFAST32): Likewise.
32044 [C99-based-standards] (SCNuFAST32): Likewise.
32045 [C99-based-standards] (SCNxFAST32): Likewise.
32046 [C99-based-standards] (PRId64): Likewise.
32047 [C99-based-standards] (PRIi64): Likewise.
32048 [C99-based-standards] (PRIo64): Likewise.
32049 [C99-based-standards] (PRIu64): Likewise.
32050 [C99-based-standards] (PRIx64): Likewise.
32051 [C99-based-standards] (PRIX64): Likewise.
32052 [C99-based-standards] (SCNd64): Likewise.
32053 [C99-based-standards] (SCNi64): Likewise.
32054 [C99-based-standards] (SCNo64): Likewise.
32055 [C99-based-standards] (SCNu64): Likewise.
32056 [C99-based-standards] (SCNx64): Likewise.
32057 [C99-based-standards] (PRIdLEAST64): Likewise.
32058 [C99-based-standards] (PRIiLEAST64): Likewise.
32059 [C99-based-standards] (PRIoLEAST64): Likewise.
32060 [C99-based-standards] (PRIuLEAST64): Likewise.
32061 [C99-based-standards] (PRIxLEAST64): Likewise.
32062 [C99-based-standards] (PRIXLEAST64): Likewise.
32063 [C99-based-standards] (SCNdLEAST64): Likewise.
32064 [C99-based-standards] (SCNiLEAST64): Likewise.
32065 [C99-based-standards] (SCNoLEAST64): Likewise.
32066 [C99-based-standards] (SCNuLEAST64): Likewise.
32067 [C99-based-standards] (SCNxLEAST64): Likewise.
32068 [C99-based-standards] (PRIdFAST64): Likewise.
32069 [C99-based-standards] (PRIiFAST64): Likewise.
32070 [C99-based-standards] (PRIoFAST64): Likewise.
32071 [C99-based-standards] (PRIuFAST64): Likewise.
32072 [C99-based-standards] (PRIxFAST64): Likewise.
32073 [C99-based-standards] (PRIXFAST64): Likewise.
32074 [C99-based-standards] (SCNdFAST64): Likewise.
32075 [C99-based-standards] (SCNiFAST64): Likewise.
32076 [C99-based-standards] (SCNoFAST64): Likewise.
32077 [C99-based-standards] (SCNuFAST64): Likewise.
32078 [C99-based-standards] (SCNxFAST64): Likewise.
32079 [C99-based-standards] (PRIdMAX): Likewise.
32080 [C99-based-standards] (PRIiMAX): Likewise.
32081 [C99-based-standards] (PRIoMAX): Likewise.
32082 [C99-based-standards] (PRIuMAX): Likewise.
32083 [C99-based-standards] (PRIxMAX): Likewise.
32084 [C99-based-standards] (PRIXMAX): Likewise.
32085 [C99-based-standards] (SCNdMAX): Likewise.
32086 [C99-based-standards] (SCNiMAX): Likewise.
32087 [C99-based-standards] (SCNoMAX): Likewise.
32088 [C99-based-standards] (SCNuMAX): Likewise.
32089 [C99-based-standards] (SCNxMAX): Likewise.
32090 [C99-based-standards] (PRIdPTR): Likewise.
32091 [C99-based-standards] (PRIiPTR): Likewise.
32092 [C99-based-standards] (PRIoPTR): Likewise.
32093 [C99-based-standards] (PRIuPTR): Likewise.
32094 [C99-based-standards] (PRIxPTR): Likewise.
32095 [C99-based-standards] (PRIXPTR): Likewise.
32096 [C99-based-standards] (SCNdPTR): Likewise.
32097 [C99-based-standards] (SCNiPTR): Likewise.
32098 [C99-based-standards] (SCNoPTR): Likewise.
32099 [C99-based-standards] (SCNuPTR): Likewise.
32100 [C99-based-standards] (SCNxPTR): Likewise.
32101 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
32102 allow.
32103 * conform/data/stdint.h-data: Update comments to clarify
32104 requirements.
32105 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
32106 type.
32107 [C99-based standards] (INT8_MAX): Likewise.
32108 [C99-based standards] (INT16_MIN): Likewise.
32109 [C99-based standards] (INT16_MAX): Likewise.
32110 [C99-based standards] (INT32_MIN): Likewise.
32111 [C99-based standards] (INT32_MAX): Likewise.
32112 [C99-based standards] (INT64_MIN): Likewise.
32113 [C99-based standards] (INT64_MAX): Likewise.
32114 [C99-based standards] (UINT8_MAX): Likewise.
32115 [C99-based standards] (UINT16_MAX): Likewise.
32116 [C99-based standards] (UINT32_MAX): Likewise.
32117 [C99-based standards] (UINT64_MAX): Likewise.
32118 [C99-based standards] (INT_LEAST8_MIN): Likewise.
32119 [C99-based standards] (INT_LEAST8_MAX): Likewise.
32120 [C99-based standards] (INT_LEAST16_MIN): Likewise.
32121 [C99-based standards] (INT_LEAST16_MAX): Likewise.
32122 [C99-based standards] (INT_LEAST32_MIN): Likewise.
32123 [C99-based standards] (INT_LEAST32_MAX): Likewise.
32124 [C99-based standards] (INT_LEAST64_MIN): Likewise.
32125 [C99-based standards] (INT_LEAST64_MAX): Likewise.
32126 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
32127 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
32128 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
32129 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
32130 [C99-based standards] (INT_FAST8_MIN): Likewise.
32131 [C99-based standards] (INT_FAST8_MAX): Likewise.
32132 [C99-based standards] (INT_FAST16_MIN): Likewise.
32133 [C99-based standards] (INT_FAST16_MAX): Likewise.
32134 [C99-based standards] (INT_FAST32_MIN): Likewise.
32135 [C99-based standards] (INT_FAST32_MAX): Likewise.
32136 [C99-based standards] (INT_FAST64_MIN): Likewise.
32137 [C99-based standards] (INT_FAST64_MAX): Likewise.
32138 [C99-based standards] (UINT_FAST8_MAX): Likewise.
32139 [C99-based standards] (UINT_FAST16_MAX): Likewise.
32140 [C99-based standards] (UINT_FAST32_MAX): Likewise.
32141 [C99-based standards] (UINT_FAST64_MAX): Likewise.
32142 [C99-based standards] (INTPTR_MIN): Likewise.
32143 [C99-based standards] (INTPTR_MAX): Likewise.
32144 [C99-based standards] (UINTPTR_MAX): Likewise.
32145 [C99-based standards] (INTMAX_MIN): Likewise.
32146 [C99-based standards] (INTMAX_MAX): Likewise.
32147 [C99-based standards] (UINTMAX_MAX): Likewise.
32148 [C99-based standards] (PTRDIFF_MIN): Likewise.
32149 [C99-based standards] (PTRDIFF_MAX): Likewise.
32150 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
32151 [C99-based standards] (SIZE_MAX): Likewise.
32152 [C99-based standards] (WCHAR_MAX): Likewise.
32153 [C99-based standards] (WINT_MAX): Likewise.
32154 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
32155 constraint on value.
32156 [C99-based standards] (WCHAR_MIN): Likewise.
32157 [C99-based standards] (WINT_MIN): Likewise.
32158 [C99-based standards] (*_t): Allow.
32159 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
32160 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
32161 Include math.h-data and complex.h-data. Remove all expectations
32162 of math.h and complex.h contents.
32163 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
32164 at end of line.
32165 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
32166 (struct tm): Expect tag.
32167 [C99-based-standards] (wcstof): Expect function.
32168 [C99-based-standards] (wcstold): Likewise.
32169 [C99-based-standards] (wcstoll): Likewise.
32170 [C99-based-standards] (wcstoull): Likewise.
32171 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
32172 macro-int-constant. Specify type.
32173 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
32174 constraint on value.
32175 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32176 Specify type.
32177 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
32178 Specify value.
32179 [ISO C standards]: Do not allow headers.
32180 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
32181 wcs[abcdefghijklmnopqrstuvwxyz]*.
32182 [ISO C standards] (*_t): Do not allow.
32183 * conform/data/wctype.h-data [C99-based standards] (iswblank):
32184 Expect function.
32185 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
32186 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32187 Specify type.
32188 [ISO C standards]: Do not allow headers.
32189 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
32190 is[abcdefghijklmnopqrstuvwxyz]*.
32191 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
32192 to[abcdefghijklmnopqrstuvwxyz]*.
32193 [ISO C standards] (*_t): Do not allow.
32194 * conform/data/stdalign.h-data: New file.
32195 * conform/data/stdbool.h-data: Likewise.
32196 * conform/data/stdnoreturn.h-data: Likewise.
32197
7514feb8
RM
321982012-11-07 Roland McGrath <roland@hack.frob.com>
32199
32200 [BZ #14815]
32201 * manual/filesys.texi (Directory Entries): Typo fix.
32202 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
32203
19b2ecfc
MS
322042012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32205
32206 * elf/elf.h (EM_AARCH64): New macro.
32207 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
32208 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
32209 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
32210 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
32211 (R_AARCH64_TLSDESC): Likewise.
32212 (NT_ARM_TLS): Likewise.
32213 (NT_ARM_HW_BREAK): Likewise.
32214 (NT_ARM_HW_WATCH): Likewise.
32215
60e235ee
JM
322162012-11-07 Joseph Myers <joseph@codesourcery.com>
32217
32218 [BZ #14811]
32219 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
32220 (__ieee754_powl): Saturate nonzero exponents with absolute value
32221 below 0x1p-79 to +/- 0x1p-79.
32222 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
32223 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
32224 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
32225 nonzero exponents with absolute value below 0x1p-32 to +/-
32226 0x1p-32.
32227 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
32228 (__ieee754_powl): Saturate nonzero exponents with absolute value
32229 below 0x1p-79 to +/- 0x1p-79.
32230 * math/libm-test.inc (pow_test): Add more tests.
32231
0ab234b7
AK
322322012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32233
32234 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
32235 _dl_s390_cap_flags with kernel. Increase string length.
32236 (_dl_s390_platforms): Add z196 and zEC12.
32237
45832f74
JM
322382012-11-07 Joseph Myers <joseph@codesourcery.com>
32239
32240 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
32241 Change XOPEN21K to XOPEN2K.
32242
19218757
MK
322432012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
32244
32245 * string/memmove.c: Use memcpy when possible.
32246
c5f45721
AJ
322472012-11-06 Andreas Jaeger <aj@suse.de>
32248
32249 * po/eo.po: Update from translation team.
32250
82477c28
JM
322512012-11-06 Joseph Myers <joseph@codesourcery.com>
32252
32253 [BZ #14793]
32254 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
32255 exponent and small x and y exponents, scale x or y up. Increase
32256 by 2 the exponent used in scaling up.
32257 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32258 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32259 * math/libm-test.inc (fma_test): Add more tests.
32260 (fma_test_towardzero): Likewise.
32261 (fma_test_downward): Likewise.
32262 (fma_test_upward): Likewise.
32263
99252c8c
JM
322642012-11-05 Joseph Myers <joseph@codesourcery.com>
32265
acfa885f
JM
32266 [BZ #14805]
32267 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
32268 fenv_t *.
32269
99252c8c
JM
32270 [BZ #14801]
32271 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
32272 namespace for names of struct fields.
32273 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
32274 fenv_t fields.
32275 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
32276 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
32277
d6d98dea
ST
322782012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
32279
32280 [BZ #3665]
32281 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
32282
e10bb107
TS
322832012-11-04 Thomas Schwinge <thomas@codesourcery.com>
32284
32285 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
32286 PTR_DEMANGLE.
32287
32288 [BZ #5246]
32289 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
32290 PTR_DEMANGLE.
32291
a0c2940d
JM
322922012-11-04 Joseph Myers <joseph@codesourcery.com>
32293
32294 [BZ #14797]
32295 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
32296 definitely overflow as x * y not x * y + z.
32297 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32298 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32299 * math/libm-test.inc (fma_test): Add more tests.
32300 (fma_test_towardzero): Likewise.
32301 (fma_test_downward): Likewise.
32302 (fma_test_upward): Likewise.
32303
b830319d
TS
323042012-11-04 Thomas Schwinge <thomas@codesourcery.com>
32305
32306 [BZ #157]
32307
32308 * include/stub-tag.h: Remove file.
32309 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
32310 '#include' of it.
32311 * manual/maint.texi (Porting): Don't reference it.
32312 * Makerules ($(objpfx)stubs): Likewise.
32313 * dirent/closedir.c: Don't include <stub-tag.h>.
32314 * dirent/dirfd.c: Likewise.
32315 * dirent/fdopendir.c: Likewise.
32316 * dirent/getdents.c: Likewise.
32317 * dirent/getdents64.c: Likewise.
32318 * dirent/opendir.c: Likewise.
32319 * dirent/readdir.c: Likewise.
32320 * dirent/readdir64.c: Likewise.
32321 * dirent/readdir64_r.c: Likewise.
32322 * dirent/readdir_r.c: Likewise.
32323 * dirent/rewinddir.c: Likewise.
32324 * dirent/seekdir.c: Likewise.
32325 * dirent/telldir.c: Likewise.
32326 * gmon/profil.c: Likewise.
32327 * grp/setgroups.c: Likewise.
32328 * inet/if_index.c: Likewise.
32329 * io/access.c: Likewise.
32330 * io/chdir.c: Likewise.
32331 * io/chmod.c: Likewise.
32332 * io/chown.c: Likewise.
32333 * io/close.c: Likewise.
32334 * io/dup.c: Likewise.
32335 * io/dup2.c: Likewise.
32336 * io/dup3.c: Likewise.
32337 * io/euidaccess.c: Likewise.
32338 * io/faccessat.c: Likewise.
32339 * io/fchdir.c: Likewise.
32340 * io/fchmod.c: Likewise.
32341 * io/fchmodat.c: Likewise.
32342 * io/fchown.c: Likewise.
32343 * io/fchownat.c: Likewise.
32344 * io/fcntl.c: Likewise.
32345 * io/flock.c: Likewise.
32346 * io/fstatfs.c: Likewise.
32347 * io/fstatfs64.c: Likewise.
32348 * io/fstatvfs.c: Likewise.
32349 * io/fstatvfs64.c: Likewise.
32350 * io/futimens.c: Likewise.
32351 * io/fxstat.c: Likewise.
32352 * io/fxstat64.c: Likewise.
32353 * io/fxstatat.c: Likewise.
32354 * io/fxstatat64.c: Likewise.
32355 * io/getcwd.c: Likewise.
32356 * io/isatty.c: Likewise.
32357 * io/lchmod.c: Likewise.
32358 * io/lchown.c: Likewise.
32359 * io/link.c: Likewise.
32360 * io/linkat.c: Likewise.
32361 * io/lseek.c: Likewise.
32362 * io/lseek64.c: Likewise.
32363 * io/lxstat64.c: Likewise.
32364 * io/mkdir.c: Likewise.
32365 * io/mkdirat.c: Likewise.
32366 * io/mkfifo.c: Likewise.
32367 * io/mkfifoat.c: Likewise.
32368 * io/open.c: Likewise.
32369 * io/open64.c: Likewise.
32370 * io/openat.c: Likewise.
32371 * io/openat64.c: Likewise.
32372 * io/pipe.c: Likewise.
32373 * io/pipe2.c: Likewise.
32374 * io/poll.c: Likewise.
32375 * io/posix_fadvise.c: Likewise.
32376 * io/posix_fadvise64.c: Likewise.
32377 * io/posix_fallocate.c: Likewise.
32378 * io/posix_fallocate64.c: Likewise.
32379 * io/read.c: Likewise.
32380 * io/readlink.c: Likewise.
32381 * io/readlinkat.c: Likewise.
32382 * io/rmdir.c: Likewise.
32383 * io/sendfile.c: Likewise.
32384 * io/sendfile64.c: Likewise.
32385 * io/statfs.c: Likewise.
32386 * io/statfs64.c: Likewise.
32387 * io/statvfs.c: Likewise.
32388 * io/statvfs64.c: Likewise.
32389 * io/symlink.c: Likewise.
32390 * io/symlinkat.c: Likewise.
32391 * io/ttyname.c: Likewise.
32392 * io/ttyname_r.c: Likewise.
32393 * io/umask.c: Likewise.
32394 * io/unlink.c: Likewise.
32395 * io/unlinkat.c: Likewise.
32396 * io/utime.c: Likewise.
32397 * io/utimensat.c: Likewise.
32398 * io/write.c: Likewise.
32399 * io/xmknod.c: Likewise.
32400 * io/xmknodat.c: Likewise.
32401 * io/xstat.c: Likewise.
32402 * io/xstat64.c: Likewise.
32403 * login/getpt.c: Likewise.
32404 * login/grantpt.c: Likewise.
32405 * login/unlockpt.c: Likewise.
32406 * math/e_acoshl.c: Likewise.
32407 * math/e_acosl.c: Likewise.
32408 * math/e_asinl.c: Likewise.
32409 * math/e_atan2l.c: Likewise.
32410 * math/e_atanhl.c: Likewise.
32411 * math/e_coshl.c: Likewise.
32412 * math/e_expl.c: Likewise.
32413 * math/e_fmodl.c: Likewise.
32414 * math/e_gammal_r.c: Likewise.
32415 * math/e_hypotl.c: Likewise.
32416 * math/e_j0l.c: Likewise.
32417 * math/e_j1l.c: Likewise.
32418 * math/e_jnl.c: Likewise.
32419 * math/e_lgammal_r.c: Likewise.
32420 * math/e_log10l.c: Likewise.
32421 * math/e_log2l.c: Likewise.
32422 * math/e_logl.c: Likewise.
32423 * math/e_powl.c: Likewise.
32424 * math/e_rem_pio2l.c: Likewise.
32425 * math/e_sinhl.c: Likewise.
32426 * math/e_sqrtl.c: Likewise.
32427 * math/fclrexcpt.c: Likewise.
32428 * math/fedisblxcpt.c: Likewise.
32429 * math/feenablxcpt.c: Likewise.
32430 * math/fegetenv.c: Likewise.
32431 * math/fegetexcept.c: Likewise.
32432 * math/fegetround.c: Likewise.
32433 * math/feholdexcpt.c: Likewise.
32434 * math/fesetenv.c: Likewise.
32435 * math/fesetround.c: Likewise.
32436 * math/feupdateenv.c: Likewise.
32437 * math/fgetexcptflg.c: Likewise.
32438 * math/fraiseexcpt.c: Likewise.
32439 * math/fsetexcptflg.c: Likewise.
32440 * math/ftestexcept.c: Likewise.
32441 * math/k_cosl.c: Likewise.
32442 * math/k_rem_pio2l.c: Likewise.
32443 * math/k_sinl.c: Likewise.
32444 * math/k_tanl.c: Likewise.
32445 * math/s_asinhl.c: Likewise.
32446 * math/s_atanl.c: Likewise.
32447 * math/s_cbrtl.c: Likewise.
32448 * math/s_erfl.c: Likewise.
32449 * math/s_expm1l.c: Likewise.
32450 * math/s_log1pl.c: Likewise.
32451 * math/s_tanhl.c: Likewise.
32452 * misc/acct.c: Likewise.
32453 * misc/brk.c: Likewise.
32454 * misc/chflags.c: Likewise.
32455 * misc/chroot.c: Likewise.
32456 * misc/fchflags.c: Likewise.
32457 * misc/fgetxattr.c: Likewise.
32458 * misc/flistxattr.c: Likewise.
32459 * misc/fremovexattr.c: Likewise.
32460 * misc/fsetxattr.c: Likewise.
32461 * misc/fsync.c: Likewise.
32462 * misc/ftruncate.c: Likewise.
32463 * misc/futimes.c: Likewise.
32464 * misc/futimesat.c: Likewise.
32465 * misc/getdomain.c: Likewise.
32466 * misc/getdtsz.c: Likewise.
32467 * misc/gethostid.c: Likewise.
32468 * misc/gethostname.c: Likewise.
32469 * misc/getloadavg.c: Likewise.
32470 * misc/getpagesize.c: Likewise.
32471 * misc/getsysstats.c: Likewise.
32472 * misc/getxattr.c: Likewise.
32473 * misc/gtty.c: Likewise.
32474 * misc/ioctl.c: Likewise.
32475 * misc/lgetxattr.c: Likewise.
32476 * misc/listxattr.c: Likewise.
32477 * misc/llistxattr.c: Likewise.
32478 * misc/lremovexattr.c: Likewise.
32479 * misc/lsetxattr.c: Likewise.
32480 * misc/lutimes.c: Likewise.
32481 * misc/madvise.c: Likewise.
32482 * misc/mincore.c: Likewise.
32483 * misc/mlock.c: Likewise.
32484 * misc/mlockall.c: Likewise.
32485 * misc/mmap.c: Likewise.
32486 * misc/mprotect.c: Likewise.
32487 * misc/msync.c: Likewise.
32488 * misc/munlock.c: Likewise.
32489 * misc/munlockall.c: Likewise.
32490 * misc/munmap.c: Likewise.
32491 * misc/preadv.c: Likewise.
32492 * misc/preadv64.c: Likewise.
32493 * misc/ptrace.c: Likewise.
32494 * misc/pwritev.c: Likewise.
32495 * misc/pwritev64.c: Likewise.
32496 * misc/readv.c: Likewise.
32497 * misc/reboot.c: Likewise.
32498 * misc/remap_file_pages.c: Likewise.
32499 * misc/removexattr.c: Likewise.
32500 * misc/revoke.c: Likewise.
32501 * misc/select.c: Likewise.
32502 * misc/setdomain.c: Likewise.
32503 * misc/setegid.c: Likewise.
32504 * misc/seteuid.c: Likewise.
32505 * misc/sethostid.c: Likewise.
32506 * misc/sethostname.c: Likewise.
32507 * misc/setregid.c: Likewise.
32508 * misc/setreuid.c: Likewise.
32509 * misc/setxattr.c: Likewise.
32510 * misc/sstk.c: Likewise.
32511 * misc/stty.c: Likewise.
32512 * misc/swapoff.c: Likewise.
32513 * misc/swapon.c: Likewise.
32514 * misc/sync.c: Likewise.
32515 * misc/syncfs.c: Likewise.
32516 * misc/syscall.c: Likewise.
32517 * misc/truncate.c: Likewise.
32518 * misc/ualarm.c: Likewise.
32519 * misc/usleep.c: Likewise.
32520 * misc/ustat.c: Likewise.
32521 * misc/utimes.c: Likewise.
32522 * misc/vhangup.c: Likewise.
32523 * misc/writev.c: Likewise.
32524 * posix/_exit.c: Likewise.
32525 * posix/alarm.c: Likewise.
32526 * posix/execve.c: Likewise.
32527 * posix/fexecve.c: Likewise.
32528 * posix/fork.c: Likewise.
32529 * posix/fpathconf.c: Likewise.
32530 * posix/getaddrinfo.c: Likewise.
32531 * posix/getegid.c: Likewise.
32532 * posix/geteuid.c: Likewise.
32533 * posix/getgid.c: Likewise.
32534 * posix/getgroups.c: Likewise.
32535 * posix/getlogin.c: Likewise.
32536 * posix/getlogin_r.c: Likewise.
32537 * posix/getpgid.c: Likewise.
32538 * posix/getpid.c: Likewise.
32539 * posix/getppid.c: Likewise.
32540 * posix/getresgid.c: Likewise.
32541 * posix/getresuid.c: Likewise.
32542 * posix/getsid.c: Likewise.
32543 * posix/getuid.c: Likewise.
32544 * posix/glob64.c: Likewise.
32545 * posix/nanosleep.c: Likewise.
32546 * posix/pathconf.c: Likewise.
32547 * posix/pause.c: Likewise.
32548 * posix/posix_madvise.c: Likewise.
32549 * posix/pread.c: Likewise.
32550 * posix/pread64.c: Likewise.
32551 * posix/pwrite.c: Likewise.
32552 * posix/pwrite64.c: Likewise.
32553 * posix/sched_getaffinity.c: Likewise.
32554 * posix/sched_getp.c: Likewise.
32555 * posix/sched_gets.c: Likewise.
32556 * posix/sched_primax.c: Likewise.
32557 * posix/sched_primin.c: Likewise.
32558 * posix/sched_rr_gi.c: Likewise.
32559 * posix/sched_setaffinity.c: Likewise.
32560 * posix/sched_setp.c: Likewise.
32561 * posix/sched_sets.c: Likewise.
32562 * posix/sched_yield.c: Likewise.
32563 * posix/setgid.c: Likewise.
32564 * posix/setlogin.c: Likewise.
32565 * posix/setpgid.c: Likewise.
32566 * posix/setresgid.c: Likewise.
32567 * posix/setresuid.c: Likewise.
32568 * posix/setsid.c: Likewise.
32569 * posix/setuid.c: Likewise.
32570 * posix/sleep.c: Likewise.
32571 * posix/spawni.c: Likewise.
32572 * posix/sysconf.c: Likewise.
32573 * posix/times.c: Likewise.
32574 * posix/wait.c: Likewise.
32575 * posix/wait3.c: Likewise.
32576 * posix/wait4.c: Likewise.
32577 * posix/waitpid.c: Likewise.
32578 * resolv/gai_sigqueue.c: Likewise.
32579 * resource/getpriority.c: Likewise.
32580 * resource/getrlimit.c: Likewise.
32581 * resource/getrusage.c: Likewise.
32582 * resource/nice.c: Likewise.
32583 * resource/setpriority.c: Likewise.
32584 * resource/setrlimit.c: Likewise.
32585 * resource/ulimit.c: Likewise.
32586 * rt/aio_cancel.c: Likewise.
32587 * rt/aio_fsync.c: Likewise.
32588 * rt/aio_read.c: Likewise.
32589 * rt/aio_sigqueue.c: Likewise.
32590 * rt/aio_suspend.c: Likewise.
32591 * rt/aio_write.c: Likewise.
32592 * rt/clock_getres.c: Likewise.
32593 * rt/clock_gettime.c: Likewise.
32594 * rt/clock_nanosleep.c: Likewise.
32595 * rt/clock_settime.c: Likewise.
32596 * rt/lio_listio.c: Likewise.
32597 * rt/mq_close.c: Likewise.
32598 * rt/mq_getattr.c: Likewise.
32599 * rt/mq_notify.c: Likewise.
32600 * rt/mq_open.c: Likewise.
32601 * rt/mq_receive.c: Likewise.
32602 * rt/mq_send.c: Likewise.
32603 * rt/mq_setattr.c: Likewise.
32604 * rt/mq_timedreceive.c: Likewise.
32605 * rt/mq_timedsend.c: Likewise.
32606 * rt/mq_unlink.c: Likewise.
32607 * rt/shm_open.c: Likewise.
32608 * rt/shm_unlink.c: Likewise.
32609 * rt/timer_create.c: Likewise.
32610 * rt/timer_delete.c: Likewise.
32611 * rt/timer_getoverr.c: Likewise.
32612 * rt/timer_gettime.c: Likewise.
32613 * rt/timer_settime.c: Likewise.
32614 * setjmp/__longjmp.c: Likewise.
32615 * setjmp/setjmp.c: Likewise.
32616 * signal/kill.c: Likewise.
32617 * signal/killpg.c: Likewise.
32618 * signal/raise.c: Likewise.
32619 * signal/sigaction.c: Likewise.
32620 * signal/sigaltstack.c: Likewise.
32621 * signal/sigblock.c: Likewise.
32622 * signal/sigignore.c: Likewise.
32623 * signal/sigintr.c: Likewise.
32624 * signal/signal.c: Likewise.
32625 * signal/sigpause.c: Likewise.
32626 * signal/sigpending.c: Likewise.
32627 * signal/sigqueue.c: Likewise.
32628 * signal/sigreturn.c: Likewise.
32629 * signal/sigset.c: Likewise.
32630 * signal/sigsetmask.c: Likewise.
32631 * signal/sigstack.c: Likewise.
32632 * signal/sigsuspend.c: Likewise.
32633 * signal/sigtimedwait.c: Likewise.
32634 * signal/sigvec.c: Likewise.
32635 * signal/sigwait.c: Likewise.
32636 * signal/sigwaitinfo.c: Likewise.
32637 * signal/sysv_signal.c: Likewise.
32638 * socket/accept.c: Likewise.
32639 * socket/accept4.c: Likewise.
32640 * socket/bind.c: Likewise.
32641 * socket/connect.c: Likewise.
32642 * socket/getpeername.c: Likewise.
32643 * socket/getsockname.c: Likewise.
32644 * socket/getsockopt.c: Likewise.
32645 * socket/isfdtype.c: Likewise.
32646 * socket/listen.c: Likewise.
32647 * socket/recv.c: Likewise.
32648 * socket/recvfrom.c: Likewise.
32649 * socket/recvmsg.c: Likewise.
32650 * socket/send.c: Likewise.
32651 * socket/sendmsg.c: Likewise.
32652 * socket/sendto.c: Likewise.
32653 * socket/setsockopt.c: Likewise.
32654 * socket/shutdown.c: Likewise.
32655 * socket/sockatmark.c: Likewise.
32656 * socket/socket.c: Likewise.
32657 * socket/socketpair.c: Likewise.
32658 * stdio-common/ctermid.c: Likewise.
32659 * stdio-common/cuserid.c: Likewise.
32660 * stdio-common/remove.c: Likewise.
32661 * stdio-common/rename.c: Likewise.
32662 * stdio-common/renameat.c: Likewise.
32663 * stdio-common/tempname.c: Likewise.
32664 * stdlib/getcontext.c: Likewise.
32665 * stdlib/makecontext.c: Likewise.
32666 * stdlib/setcontext.c: Likewise.
32667 * stdlib/swapcontext.c: Likewise.
32668 * stdlib/system.c: Likewise.
32669 * streams/fattach.c: Likewise.
32670 * streams/fdetach.c: Likewise.
32671 * streams/getmsg.c: Likewise.
32672 * streams/getpmsg.c: Likewise.
32673 * streams/putmsg.c: Likewise.
32674 * streams/putpmsg.c: Likewise.
32675 * sysdeps/unix/bsd/getpt.c: Likewise.
32676 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
32677 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
32678 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32680 Likewise.
32681 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
32682 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32683 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32684 * sysvipc/msgctl.c: Likewise.
32685 * sysvipc/msgget.c: Likewise.
32686 * sysvipc/msgrcv.c: Likewise.
32687 * sysvipc/msgsnd.c: Likewise.
32688 * sysvipc/semctl.c: Likewise.
32689 * sysvipc/semget.c: Likewise.
32690 * sysvipc/semop.c: Likewise.
32691 * sysvipc/semtimedop.c: Likewise.
32692 * sysvipc/shmat.c: Likewise.
32693 * sysvipc/shmctl.c: Likewise.
32694 * sysvipc/shmdt.c: Likewise.
32695 * sysvipc/shmget.c: Likewise.
32696 * termios/tcdrain.c: Likewise.
32697 * termios/tcflow.c: Likewise.
32698 * termios/tcflush.c: Likewise.
32699 * termios/tcgetattr.c: Likewise.
32700 * termios/tcgetpgrp.c: Likewise.
32701 * termios/tcsendbrk.c: Likewise.
32702 * termios/tcsetattr.c: Likewise.
32703 * termios/tcsetpgrp.c: Likewise.
32704 * time/adjtime.c: Likewise.
32705 * time/clock.c: Likewise.
32706 * time/getitimer.c: Likewise.
32707 * time/gettimeofday.c: Likewise.
32708 * time/setitimer.c: Likewise.
32709 * time/settimeofday.c: Likewise.
32710 * time/stime.c: Likewise.
32711 * time/time.c: Likewise.
32712
327132012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 32714
a20492cf
PT
32715 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
32716 /usr/old/bin.
32717
72e182e3
PT
32718 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
32719 instead of spaces.
32720 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
32721
fbeafede
JM
327222012-11-03 Joseph Myers <joseph@codesourcery.com>
32723
5b5b04d6
JM
32724 [BZ #14796]
32725 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
32726 FE_TONEAREST before applying Dekker multiplication and Knuth
32727 addition. Clear inexact exceptions and check for exact zero
32728 results afterwards.
32729 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32730 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32731 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32732 * math/libm-test.inc (fma_test): Add more tests.
32733 (fma_test_towardzero): Likewise.
32734 (fma_test_downward): Likewise.
32735 (fma_test_upward): Likewise.
32736 * sysdeps/generic/math_private.h (default_libc_fesetround): New
32737 function.
32738 (libc_fesetround): New macro.
32739 (libc_fesetroundf): Likewise.
32740 (libc_fesetroundl): Likewise.
32741 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
32742 function.
32743 (libc_fesetround_387): Likewise.
32744 (libc_fesetroundf): New macro.
32745 (libc_fesetround): Likewise.
32746 (libc_fesetroundl): Likewise.
32747 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
32748 function.
32749 (libc_fesetroundf): New macro.
32750 (libc_fesetround): Likewise.
32751 (libc_fesetroundl): Likewise.
32752 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
32753 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
32754 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
32755 libm_hidden_ver.
32756 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
32757 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
32758 libm_hidden_def.
32759 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
32760 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
32761 libm_hidden_ver.
32762 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
32763 libm_hidden_def.
32764
fbeafede
JM
32765 [BZ #3439]
32766 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
32767 integer constant usable in #if and use that to give value to enum
32768 constant.
32769 (FE_DIVBYZERO): Likewise.
32770 (FE_UNDERFLOW): Likewise.
32771 (FE_OVERFLOW): Likewise.
32772 (FE_INVALID): Likewise.
32773 (FE_INVALID_SNAN): Likewise.
32774 (FE_INVALID_ISI): Likewise.
32775 (FE_INVALID_IDI): Likewise.
32776 (FE_INVALID_ZDZ): Likewise.
32777 (FE_INVALID_IMZ): Likewise.
32778 (FE_INVALID_COMPARE): Likewise.
32779 (FE_INVALID_SOFTWARE): Likewise.
32780 (FE_INVALID_SQRT): Likewise.
32781 (FE_INVALID_INTEGER_CONVERSION): Likewise.
32782 (FE_TONEAREST): Likewise.
32783 (FE_TOWARDZERO): Likewise.
32784 (FE_UPWARD): Likewise.
32785 (FE_DOWNWARD): Likewise.
32786 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
32787 (FE_DIVBYZERO): Likewise.
32788 (FE_OVERFLOW): Likewise.
32789 (FE_UNDERFLOW): Likewise.
32790 (FE_INEXACT): Likewise.
32791 (FE_TONEAREST): Likewise.
32792 (FE_DOWNWARD): Likewise.
32793 (FE_UPWARD): Likewise.
32794 (FE_TOWARDZERO): Likewise.
32795 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
32796 (FE_UNDERFLOW): Likewise.
32797 (FE_OVERFLOW): Likewise.
32798 (FE_DIVBYZERO): Likewise.
32799 (FE_INVALID): Likewise.
32800 (FE_TONEAREST): Likewise.
32801 (FE_TOWARDZERO): Likewise.
32802 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
32803 (FE_OVERFLOW): Likewise.
32804 (FE_UNDERFLOW): Likewise.
32805 (FE_DIVBYZERO): Likewise.
32806 (FE_INEXACT): Likewise.
32807 (FE_TONEAREST): Likewise.
32808 (FE_TOWARDZERO): Likewise.
32809 (FE_UPWARD): Likewise.
32810 (FE_DOWNWARD): Likewise.
32811 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
32812 (FE_DIVBYZERO): Likewise.
32813 (FE_OVERFLOW): Likewise.
32814 (FE_UNDERFLOW): Likewise.
32815 (FE_INEXACT): Likewise.
32816 (FE_TONEAREST): Likewise.
32817 (FE_DOWNWARD): Likewise.
32818 (FE_UPWARD): Likewise.
32819 (FE_TOWARDZERO): Likewise.
32820
105ca950
CM
328212012-11-02 Chris Metcalf <cmetcalf@tilera.com>
32822
32823 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
32824
a542b389
AS
328252012-11-03 Andreas Schwab <schwab@linux-m68k.org>
32826
32827 * scripts/cross-test-ssh.sh (command): Use newlines to separate
32828 commands. Quote $PWD.
32829 (blacklist_exports): Don't use remove_newlines. Replace "declare
32830 -x" by "export".
32831 (remove_newlines): Remove.
32832
f62c8abc
L
328332012-11-02 H.J. Lu <hongjiu.lu@intel.com>
32834
32835 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
32836 * stdlib/stdlib.h (atof): Moved to ...
32837 * include/bits/stdlib-float.h: Here. New file.
32838 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
32839 * stdlib/bits/stdlib-float.h: New file.
32840 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
32841 -mno-sse -mno-mmx.
32842 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
32843 <xmmintrin.h>.
32844
0155d5b2
JM
328452012-11-02 Joseph Myers <joseph@codesourcery.com>
32846
a68d0680
JM
32847 * conform/conformtest.pl (@headers): Add fenv.h.
32848 * conform/data/fenv.h-data: New file.
32849 * include/fenv.h [_ISOMAC]: Disable all contents of file except
32850 include of <math/fenv.h>.
32851
caf7f573
JM
32852 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
32853 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
32854 && !UNIX98]. Enables tests for XOPEN2K8.
32855 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
32856 POSIX2008]: Likewise.
32857
6c073ad6
JM
32858 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
32859 (struct rusage): Do not expect type or its members.
32860
0155d5b2
JM
32861 [BZ #3439]
32862 * math/math.h (FP_NAN): Define macro to integer constant usable in
32863 #if and use that to give value to enum constant.
32864 (FP_INFINITE): Likewise.
32865 (FP_ZERO): Likewise.
32866 (FP_SUBNORMAL): Likewise.
32867 (FP_NORMAL): Likewise.
32868
b5dcacb4
AS
328692012-11-02 Andreas Schwab <schwab@linux-m68k.org>
32870
32871 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
32872 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
32873 arguments.
32874
f7934be8
RM
328752012-11-02 Roland McGrath <roland@hack.frob.com>
32876
32877 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
32878 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
32879 autoconf-time if not.
32880 * configure.in: Remove AC_PREREQ.
32881
d7d08bde
TMQMF
328822012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32883
32884 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
32885 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
32886 of the internal implementation.
32887
dcdae19a
JM
328882012-11-02 Joseph Myers <joseph@codesourcery.com>
32889
32890 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
32891 except include of <misc/sys/syslog.h>.
32892
d6cffd3e
AS
328932012-11-01 Andreas Schwab <schwab@linux-m68k.org>
32894
32895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
32896 function returns with a NULL context exit with zero.
32897
b3563932
TMQMF
328982012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32899
32900 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
32901
b288a93d
L
329022012-11-01 H.J. Lu <hongjiu.lu@intel.com>
32903
32904 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
32905 (run_program_cmd): This.
32906 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
32907 (tst_langinfo): New variable. Use it.
32908
a2421a68
SAS
329092012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
32910
32911 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
32912 floating point opcodes.
32913
6f796e1b
TS
329142012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32915
7402596b
TS
32916 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
32917 variable.
32918
d0d4f868
TS
32919 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
32920
6f796e1b
TS
32921 * sysdeps/mach/hurd/powerpc: Remove directory.
32922 * sysdeps/mach/powerpc: Likewise.
32923
4da224a2
AS
329242012-11-01 Andreas Schwab <schwab@linux-m68k.org>
32925
32926 * scripts/check-local-headers.sh: Ignore c++ headers.
32927
341dd673
TS
329282012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32929
32930 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
32931 __libc_cleanup_region_start argument.
32932
473611b2
JM
329332012-11-01 Joseph Myers <joseph@codesourcery.com>
32934
32935 [BZ #14784]
32936 [BZ #14785]
32937 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
32938 x * y using scaling, not as x * y + z.
32939 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32940 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32941 * math/libm-test.inc (fma_test): Add more tests.
32942 (fma_test_towardzero): Likewise.
32943 (fma_test_downward): Likewise.
32944 (fma_test_upward): Likewise.
32945
4078da3d
TS
329462012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32947
32948 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
32949
903252aa
JM
329502012-10-31 Joseph Myers <joseph@codesourcery.com>
32951
32952 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
32953 New variable.
32954
cbc818d0
TS
329552012-10-31 Thomas Schwinge <thomas@codesourcery.com>
32956
32957 * rt/tst-shm.c (worker): Correct checking for mmap failure.
32958
5a03cb1e
AS
329592012-10-31 Andreas Schwab <schwab@linux-m68k.org>
32960
32961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32962 Fix sort order.
32963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32964 Likewise.
32965
90aff2ff
TMQMF
329662012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32967
32968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32969 Fix the order of the list for glibc 2.17.
32970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32971 Likewise.
32972
1818fcb7
AS
329732012-10-31 Andreas Schwab <schwab@linux-m68k.org>
32974
32975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32976
ef82f4da
JM
329772012-10-31 Joseph Myers <joseph@codesourcery.com>
32978
16a0e2ec
JM
32979 [BZ #14610]
32980 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
32981 for low part of x being zero before using __atanl (y).
32982 * math/libm-test.inc (atan2_test): Add another test.
32983
0eb69512
JM
32984 * manual/install.texi (Configuring and compiling): Document
32985 general use of test-wrapper and test-wrapper-env.
32986 * INSTALL: Regenerated.
32987
ef82f4da
JM
32988 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
32989 (__fma): Do not extract and scale down low bits on after-rounding
32990 systems when result rounded to normal precision would have normal
32991 exponent.
32992 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
32993 (__fmal): Do not extract and scale down low bits on after-rounding
32994 systems when result rounded to normal precision would have normal
32995 exponent.
32996 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
32997 (__fmal): Do not extract and scale down low bits on after-rounding
32998 systems when result rounded to normal precision would have normal
32999 exponent.
33000 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
33001 macro.
33002 (fma_test): Add more tests.
33003 (fma_test_towardzero): Likewise.
33004 (fma_test_downward): Likewise.
33005 (fma_test_upward): Likewise.
33006
954ef0d9
L
330072012-10-30 H.J. Lu <hongjiu.lu@intel.com>
33008
33009 * sysdeps/i386/tininess.h: Renamed to ...
33010 * sysdeps/x86/tininess.h: This.
33011 * sysdeps/x86_64/tininess.h: Removed.
33012
df61ffb2
JM
330132012-10-30 Joseph Myers <joseph@codesourcery.com>
33014
33015 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
33016 input. Use $(build-program-cmd).
33017 ($(objpfx)tst-array1-static.out): Likewise.
33018 ($(objpfx)tst-array2.out): Likewise.
33019 ($(objpfx)tst-array3.out): Likewise.
33020 ($(objpfx)tst-array4.out): Likewise.
33021 ($(objpfx)tst-array5.out): Likewise.
33022 ($(objpfx)tst-array5-static.out): Likewise.
33023
01767843
CM
330242012-10-30 Chris Metcalf <cmetcalf@tilera.com>
33025
47cc1490
CM
33026 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
33027 if defined.
33028
01767843
CM
33029 * nss/nsswitch.h (nss_interface_function): Provide new
33030 macro for use with NSS functions.
33031 * grp/initgroups.c: Use new macro.
33032 * nss/getXXbyYY.c: Likewise.
33033 * nss/getXXbyYY_r.c: Likewise.
33034 * nss/getXXent.c: Likewise.
33035 * nss/getXXent_r.c: Likewise.
33036 * sysdeps/posix/getaddrinfo.c: Likewise.
33037
8321aa97
AJ
330382012-10-30 Andreas Jaeger <aj@suse.de>
33039
33040 * po/ru.po: Update Russion translation from translation project.
33041
2a27fd6d
JM
330422012-10-30 Joseph Myers <joseph@codesourcery.com>
33043
8627a232
JM
33044 [BZ #14152]
33045 [BZ #14783]
33046 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
33047 result and shift together with sticky bit instead of replicating
33048 round-to-nearest rounding.
33049 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33050 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33051 * math/libm-test.inc (fma_test): Add more tests. Do not permit
33052 missing underflow exceptions.
33053 (fma_test_towardzero): Add more tests.
33054 (fma_test_downward): Likewise.
33055 (fma_test_upward): Likewise.
33056
2a27fd6d
JM
33057 [BZ #14047]
33058 * sysdeps/generic/tininess.h: New file.
33059 * sysdeps/i386/tininess.h: Likewise.
33060 * sysdeps/sh/tininess.h: Likewise.
33061 * sysdeps/x86_64/tininess.h: Likewise.
33062 * stdlib/tst-strtod-underflow.c: Likewise.
33063 * stdlib/tst-tininess.c: Likewise.
33064 * stdlib/strtod_l.c: Include <tininess.h>.
33065 (round_and_return): Do not set errno for exact underflow cases.
33066 Force an underflow exception when setting errno for underflow.
33067 Determine underflow based on rounding to normal precision if
33068 TININESS_AFTER_ROUNDING.
33069 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
33070 ERANGE for exact underflow cases.
33071 * stdlib/Makefile (tests): Add tst-tininess and
33072 tst-strtod-underflow.
33073 ($(objpfx)tst-tininess): Use $(link-libm).
33074 ($(objpfx)tst-strtod-underflow): Likewise.
33075
e7170363
AJ
330762012-10-30 Andreas Jaeger <aj@suse.de>
33077
e5088dc6
AJ
33078 [BZ#14767]
33079 * elf/Makefile (tests): Remove conditional for have-initfini-array
33080 since this is now always required and the variable does not exist
33081 anymore.
33082 (tests-static): Likewise.
33083 (modules-names): Likewise.
33084
e7170363 33085 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
33086
33087 * elf/tst-array1.c (fini_array): Make writeable so that it can be
33088 merged with constructor/destructor.
33089 (init_array): Likewise.
33090 * elf/tst-array2dep.c (fini_array): Likewise.
33091 (init_array): Likewise.
33092
60457d8a
MF
330932012-10-29 Mike Frysinger <vapier@gentoo.org>
33094
33095 * manual/message.texi: Delete @cartouche tags.
33096
8bece752
PT
330972012-10-29 Pino Toscano <toscano.pino@tiscali.it>
33098
94ce799f
PT
33099 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
33100 EOPNOTSUPP.
33101 * sysdeps/mach/hurd/fsync.c: Likewise.
33102
8bece752
PT
33103 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
33104 [_POSIX_REALTIME_SIGNALS]: Change condition to
33105 [_POSIX_REALTIME_SIGNALS > 0].
33106
86ebe6b1
AJ
331072012-10-27 Andreas Jaeger <aj@suse.de>
33108
33109 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
33110 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
33111 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
33112 [__WORDSIZE != 64]: Likewise.
33113
54399c08
L
331142012-10-26 H.J. Lu <hongjiu.lu@intel.com>
33115
33116 * iconvdata/tst-table.sh: Remove ${SHELL}.
33117 * iconvdata/tst-tables.sh: Likewise.
33118
e2211bed
DM
331192012-10-25 David S. Miller <davem@davemloft.net>
33120
33121 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33122 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
33123 of strtoull.
33124
f303f97c
DM
33125 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
33126 ifunc-impl-list.c
33127 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33128 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
33129 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
33130 file.
33131
1e9d84cd
RM
331322012-10-25 Roland McGrath <roland@hack.frob.com>
33133
33134 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33135 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
33136 __getdirentries.
33137
df381762
JM
331382012-10-25 Joseph Myers <joseph@codesourcery.com>
33139 Jim Blandy <jimb@codesourcery.com>
33140
33141 * scripts/cross-test-ssh.sh: New file.
33142 * manual/install.texi (Configuring and compiling): Document use of
33143 cross-test-ssh.sh.
33144 * INSTALL: Regenerated.
33145
bff64913
PT
331462012-10-25 Pino Toscano <toscano.pino@tiscali.it>
33147
33148 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
33149 EOPNOTSUPP.
33150
25fe8932
JM
331512012-10-25 Joseph Myers <joseph@codesourcery.com>
33152
33153 * Makeconfig (run-program-prefix): Fix comment.
33154
cc1290d0
JM
331552012-10-24 Joseph Myers <joseph@codesourcery.com>
33156 Jim Blandy <jimb@codesourcery.com>
33157
33158 * Makeconfig (test-wrapper): New variable,
33159 (test-wrapper-env): Likewise.
33160 [$(cross-compiling) = yes && $(test-wrapper) != ""]
33161 (run-built-tests): Define to yes.
33162 (run-program-prefix): Use $(test-wrapper).
33163 (built-program-cmd): Likewise.
33164 * Rules (make-test-out): Use $(test-wrapper-env) and
33165 $(host-built-program-cmd).
33166 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
33167 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
33168 tst-pathopt.sh.
33169 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
33170 $(test-wrapper-env) to tst-rtld-load-self.sh.
33171 ($(objpfx)order2.out): Use $(test-wrapper).
33172 ($(objpfx)tst-initorder.out): Likewise.
33173 ($(objpfx)tst-initorder2.out): Likewise.
33174 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
33175 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
33176 (test_wrapper_env): New variable. Use it to run ld.so.
33177 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
33178 Use it to run ld.so.
33179 (test_wrapper_env): Likewise.
33180 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
33181 $(test-wrapper) to run-iconv-test.sh.
33182 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
33183 (ICONV): Use $test_wrapper.
33184 * posix/Makefile ($(objpfx)globtest.out): Pass
33185 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
33186 globtest.sh, not $(run-program-prefix).
33187 * posix/globtest.sh (run_via_rtld_prefix): New variable.
33188 (test_wrapper): Likewise.
33189 (test_wrapper_env): Likewise. Use it to run globtest with HOME
33190 set together with run_via_rtld_prefix.
33191 (run_program_prefix): Define in terms of test_wrapper and
33192 run_via_rtld_prefix.
33193
6e6249d0
RM
331942012-10-24 Roland McGrath <roland@hack.frob.com>
33195
33196 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
33197 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
33198 Targets removed.
33199
33200 [BZ #14743]
33201 * include/time.h: Remove librt_hidden_proto (clock_gettime).
33202 Declare __clock_getres, __clock_gettime, __clock_settime,
33203 __clock_nanosleep, and __clock_getcpuclockid.
33204 * rt/clock_gettime.c: Define __clock_gettime as an alias.
33205 Remove librt_hidden_def (clock_gettime).
33206 * sysdeps/unix/clock_gettime.c: Likewise.
33207 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
33208 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33209 * rt/clock_getres.c: Define __clock_getres as an alias.
33210 * sysdeps/posix/clock_getres.c: Likewise.
33211 * rt/clock_settime.c: Define __clock_settime as an alias.
33212 * sysdeps/unix/clock_settime.c: Likewise.
33213 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
33214 * sysdeps/unix/clock_nanosleep.c: Likewise.
33215 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33216 * rt/clock-compat.c: New file.
33217 * rt/Makefile (librt-routines): Add clock-compat and move
33218 $(clock-routines) to ...
33219 (routines): ... here, new variable.
33220 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
33221 Don't add get_clockfreq here.
33222 * rt/Versions (libc: GLIBC_2.17): New version set.
33223 Add clock_* symbols here.
33224 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
33225 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
33226 (GLIBC_2.17): Add clock_* symbols.
33227 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33229 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33231 Likewise.
33232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33233 Likewise.
33234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33235 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33238 * NEWS: Mention the move.
33239
33240 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33241 Use __open, __read, __close rather than their public counterparts.
33242 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33243 (__get_clockfreq_via_cpuinfo): Likewise.
33244 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
33245 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
33246
33247 * config.h.in (HAVE_IFUNC): New #undef.
33248 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
33249 was successful.
33250 * configure: Regenerated.
33251
0cae3f4b
MF
332522012-10-24 Mike Frysinger <vapier@gentoo.org>
33253
33254 * configure.in: Move READELF check to start of file.
33255 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
33256 libc_cv_asm_gnu_indirect_function in the process.
33257 * configure: Regenerated.
33258
8175a253
MF
332592012-10-24 Mike Frysinger <vapier@gentoo.org>
33260
33261 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
33262 send the output to /dev/null.
33263 (libc_cv_cc_with_libunwind): Likewise.
33264 (libc_cv_as_noexecstack): Likewise.
33265 * configure: Regenerate.
33266
0708a7d1
JM
332672012-10-24 Joseph Myers <joseph@codesourcery.com>
33268
10b40d85
JM
33269 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
33270
0708a7d1
JM
33271 * posix/globtest.sh (TMPDIR): Do not set.
33272 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
33273 (testout): Likewise.
33274
9fddec1a
AJ
332752012-10-24 Andreas Jaeger <aj@suse.de>
33276
3a8db22f
AJ
33277 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
33278 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
33279 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
33280 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
33281 posix_fadvise64, posix_fallocate64.
33282
9fddec1a
AJ
33283 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
33284 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
33285 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
33286 Likewise.
33287 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
33288 Likewise.
33289 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
33290
33291 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
33292 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
33293 <bits/fcntl-linux.h>.
33294 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
33295
33296 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
33297 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
33298 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
33299 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
33300 [__WORDSIZE != 64]: Likewise.
33301
ebfd1bbd
JM
333022012-10-23 Joseph Myers <joseph@codesourcery.com>
33303
03ac099f
JM
33304 * Makeconfig (run-built-tests): New variable.
33305 * Rules [$(cross-compiling) = yes]: Change condition to
33306 [$(run-built-tests) = no].
33307 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
33308 to [$(run-built-tests) = yes].
33309 * elf/Makefile [$(cross-compiling) = no]: Likewise
33310 * grp/Makefile [$(cross-compiling) = no]: Likewise.
33311 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
33312 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
33313 * intl/Makefile [$(cross-compiling) = no]: Likewise.
33314 * io/Makefile [$(cross-compiling) = no]: Likewise.
33315 * libio/Makefile [$(cross-compiling) = no]: Likewise.
33316 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
33317 * misc/Makefile [$(cross-compiling) = no]: Likewise.
33318 * posix/Makefile [$(cross-compiling) = no]: Likewise.
33319 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
33320 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
33321 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
33322 * string/Makefile [$(cross-compiling) = no]: Likewise.
33323
ebfd1bbd
JM
33324 * posix/Makefile ($(objpfx)globtest.out): Pass
33325 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
33326 $(rtld-installed-name).
33327 * posix/globtest.sh (elf_objpfx): Remove variable.
33328 (rtld_installed_name): Likewise.
33329 (library_path): Likewise.
33330 (run_program_prefix): New variable. Use for running globtest
33331 binary.
33332
166bca24
JB
333332012-10-23 Jim Blandy <jimb@codesourcery.com>
33334 Joseph Myers <joseph@codesourcery.com>
33335
33336 * Makeconfig (host-built-program-cmd): New variable.
33337 * elf/Makefile (tst-stackguard1-ARGS): Use
33338 $(host-built-program-cmd).
33339 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
33340 (tst-spawn-ARGS): Likewise.
33341 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
33342
88866099
JM
333432012-10-23 Joseph Myers <joseph@codesourcery.com>
33344 Jim Blandy <jimb@codesourcery.com>
33345
33346 * Makeconfig (run-via-rtld-prefix): New variable.
33347 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
33348 (built-program-cmd): Likewise.
33349
b4b4c296
AJ
333502012-10-22 Andreas Jaeger <aj@suse.de>
33351
33352 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
33353 __O_RSYNC if it exists, otherwise to O_SYNC.
33354
6fb54a22
JB
333552012-10-22 Jim Blandy <jimb@codesourcery.com>
33356 Joseph Myers <joseph@codesourcery.com>
33357
33358 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
33359 /dev/null.
33360 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
33361 from /dev/null
33362 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
33363 /dev/null.
33364
481b90b9
AJ
333652012-10-22 Andreas Jaeger <aj@suse.de>
33366
2a0e2669
AJ
33367 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
33368 Define always.
33369 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
33370
76e38f9a
AJ
33371 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33372 bits/fcntl-linux.h.
33373
7cd37b43
AJ
33374 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
33375 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
33376
481b90b9
AJ
33377 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
33378 to __O_LARGEFILE.
33379 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
33380 to __O_LARGEFILE.
33381
aba75984
JB
333822012-10-21 Jim Blandy <jimb@codesourcery.com>
33383 Joseph Myers <joseph@codesourcery.com>
33384
33385 * config.make.in (NM): New variable.
33386
88d4247f
AJ
333872012-10-21 Andreas Jaeger <aj@suse.de>
33388
33389 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
33390 definitions and declarations that are provided by
33391 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33392
f2eed205
L
333932012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33394
33395 [BZ #14683]
33396 * elf/Makefile (tests-static): Add tst-leaks1-static.
33397 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
33398 ($(objpfx)tst-leaks1-static): New rule.
33399 ($(objpfx)tst-leaks1-static-mem): Likewise.
33400 (tst-leaks1-static-ENV): New macro.
33401 * elf/dl-open.c (dl_open_worker): Check the main application
33402 only if SHARED is defined.
33403 * elf/tst-leaks1-static.c: New file.
33404
335e6931
AJ
334052012-10-20 Andreas Jaeger <aj@suse.de>
33406
33407 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
33408 generic values for Linux.
33409 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
33410 and declarations that are provided by <bits/fcntl-linux.h> and
33411 include <bits/fcntl-linux.h>.
33412 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33413 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33414
ac5c94d3
RM
334152012-10-20 Roland McGrath <roland@hack.frob.com>
33416
33417 * io/fcntl.h: Move include of <bits/types.h> to the top and
33418 include it unconditionally.
33419
de54b33a
L
334202012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33421
228cfb01
L
33422 * wcsmbs/Makefile (tests-ifunc): New variable.
33423 (tests): Add $(tests-ifunc).
33424 * wcsmbs/test-wcschr-ifunc.c: New file.
33425 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
33426 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
33427 * wcsmbs/test-wcslen-ifunc.c: Likewise.
33428 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
33429 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
33430
69f07e5f
L
33431 * string/Makefile (tests-ifunc): New variable.
33432 (tests): Add $(tests-ifunc).
33433 * string/test-memccpy.c (TEST_NAME): New macro.
33434 * string/test-memchr.c (TEST_NAME): Likewise.
33435 * string/test-memcmp.c (TEST_NAME): Likewise.
33436 * string/test-memcpy.c (TEST_NAME): Likewise.
33437 * string/test-memmem.c (TEST_NAME): Likewise.
33438 * string/test-memmove.c (TEST_NAME): Likewise.
33439 * string/test-memset.c (TEST_NAME): Likewise.
33440 * string/test-rawmemchr.c (TEST_NAME): Likewise.
33441 * string/test-stpcpy.c (TEST_NAME): Likewise.
33442 * string/test-stpncpy.c (TEST_NAME): Likewise.
33443 * string/test-strcasecmp.c (TEST_NAME): Likewise.
33444 * string/test-strcasestr.c (TEST_NAME): Likewise.
33445 * string/test-strcat.c (TEST_NAME): Likewise.
33446 * string/test-strchr.c (TEST_NAME): Likewise.
33447 * string/test-strcmp.c(TEST_NAME): Likewise.
33448 * string/test-strcpy.c (TEST_NAME): Likewise.
33449 * string/test-strcspn.c (TEST_NAME): Likewise.
33450 * string/test-strlen.c (TEST_NAME): Likewise.
33451 * string/test-strncasecmp.c (TEST_NAME): Likewise.
33452 * string/test-strncmp.c (TEST_NAME): Likewise.
33453 * string/test-strncpy.c (TEST_NAME): Likewise.
33454 * string/test-strnlen.c (TEST_NAME): Likewise.
33455 * string/test-strpbrk.c (TEST_NAME): Likewise.
33456 * string/test-strrchr.c (TEST_NAME): Likewise.
33457 * string/test-strspn.c (TEST_NAME): Likewise.
33458 * string/test-strstr.c (TEST_NAME): Likewise.
33459 * string/test-bcopy-ifunc.c: New file.
33460 * string/test-bzero-ifunc.c: Likewise.
33461 * string/test-memccpy-ifunc.c: Likewise.
33462 * string/test-memchr-ifunc.c: Likewise.
33463 * string/test-memcmp-ifunc.c: Likewise.
33464 * string/test-memcpy-ifunc.c: Likewise.
33465 * string/test-memmem-ifunc.c: Likewise.
33466 * string/test-memmove-ifunc.c: Likewise.
33467 * string/test-mempcpy-ifunc.c: Likewise.
33468 * string/test-memset-ifunc.c: Likewise.
33469 * string/test-rawmemchr-ifunc.c: Likewise.
33470 * string/test-stpcpy-ifunc.c: Likewise.
33471 * string/test-stpncpy-ifunc.c: Likewise.
33472 * string/test-strcasecmp-ifunc.c: Likewise.
33473 * string/test-strcasestr-ifunc.c: Likewise.
33474 * string/test-strcat-ifunc.c: Likewise.
33475 * string/test-strchr-ifunc.c: Likewise.
33476 * string/test-strchrnul-ifunc.c: Likewise.
33477 * string/test-strcmp-ifunc.c: Likewise.
33478 * string/test-strcpy-ifunc.c: Likewise.
33479 * string/test-strcspn-ifunc.c: Likewise.
33480 * string/test-strlen-ifunc.c: Likewise.
33481 * string/test-strncasecmp-ifunc.c: Likewise.
33482 * string/test-strncat-ifunc.c: Likewise.
33483 * string/test-strncmp-ifunc.c: Likewise.
33484 * string/test-strncpy-ifunc.c: Likewise.
33485 * string/test-strnlen-ifunc.c: Likewise.
33486 * string/test-strpbrk-ifunc.c: Likewise.
33487 * string/test-strrchr-ifunc.c: Likewise.
33488 * string/test-strspn-ifunc.c: Likewise.
33489 * string/test-strstr-ifunc.c: Likewise.
33490
de54b33a
L
33491 * debug/Makefile (tests-ifunc): New variable.
33492 (tests): Add $(tests-ifunc).
33493 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
33494 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
33495 * debug/test-stpcpy_chk-ifunc.c: New file.
33496 * debug/test-strcpy_chk-ifunc.c: Likewise.
33497
88481c16
SP
334982012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33499
33500 [BZ #13601]
33501 * elf/dl-load.c (open_verify): Retry read if the entire ELF
33502 header is not read in.
33503
135948bd
JM
335042012-10-19 Joseph Myers <joseph@codesourcery.com>
33505
89f1c388
JM
33506 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
33507 script to $(SHELL) as $<. Pass $(common-objpfx) to script
33508 directly. Pass built executable to script as
33509 $(built-program-cmd).
33510 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
33511 $testprogram without using LD_LIBRARY_PATH and $ldso.
33512
e40a0d21
JM
33513 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
33514 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
33515 $(rtld-installed-name).
33516 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
33517 (rtld_installed_name): Likewise.
33518 (library_path): Likewise.
33519 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
33520 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
33521 $(run-program-prefix) to tst-tables.sh.
33522 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
33523 it to run tst-table-from and tst-table-to.
33524 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
33525 Pass it to tst-table.sh.
33526 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
33527 $(run-program-prefix) to tst-gettext.sh.
33528 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
33529 tst-translit.sh.
33530 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
33531 tst-gettext2.sh.
33532 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
33533 to run tst-gettext.
33534 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
33535 to run tst-gettext2.
33536 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
33537 to run tst-translit.
33538 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
33539 $(run-program-prefix) to tst-mtrace.sh.
33540 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
33541 to run tst-mtrace.
33542 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
33543 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
33544 $(rtld-installed-name).
33545 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
33546 (rtld_installed_name): Likewise.
33547 (run_program_prefix): New variable. Use it to run wordexp-test.
33548
728e272a
JM
33549 * Makeconfig (ARCH): Remove all definitions.
33550 (machine): Likewise.
33551 [ARCH]: Remove conditional code.
33552 [!objdir]: Give error.
33553 [!objdir] (objpfx): Remove.
33554 [!objdir] (common-objpfx): Likewise.
33555 [!objdir] (common-objdir): Likewise.
33556 * configure.in (config_makefile): Remove. Hardcode Makefile in
33557 AC_CONFIG_FILES call.
33558 * configure: Regenerated.
33559
d528cdcf
JM
33560 [BZ #13888]
33561 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
33562 or TMPDIR.
33563 (testout): Likewise.
33564
135948bd
JM
33565 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
33566 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
33567 $(rtld-installed-name).
33568 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
33569 (rtld_installed_name): Likwise.
33570 (runit): Remove function.
33571 (run_getconf): New variable, Use it for running getconf binary.
33572
38c78296
L
335732012-10-18 H.J. Lu <hongjiu.lu@intel.com>
33574
33575 [BZ #14716]
33576 * string/test-memmem.c (check_result): New function.
33577 (do_one_test): Use it.
33578 (check1): New function.
33579 (test_main): Use it.
33580
d077f65f
MT
335812012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
33582
33583 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
33584
ced52c71
JM
335852012-10-18 Joseph Myers <joseph@codesourcery.com>
33586
33587 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
33588 (_G_LSEEK64): Likewise.
33589 (_G_MMAP64): Likewise.
33590 (_G_FSTAT64): Likewise.
33591 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
33592 (_G_LSEEK64): Likewise.
33593 (_G_MMAP64): Likewise.
33594 (_G_FSTAT64): Likewise.
33595 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
33596 unconditional. Call __mmap64 directly.
33597 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
33598 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
33599 __lseek64 directly.
33600 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
33601 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
33602 __mmap64 directly.
33603 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
33604 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
33605 __lseek64 directly.
33606 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
33607 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
33608 __lseek64 directly.
33609 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
33610 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
33611 __lseek64 directly.
33612 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
33613 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
33614 __fxstat64 directly.
33615 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
33616 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
33617 unconditional.
33618 (freopen64) [!_G_OPEN64]: Remove conditional code.
33619 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
33620 unconditional.
33621 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
33622 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
33623 unconditional.
33624 (ftello64) [!_G_LSEEK64]: Remove conditional code.
33625 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
33626 unconditional.
33627 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33628 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
33629 unconditional.
33630 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
33631 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
33632 unconditional.
33633 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33634 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
33635 unconditional.
33636 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33637 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
33638 unconditional.
33639 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33640
b741de23
SP
336412012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33642
33643 [BZ #12140]
33644 * manual/memory.texi (Malloc Tunable Parameters): Add note
33645 about free list pointers overwriting some perturb bytes.
33646 Wording suggested by Roland McGrath.
33647
f9b9d9c9
JM
336482012-10-17 Joseph Myers <joseph@codesourcery.com>
33649
33650 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
33651 (lgamma_test): Likewise.
33652 (tgamma_test): Likewise.
33653
172a631a
FW
336542012-10-16 Florian Weimer <fweimer@redhat.com>
33655
33656 [BZ #14700]
33657 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
33658 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
33659
e9f37252
MK
336602012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
33661
33662 * NEWS: Mention BZ #14716.
33663 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
33664 when removing AVAILABLE1_USES_J macro.
33665
d394eb74
L
336662012-10-12 H.J. Lu <hongjiu.lu@intel.com>
33667
33668 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
33669 (__bswap_64): __uint64_t for unsigned 64-bit int.
33670
ca38dc17
AS
336712012-10-12 Andreas Schwab <schwab@linux-m68k.org>
33672
33673 * include/string.h (memmem): Declare libc hidden alias.
33674 * string/memmem.c (memmem): Define libc hidden alias.
33675 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
33676 __read, __close instead of open, read, close.
33677
9a387d1f
L
336782012-10-11 H.J. Lu <hongjiu.lu@intel.com>
33679
ac49ecaf
L
33680 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
33681 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
33682 global and hidden.
33683 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
33684 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
33685 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
33686 Likewise.
33687 (__rawmemchr_sse2): Likewise.
33688 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
33689 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
33690 (__strchr_sse2): Likewise.
33691 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
33692 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
33693 (__strcasecmp_sse2): Likewise.
33694 (__strncasecmp_sse2): Likewise.
33695 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
33696 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
33697 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
33698 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
33699 (__strrchr_sse2): Likewise.
33700 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
33701 ifunc-impl-list.c.
33702 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33703 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33704 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33705 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33706 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33707 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33708 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33709 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33710 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
33711 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
33712 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
33713 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
33714 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
33715 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33716 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33717 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33718 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33719 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33720 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
33721 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
33722 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
33723 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
33724 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
33725 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33726 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
33727 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33728 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33729 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33730 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33731 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33732
b090e8ea
L
33733 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
33734 global and hidden.
33735 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
33736 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
33737 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
33738 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
33739 Likewise.
33740 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
33741 Likewise.
33742 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
33743 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
33744 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
33745 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
33746 ifunc-impl-list.c.
33747 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33748 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33749 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33750 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33751 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33752 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33753 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33754 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33755 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33756 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33757 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33758 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33759 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33760 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33761 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33762 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33763 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33764 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
33765 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33766 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33767 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33768 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33769 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33770 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33771 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33772 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33773 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33774 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33775 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33776 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33777 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33778 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33779 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33780 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
33781 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33782 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33783 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33784 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33785 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33786 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33787 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
33788
11dd4af6
L
33789 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
33790 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
33791 * include/ifunc-impl-list.h: New file.
33792 * misc/ifunc-impl-list.c: Likewise.
33793 * misc/Makefile (routines): Add ifunc-impl-list.
33794 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
33795 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
33796 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
33797 TEST_NAME]: New variables.
11dd4af6
L
33798 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
33799 are defined.
33800 (test_init): Call __libc_ifunc_impl_list to initialize
33801 func_list if TEST_IFUNC and TEST_NAME are defined.
33802
9a387d1f
L
33803 * string/Makefile (strop-tests): Add bcopy and bzero.
33804 * string/test-bcopy.c: New file.
33805 * string/test-bzero.c: Likewise.
33806 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
33807 defined.
33808 * string/test-memset.c: Support bzero test if TEST_BZERO is
33809 defined.
33810 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
33811 __libc_memmove.
33812 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
33813 __libc_memset.
33814 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
33815 of memset.
33816
472371b9
JM
338172012-10-10 Joseph Myers <joseph@codesourcery.com>
33818
1e4a9536
JM
33819 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
33820 * configure: Regenerated.
33821
d173d12e
JM
33822 * Makeconfig (+link-static-before-libc): Don't include
33823 $(link-static-libc).
33824
472371b9
JM
33825 * libio/libio.h (_IO_pos_t): Remove.
33826
89a3ad0b
AO
338272012-10-10 Alexandre Oliva <aoliva@redhat.com>
33828
33829 * NEWS: Add note about FIPS mode. Wording suggested by Roland
33830 McGrath.
33831
e7451425
AO
338322012-10-10 Alexandre Oliva <aoliva@redhat.com>
33833
33834 * crypt/crypt-entry.c: Include fips-private.h.
33835 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
33836 * crypt/md5c-test.c (main): Tolerate disabled MD5.
33837 * sysdeps/unix/sysv/linux/fips-private.h: New file.
33838 * sysdeps/generic/fips-private.h: New file, dummy fallback.
33839
4ba74a35
AO
338402012-10-10 Alexandre Oliva <aoliva@redhat.com>
33841
33842 * crypt/crypt-private.h: Include stdbool.h.
33843 (_ufc_setup_salt_r): Return bool.
33844 * crypt/crypt-entry.c: Include errno.h.
33845 (__crypt_r): Return NULL with EINVAL for bad salt.
33846 * crypt/crypt_util.c (bad_for_salt): New.
33847 (_ufc_setup_salt_r): Check that salt is long enough and within
33848 the specified alphabet.
33849 * crypt/badsalttest.c: New file.
33850 * crypt/Makefile (tests): Add it.
33851 ($(objpfx)badsalttest): New.
33852
f96f1242
MK
338532012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
33854
33855 * NEWS: Add entry for BZ #14602.
33856
0e8e0c1c
JM
338572012-10-09 Joseph Myers <joseph@codesourcery.com>
33858
33859 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
33860 type-generic.
33861 * math/libm-test.inc: Update comment listing what functions and
33862 macros are tested.
33863 (isgreater_test): New function.
33864 (isgreaterequal_test): Likewise.
33865 (isless_test): Likewise.
33866 (islessequal_test): Likewise.
33867 (islessgreater_test): Likewise.
33868 (isunordered_test): Likewise.
33869 (main): Call the new functions.
33870
273edc5e
RM
338712012-10-09 Roland McGrath <roland@hack.frob.com>
33872
b8493de0
RM
33873 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
33874 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
33875 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
33876 * sysdeps/i386/configure: Regenerated.
33877 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
33878 * sysdeps/mach/configure: Regenerated.
33879 * sysdeps/mach/hurd/configure: Regenerated.
33880 * sysdeps/powerpc/configure: Regenerated.
33881 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33882 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33883 * sysdeps/s390/s390-32/configure: Regenerated.
33884 * sysdeps/s390/s390-64/configure: Regenerated.
33885 * sysdeps/sh/configure: Regenerated.
33886 * sysdeps/sparc/configure: Regenerated.
33887 * sysdeps/unix/sysv/linux/configure: Regenerated.
33888 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33889 * sysdeps/x86_64/configure: Regenerated.
33890
273edc5e
RM
33891 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
33892 defined. Don't check if MAP is NULL.
33893
c8450f70
JM
338942012-10-09 Joseph Myers <joseph@codesourcery.com>
33895
33896 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
33897 (_G_stat64): Likewise.
33898 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
33899 (_G_stat64): Likewise.
33900 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
33901 instead of struct _G_stat64.
33902 * libio/fileops.c (mmap_remap_check): Likewise.
33903 (decide_maybe_mmap): Likewise.
33904 (_IO_new_file_seekoff): Likewise.
33905 (_IO_file_stat): Likewise.
33906 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
33907 _G_off64_t.
33908 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
33909 instead of struct _G_stat64.
33910 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33911
57e605ba
MK
339122012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
33913
33914 [BZ #14602]
33915 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33916 Replace with ...
33917 (CHECK_EOL): New macro.
33918 (two_way_short_needle): Check beginning of haystack for EOL. Use
33919 CHECK_EOL.
33920 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33921 Replace with CHECK_EOL.
33922 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33923 Replace with CHECK_EOL.
33924
ef1bb361
JM
339252012-10-08 Joseph Myers <joseph@codesourcery.com>
33926
33927 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
33928 type-generic.
33929 * math/libm-test.inc: Update comment listing what functions and
33930 macros are tested.
33931 (finite_test): New function.
33932 (isinf_test): Likewise.
33933 (isnan_test): Likewise.
33934 (fpclassify_test): Test subnormal input.
33935 (isfinite_test): Likewise.
33936 (isnormal_test): Likewise.
33937 (main): Call the new functions.
33938
55f11534
JN
339392012-10-08 Jonathan Nieder <jrnieder@gmail.com>
33940
33941 [BZ #14660]
33942 * Makerules (%.dynsym): Force C locale when running
33943 $(OBJDUMP) --dynamic-syms.
33944
1ab29350
AS
339452012-10-08 Andreas Schwab <schwab@linux-m68k.org>
33946
33947 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
33948 <stdint.h>.
33949
f1ecb7ef
DM
339502012-10-06 David S. Miller <davem@davemloft.net>
33951
33952 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
33953 upper 32-bits of the length value in %o2 since we use branch-on-register
33954 tests which consider the entire 64-bit register.
33955
5d41d91a
L
339562012-10-06 H.J. Lu <hongjiu.lu@intel.com>
33957
33958 * string/test-strstr.c (check2): Add a test for page boundary.
33959
3baddb72
DM
339602012-10-05 David S. Miller <davem@davemloft.net>
33961
33962 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
33963 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
33964 file.
33965 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33966 sysdep_routines.
33967 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33968 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
33969 and bzero when HWCAP_SPARC_CRYPTO is present.
33970
9cee5585
L
339712012-10-05 H.J. Lu <hongjiu.lu@intel.com>
33972
d7e0dab9
L
33973 [BZ #14602]
33974 * string/test-strstr.c (check2): New function.
33975 (test_main): Call check2.
33976
03759f47
L
33977 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
33978 and bug-strchr1.
33979 * string/bug-strcasestr1.c (do_test): Moved to ...
33980 * string/test-strcasestr.c (check1): Here. New function.
33981 (do_one_test): Break out result checking code into ...
33982 (check_result): This. New function.
33983 (do_one_test): Call check_result.
33984 (test_main): Call check1.
33985 * string/bug-strchr1.c (do_test): Moved to ...
33986 * string/test-strchr.c (check1): Here. New function.
33987 (do_one_test): Break out result checking code into ...
33988 (check_result): This. New function.
33989 (do_one_test): Call check_result.
33990 (test_main): Call check1.
33991 * string/bug-strstr1.c (main): Moved to ...
046f153e 33992 * string/test-strstr.c (check1): Here. New function.
03759f47
L
33993 (do_one_test): Break out result checking code into ...
33994 (check_result): This. New function.
33995 (do_one_test): Call check_result.
33996 (test_main): Call check1.
33997 * string/bug-strcasestr1.c: Removed.
33998 * string/bug-strchr1.c: Likewise.
33999 * string/bug-strstr1.c: Likewise.
34000
53cea63e
L
34001 * elf/Makefile (dl-routines): Add hwcaps.
34002 * elf/dl-support.c (_dl_important_hwcaps): Removed.
34003 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
34004 (_dl_important_hwcaps): Moved to ...
34005 * elf/dl-hwcaps.c: Here. New file.
34006 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
34007
9cee5585 34008 [BZ #14557]
bb859b06
L
34009 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
34010 if IS_IN_rtld isn't defined.
34011
9cee5585
L
34012 * elf/dl-support.c (_dl_sysinfo_map): New.
34013 Include "get-dynamic-info.h" and "setup-vdso.h".
34014 (_dl_non_dynamic_init): Call setup_vdso.
34015 * elf/dynamic-link.h: Don't include <assert.h>.
34016 (elf_get_dynamic_info): Moved to ...
34017 * elf/get-dynamic-info.h: Here. New file.
34018 * elf/dynamic-link.h: Include "get-dynamic-info.h".
34019 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
34020 * elf/setup-vdso.h: Here. New file.
34021 * elf/rtld.c: Include "setup-vdso.h".
34022 (dl_main): Call setup_vdso.
34023
23c31b76
JM
340242012-10-05 Joseph Myers <joseph@codesourcery.com>
34025
28234b07
JM
34026 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
34027 creal in comment listing functions tested. List finite, isinf,
34028 isnan, isless, islessequal, isgreater, isgreaterequal,
34029 islessgreater, isunordered, lgamma_r and pow10 as functions and
34030 macros not tested. Mention which functions not tested are aliases
34031 for other functions. Fix typo. Note that signs of NaNs are not
34032 tested.
34033
23c31b76
JM
34034 * scripts/config.guess: Update from config.git.
34035 * scripts/config.sub: Likewise.
34036
9043e228
RM
340372012-10-04 Roland McGrath <roland@hack.frob.com>
34038
34039 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
34040 * misc/madvise.c (madvise): Renamed to __madvise.
34041 Make madvise a weak alias.
34042 * include/sys/mman.h: Declare __madvise.
34043 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
34044 * sysdeps/unix/syscalls.list
34045 (madvise): Make __madvise the strong name, and madvise a weak alias.
34046 * sysdeps/unix/sysv/linux/syscalls.list
34047 (madvise, mmap): Remove redundant entries.
34048 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
34049 * malloc/malloc.c (mtrim): Likewise.
34050 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
34051
f57f8055
RM
340522012-10-03 Roland McGrath <roland@hack.frob.com>
34053
34054 * sysdeps/mach/hurd/dl-cache.c: File removed.
34055 * config.h.in (USE_LDCONFIG): New #undef.
34056 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
34057 * configure: Regenerated.
34058 * elf/Makefile (dl-routines): Add dl-cache only under
34059 [$(use-ldconfig) = yes].
34060 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
34061 cache on [USE_LDCONFIG].
34062 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
34063 [USE_LDCONFIG].
34064 * elf/rtld.c (dl_main): Likewise.
34065
5bb0c10a
PT
340662012-10-03 Pino Toscano <toscano.pino@tiscali.it>
34067
34068 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
34069 _SC_LEVEL4_CACHE_LINESIZE.
34070
010188c6
RM
340712012-10-03 Roland McGrath <roland@hack.frob.com>
34072
34073 * sysdeps/unix/bsd/confstr.h: File removed.
34074
b6c5ec07
AO
340752012-10-02 Alexandre Oliva <aoliva@redhat.com>
34076
34077 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
34078 sys/sdt-config.h.
34079
408223d4
RM
340802012-10-02 Roland McGrath <roland@hack.frob.com>
34081
34082 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
34083 Make 'mapoff' field ElfW(Off) rather than off_t.
34084
bb9510dc
DL
340852012-10-02 Dmitry V. Levin <ldv@altlinux.org>
34086
fc997c6e
DL
34087 * nscd/Makefile: Remove nscd-cflags and all its users.
34088 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
34089 (CFLAGS-nonlib): Add compiler flags for nscd modules.
34090
bb9510dc
DL
34091 [BZ #10631]
34092 * malloc.c (malloc_printerr): Clarify error message.
34093
05699367
L
340942012-10-02 H.J. Lu <hongjiu.lu@intel.com>
34095
34096 [BZ #14648]
34097 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34098 Set bit_FMA_Usable if FMA is supported.
34099 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
34100 macro.
34101 (bit_FMA4_Usable): Updated.
34102 (index_FMA_Usable): New macro.
34103 (CPUID_FMA): Likewise
34104 (HAS_FMA): Defined with bit_FMA_Usable.
34105
51367701
RM
341062012-10-01 Roland McGrath <roland@hack.frob.com>
34107
34108 * bits/types.h (__swblk_t): Type removed.
34109 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
34110 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
34111 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34112 (__SWBLK_T_TYPE): Likewise.
34113 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34114 (__SWBLK_T_TYPE): Likewise.
34115 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34116 (__SWBLK_T_TYPE): Likewise.
34117 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34118 (__SWBLK_T_TYPE): Likewise.
34119
4d57bf63 341202012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 34121 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
34122
34123 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
34124 (xdr_mapname): Use YPMAXMAP as maxsize.
34125 (xdr_peername): Use YPMAXPEER as maxsize.
34126 (xdr_keydat): Use YPAXRECORD as maxsize.
34127 (xdr_valdat): Use YPMAXRECORD as maxsize.
34128
93c65d43
RM
341292012-10-01 Roland McGrath <roland@hack.frob.com>
34130
497a03d6
RM
34131 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
34132
93c65d43
RM
34133 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
34134 * csu/init-first.c: ... here.
34135 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
34136 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
34137 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34138 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34139 * sysdeps/i386/init-first.c: File removed.
34140 * sysdeps/sh/init-first.c: File removed.
34141
bec749fd
JM
341422012-10-01 Joseph Myers <joseph@codesourcery.com>
34143
34144 [BZ #14645]
34145 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
34146 if x * y might underflow to zero and z is zero.
34147 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34148 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34149 * math/libm-test.inc (min_subnorm_value): New variable.
34150 (fma_test): Add more tests.
34151 (fma_test_towardzero): Likewise.
34152 (fma_test_downward): Likewise
34153 (fma_test_upward): Likewise.
34154 (initialize): Set min_subnorm_value.
34155
8ec5b013
JM
341562012-09-29 Joseph Myers <joseph@codesourcery.com>
34157
34158 [BZ #14638]
34159 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
34160 0 + 0.
34161 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
34162 mode for addition resulting in exact zero.
34163 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
34164 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
34165 exact 0 + 0.
34166 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34167 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34168 * math/libm-test.inc (fma_test): Add more tests.
34169 (fma_test_towardzero): New function.
34170 (fma_test_downward): Likewise.
34171 (fma_test_upward): Likewise.
34172 (main): Call the new functions.
34173
b1fa802e
DM
341742012-09-28 David S. Miller <davem@davemloft.net>
34175
34176 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
34177
d3b9fd9e
RM
341782012-09-28 Roland McGrath <roland@hack.frob.com>
34179
ea4d37b3
RM
34180 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
34181 instead of SIGALRM.
34182
ac51c949
RM
34183 * sysdeps/gnu/_G_config.h: Moved to ...
34184 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
34185 * sysdeps/mach/hurd/_G_config.h: Moved to ...
34186 * sysdeps/generic/_G_config.h: ... here.
34187
28c195f7
RM
34188 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
34189
848917f9
RM
34190 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
34191
6bacf05b
RM
34192 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
34193 Conditionalize target on [libnss_test1.so-version].
34194
91363dbb
RM
34195 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
34196
cc87f7d8
RM
34197 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
34198 (elfobjdir): Move out of conditionals.
34199
b1c608fe
RM
34200 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
34201 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
34202 (__nss_lookup_function): Conditionalize label remove_from_tree on
34203 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 34204
1d9a6d96
DM
342052012-09-28 David S. Miller <davem@davemloft.net>
34206
34207 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
34208 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
34209 file.
34210 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34211 sysdep_routines.
34212 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34213 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
34214 when HWCAP_SPARC_CRYPTO is present.
34215
72581615
PT
342162012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34217
34218 * io/tst-mknodat.c: Create a FIFO instead of a socket.
34219
715a900c
JL
342202012-09-28 Andreas Schwab <schwab@linux-m68k.org>
34221
34222 [BZ #6530]
34223 * stdio-common/vfprintf.c (process_string_arg): Revert
34224 2000-07-22 change.
34225
342262011-09-28 Jonathan Nieder <jrnieder@gmail.com>
34227
34228 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
34229 for testcase.
34230 * stdio-common/tst-sprintf.c: Include <locale.h>
34231 (main): Test sprintf's handling of incomplete multibyte
34232 characters.
34233
9bac1d86
L
342342012-09-28 H.J. Lu <hongjiu.lu@intel.com>
34235
34236 * elf/dl-runtime.c (VERSYMIDX): Removed.
34237 * elf/dl-version.c (VERSYMIDX): Likewise.
34238 * elf/do-rel.h (VERSYMIDX): Likewise.
34239 (VALIDX): Likewise.
34240 * elf/dynamic-link.h (VERSYMIDX): Likewise.
34241 * elf/rtld.c (VALIDX): Likewise.
34242 (ADDRIDX): Likewise.
9bac1d86
L
34243 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
34244 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
34245 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
34246 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
34247 (VALIDX): Likewise.
34248 (ADDRIDX): Likewise.
9bac1d86 34249
b31606c0
PT
342502012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34251
34252 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
34253
11541177
JL
342542012-09-28 Dmitry V. Levin <ldv@altlinux.org>
34255
34256 [BZ #11438]
34257 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
34258 to global scope.
34259 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
34260 addresses are in the same scope as 192.0.2/24.
34261 * posix/gai.conf: Document new scope table defaults.
34262
adb26fae
SP
342632012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34264
34265 [BZ #5298]
34266 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
34267 for ftell. Compute offsets from write pointers instead.
34268 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34269
4573c6b0
SP
342702012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34271
34272 [BZ #14543]
34273 * libio/Makefile (tests): New test case tst-fseek.
34274 * libio/tst-fseek.c: New test case to verify that fseek/ftell
34275 combination works in wide mode.
34276 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
34277 state when the external buffer state changes.
34278
aa9bbfe6
DM
342792012-09-27 David S. Miller <davem@davemloft.net>
34280
34281 [BZ #14376]
34282 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
34283 pass reloc->r_addend in as the 'high' argument to
34284 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
34285
784421e7
DM
34286 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34287
c39bc8b8
PT
342882012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34289
34290 * rt/tst-aio2.c: Include <pthread.h>.
34291 * rt/tst-aio3.c: Likewise.
34292
1ccc2399
SE
342932012-09-27 Steve Ellcey <sellcey@mips.com>
34294
34295 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
34296
31ed4153
L
342972012-09-27 H.J. Lu <hongjiu.lu@intel.com>
34298
25f5f885
L
34299 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
34300 contents on [SHARED].
31ed4153 34301
b7bfe116
MP
343022012-09-26 Marek Polacek <polacek@redhat.com>
34303
34304 [BZ #14530]
34305 [BZ #13741]
34306 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
34307 for C++ and GCC <4.3 as well as for non GCC compilers.
34308
43c4edba
MT
343092012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
34310
34311 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34312
6a1bf82f
RM
343132012-09-25 Roland McGrath <roland@hack.frob.com>
34314
34315 * Makefile.in (all, install): Declare with .PHONY.
34316 Reported by Michael Hope <michael.hope@linaro.org>.
34317
8ad11b9a
TMQMF
343182012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34319
34320 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
34321 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
34322 system header.
34323 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
34324 Likewise.
34325 (sydep_routines): Add the new and the internal functions.
34326 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
34327 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
34328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
34329 (GLIBC_2.17): Add the new function.
34330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34331 (GLIBC_2.17): Likewise.
34332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
34333 (GLIBC_2.17): Likewise.
34334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
34335 (GLIBC_2.17): Likewise.
34336 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
34337
7e2fca8d
AM
343382012-09-25 Alan Modra <amodra@gmail.com>
34339
34340 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
34341 Add release barrier before setting once_control to say
34342 initialisation is done. Add hints on lwarx. Use macro in
34343 place of isync.
34344 (clear_once_control): Add release barrier.
34345
b87c4b24
JM
343462012-09-25 Joseph Myers <joseph@codesourcery.com>
34347
d032e0d2
JM
34348 [BZ #13629]
34349 * math/s_clog.c (__clog): Handle more values close to |z| = 1
34350 specially.
34351 * math/s_clog10.c (__clog10): Likewise.
34352 * math/s_clog10f.c (__clog10f): Likewise.
34353 * math/s_clog10l.c (__clog10l): Likewise.
34354 * math/s_clogf.c (__clogf): Likewise.
34355 * math/s_clogl.c (__clogl): Likewise.
34356 * math/Makefile (libm-calls): Add x2y2m1.
34357 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
34358 (__x2y2m1): Likewise.
34359 (__x2y2m1l): Likewise.
34360 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
34361 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
34362 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
34363 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
34364 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
34365 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
34366 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
34367 * sysdeps/i386/fpu/libm-test-ulps: Update.
34368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34369
b87c4b24
JM
34370 [BZ #14621]
34371 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
34372 int as type of variable DEPTH.
34373 (glob): Use size_t instead of int as type of variables NEWCOUNT
34374 and OLD_PATHC.
34375
6d3bf199
LD
343762012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34377
22bf5c17
LD
34378 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34379 Add s_sincosf-sse2.
34380 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
34381 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
34382 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
34383 macros for using routine as __sincosf_ia32.
34384 Use macro for function declaration and weak_alias.
34385 * sysdeps/i386/fpu/libm-test-ulps: Update.
34386
34387 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
34388 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34389
34390 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
34391 subnormal argument.
34392 * math/s_cexpf.c (__cexpf): Likewise.
34393 * math/s_csinf.c (__csinf): Likewise.
34394 * math/s_csinhf.c (__csinhf): Likewise.
34395 * math/s_ctanf.c (__ctanf): Likewise.
34396 * math/s_ctanhf.c (__ctanhf): Likewise.
34397 * math/s_ccosh.c (__ccoshf): Likewise.
34398 * math/s_cexp.c (__cexpl): Likewise.
34399 * math/s_csin.c (__csin): Likewise.
34400 * math/s_csinh.c (__csinh): Likewise.
34401 * math/s_ctan.c (__ctan): Likewise.
34402 * math/s_ctanh.c (ctanh): Likewise.
34403 * math/s_ccoshl.c (__ccoshl): Likewise.
34404 * math/s_cexpl.c (__cexpl): Likewise.
34405 * math/s_csinl.c (__csinl): Likewise.
34406 * math/s_csinhl.c (__csinhl): Likewise.
34407 * math/s_ctanl.c (__ctanl): Likewise.
34408 * math/s_ctanhl.c (__ctanhl): Likewise.
34409
203e5603
JM
344102012-09-25 Joseph Myers <joseph@codesourcery.com>
34411
34412 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
34413 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
34414 (_IO_off_t): Define to __off_t, not _G_off_t.
34415 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
34416 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
34417 (_IO_wint_t): Define to wint_t, not _G_wint_t.
34418 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
34419 type of __dummy and __dummy2 fields.
34420 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
34421 (_G_ssize_t): Likewise.
34422 (_G_off_t): Likewise.
34423 (_G_pid_t): Likewise.
34424 (_G_uid_t): Likewise.
34425 (_G_wchar_t): Likewise.
34426 (_G_wint_t): Likewise.
34427 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
34428 (_G_ssize_t): Likewise.
34429 (_G_off_t): Likewise.
34430 (_G_pid_t): Likewise.
34431 (_G_uid_t): Likewise.
34432 (_G_wchar_t): Likewise.
34433 (_G_wint_t): Likewise.
34434 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
34435 (_G_ssize_t): Likewise.
34436 (_G_off_t): Likewise.
34437 (_G_pid_t): Likewise.
34438 (_G_uid_t): Likewise.
34439 (_G_wchar_t): Likewise.
34440 (_G_wint_t): Likewise.
34441
9fab36eb
SP
344422012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34443
34444 * malloc/arena.c: Include malloc-sysdep.h.
34445 (shrink_heap): Use check_may_shrink_heap to decide if madvise
34446 is sufficient to shrink the heap or an unmap is needed.
34447 * sysdeps/generic/malloc-sysdep.h: New file. Define
34448 new function check_may_shrink_heap.
34449 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
34450 new function check_may_shrink_heap.
34451
2b4f00d1
SP
344522012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34453
34454 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
34455 comments.
34456
9a9028b1
DL
344572012-09-24 Dmitry V. Levin <ldv@altlinux.org>
34458
57c69bef
DL
34459 * catgets/test-gencat.sh: Add "set -e".
34460 * elf/tst-pathopt.sh: Likewise.
34461 * grp/tst_fgetgrent.sh: Likewise.
34462 * iconvdata/run-iconv-test.sh: Likewise.
34463 * intl/tst-gettext.sh: Likewise.
34464 * intl/tst-gettext2.sh: Likewise.
34465 * intl/tst-gettext4.sh: Likewise.
34466 * intl/tst-gettext6.sh: Likewise.
34467 * intl/tst-translit.sh: Likewise.
34468 * io/ftwtest-sh: Likewise.
34469 * libio/test-freopen.sh: Likewise.
34470 * malloc/tst-mtrace.sh: Likewise.
34471 * posix/globtest.sh: Likewise.
34472 * posix/tst-getconf.sh: Likewise.
34473 * posix/wordexp-tst.sh: Likewise.
34474 * stdio-common/tst-printf.sh: Likewise.
34475 * stdio-common/tst-unbputc.sh: Likewise.
34476 * stdlib/tst-fmtmsg.sh: Likewise.
34477 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34478 * catgets/Makefile: Do not specify -e option when running
34479 testsuite shell scripts.
34480 * elf/Makefile: Likewise.
34481 * grp/Makefile: Likewise.
34482 * iconvdata/Makefile: Likewise.
34483 * intl/Makefile: Likewise.
34484 * io/Makefile: Likewise.
34485 * libio/Makefile: Likewise.
34486 * malloc/Makefile: Likewise.
34487 * posix/Makefile: Likewise.
34488 * stdio-common/Makefile: Likewise.
34489 * stdlib/Makefile: Likewise.
34490 * sysdeps/x86_64/Makefile: Likewise.
34491
9a9028b1
DL
34492 * io/ftwtest-sh: Add copyright header.
34493 * posix/globtest.sh: Likewise.
34494 * posix/tst-getconf.sh: Likewise.
34495 * posix/wordexp-tst.sh: Likewise.
34496 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34497
ced6f16e
L
344982012-09-24 H.J. Lu <hongjiu.lu@intel.com>
34499
94b32c39
L
34500 [BZ #13679]
34501 * Makeconfig (+link): Defined as $(+link-static) if
34502 $(build-shared) isn't yes.
34503 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
34504 isn't yes.
34505 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
34506
189e935b
L
34507 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
34508
ced6f16e
L
34509 [BZ #14562]
34510 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
34511 new chunk size with MALLOC_ALIGN_MASK.
34512
a9f8e53a
JM
345132012-09-24 Joseph Myers <joseph@codesourcery.com>
34514
34515 [BZ #5044]
34516 * stdio-common/printf_fphex.c: Include <stdbool.h> and
34517 <rounding-mode.h>.
34518 (__printf_fphex): Determine rounding using get_rounding_mode and
34519 round_away.
34520 * stdio-common/tst-printf-round.c (struct hex_test): New
34521 structure.
34522 (hex_tests): New variable.
34523 (test_hex_in_one_mode): New function.
34524 (do_test): Also run tests for hex float output.
34525
43153109
JM
345262012-09-21 Joseph Myers <joseph@codesourcery.com>
34527
34528 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34529 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34530 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
34531 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34532 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34533 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
34534 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34535 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34536
8a26625d
JM
345372012-09-20 Joseph Myers <joseph@codesourcery.com>
34538
34539 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
34540 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
34541 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
34542 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
34543
f3fd569c
DL
345442012-09-19 Dmitry V. Levin <ldv@altlinux.org>
34545
34546 [BZ #14579]
34547 * elf/rtld.c (dl_main): Limit the check for self loading to normal
34548 mode only.
34549 * elf/tst-rtld-load-self.sh: New test.
34550 * elf/Makefile: Run it.
34551
63bbedd4
JM
345522012-09-18 Joseph Myers <joseph@codesourcery.com>
34553
34554 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
34555 (tst-writev-ENV): Remove.
34556 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
34557
626f8b6a
CM
345582012-09-17 Chris Metcalf <cmetcalf@tilera.com>
34559
34560 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
34561
b7aaa4d6
JM
345622012-09-17 Joseph Myers <joseph@codesourcery.com>
34563
34564 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
34565 unconditional.
34566 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
34567 Likewise.
34568 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
34569 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
34570 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
34571 Likewise.
34572
65513990
L
345732012-09-14 H.J. Lu <hongjiu.lu@intel.com>
34574
34575 [BZ #14587]
34576 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
34577 * config.make.in (have-cpp-asm-debuginfo): Removed.
34578 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
34579 * configure: Regenerated.
34580
784761be
JM
345812012-09-14 Joseph Myers <joseph@codesourcery.com>
34582
34583 [BZ #5044]
34584 * stdio-common/printf_fp.c: Include <stdbool.h> and
34585 <rounding-mode.h>.
34586 (___printf_fp): Determine rounding using get_rounding_mode and
34587 round_away.
34588 * stdio-common/tst-printf-round.c: New file.
34589 * stdio-common/Makefile (tests): Add tst-printf-round.
34590 (link-libm): New variable.
34591 ($(objpfx)tst-printf-round): Depend in $(link-libm).
34592
9503345f
L
345932012-09-13 H.J. Lu <hongjiu.lu@intel.com>
34594
34595 [BZ #14576]
34596 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
34597 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
34598 Likewise.
34599 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
34600 Likewise.
34601
ad35fc00
JM
346022012-09-13 Joseph Myers <joseph@codesourcery.com>
34603
34604 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
34605 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34606 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34607 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34608
6c9b0f68
JM
346092012-09-12 Joseph Myers <joseph@codesourcery.com>
34610
34611 [BZ #14518]
34612 * include/rounding-mode.h: New file.
34613 * sysdeps/generic/get-rounding-mode.h: Likewise.
34614 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
34615 * stdlib/strtod_l.c: Include <rounding-mode.h>.
34616 (MAX_VALUE): New macro.
34617 (MIN_VALUE): Likewise.
34618 (overflow_value): New function.
34619 (underflow_value): Likewise.
34620 (round_and_return): Use overflow_value and underflow_value to
34621 determine return values in overflow and underflow cases. Use
34622 round_away to determine rounding depending on rounding mode.
34623 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
34624 determine return values in overflow and underflow cases.
34625 * stdlib/tst-strtod-round.c: Include <fenv.h>.
34626 (struct test_results): New structure.
34627 (struct test): Use struct test_results to store expected results
34628 for all rounding modes.
34629 (TEST): Include expected results for all rounding modes.
34630 (test_in_one_mode): New function.
34631 (do_test): Use test_in_one_mode to compute and check results.
34632 Check results for all rounding modes.
34633 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
34634 $(link-libm).
34635
19fcedd5
AM
346362012-12-09 Allan McRae <allan@archlinux.org>
34637
1e9d84cd 34638 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 34639
8bbfd2f1
JM
346402012-09-11 Joseph Myers <joseph@codesourcery.com>
34641
34642 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
34643 (_G_int32_t): Likewise.
34644 (_G_uint16_t): Likewise.
34645 (_G_uint32_t): Likewise.
34646 (_G_HAVE_BOOL): Likewise.
34647 (_G_HAVE_ATEXIT): Likewise.
34648 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34649 (_G_HAVE_IO_FILE_OPEN): Likewise.
34650 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
34651 (_G_int32_t): Likewise.
34652 (_G_uint16_t): Likewise.
34653 (_G_uint32_t): Likewise.
34654 (_G_HAVE_BOOL): Likewise.
34655 (_G_HAVE_ATEXIT): Likewise.
34656 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34657 (_G_HAVE_IO_FILE_OPEN): Likewise.
34658 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
34659 (_G_int32_t): Likewise.
34660 (_G_uint16_t): Likewise.
34661 (_G_uint32_t): Likewise.
34662 (_G_HAVE_BOOL): Likewise.
34663 (_G_HAVE_ATEXIT): Likewise.
34664 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34665 (_G_HAVE_IO_FILE_OPEN): Likewise.
34666
b1dc5912
L
346672012-09-11 H.J. Lu <hongjiu.lu@intel.com>
34668
34669 * csu/libc-tls.c: Update copyright years.
34670
0e886ef9
JM
346712012-09-10 Joseph Myers <joseph@codesourcery.com>
34672
28361c5e
JM
34673 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
34674 [!_G_USING_THUNKS]: Remove conditional code.
34675 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
34676 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
34677
0e886ef9
JM
34678 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
34679 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
34680 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34681 (_G_VTABLE_LABEL_PREFIX): Likewise.
34682 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34683 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34684 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34685 (_G_VTABLE_LABEL_PREFIX): Likewise.
34686 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34687 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34688 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34689 (_G_VTABLE_LABEL_PREFIX): Likewise.
34690 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34691
bcba7aa2
L
346922012-09-10 H.J. Lu <hongjiu.lu@intel.com>
34693
34694 * libio/Makefile: Include ../Makeconfig before tests.
34695 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
34696 only if $(build-shared) is yes.
34697
06585ee8
L
34698 * iconv/gconv_db.c: Update copyright years.
34699
80ccd52c
LD
347002012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34701
34702 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
34703 unwind info if defined PIC. Fix special cases description.
34704 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
34705
34706 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
34707 DP_HI_MASK entry.
34708 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
34709
691bc9c1
L
347102012-09-07 H.J. Lu <hongjiu.lu@intel.com>
34711
3d9b46b3
L
34712 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
34713
de2139a9
L
34714 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
34715 is NULL.
34716
5ca78dd0
L
34717 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
34718 (LDLIBS-tst-chk4): This.
34719 (LDFLAGS-tst-chk5): Renamed to ...
34720 (LDLIBS-tst-chk5): This.
34721 (LDFLAGS-tst-chk6): Renamed to ...
34722 (LDLIBS-tst-chk6): This.
34723 (LDFLAGS-tst-lfschk4): Renamed to ...
34724 (LDLIBS-tst-lfschk4): This.
34725 (LDFLAGS-tst-lfschk5): Renamed to ...
34726 (LDLIBS-tst-lfschk5): This.
34727 (LDFLAGS-tst-lfschk6): Renamed to ...
34728 (LDLIBS-tst-lfschk6): This.
34729
691bc9c1
L
34730 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
34731 on $(common-objpfx)soversions.mk.
34732
65cafb1c
JM
347332012-09-07 Joseph Myers <joseph@codesourcery.com>
34734
34735 [BZ #10014]
34736 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
34737 example host name.
34738
c78ab094
SP
347392012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
34740
34741 * malloc/arena.c (arena_get_retry): New function that gets
34742 another arena for the caller to try its request on.
34743 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
34744 current arena cannot fulfill the request.
34745 (__libc_memalign): Likewise.
34746 (__libc_memalign): Likewise.
34747 (__libc_pvalloc): Likewise.
34748 (__libc_calloc): Likewise.
34749
01f49f59
JT
347502012-09-05 John Tobey <john.tobey@gmail.com>
34751
34752 [BZ #13542]
34753 * manual/arith.texi (Operations on Complex): Fix description
34754 of carg branch cut.
34755
4c23fed5
JM
347562012-09-06 Joseph Myers <joseph@codesourcery.com>
34757
1d3c8572
JM
34758 [BZ #10014]
34759 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
34760 host name.
34761
4c23fed5
JM
34762 [BZ #10038]
34763 * manual/memory.texi (Memory): Make order of menu items match
34764 order of sections.
34765
04570aaa
L
347662012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34767
34768 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
34769 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
34770 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
34771
b80af2f4
L
347722012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34773
34774 * csu/libc-tls.c (static_dtv): Renamed to ...
34775 (_dl_static_dtv): This. Make it global.
34776 (_dl_initial_dtv): Removed.
34777 (__libc_setup_tls): Updated.
34778 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
34779 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
34780 DL_INITIAL_DTV.
34781
2abe9f15
PM
347822012-09-06 Petr Machata <pmachata@redhat.com>
34783
34784 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
34785 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
34786 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
34787 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
34788
0948c3af
L
347892012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34790
34791 [BZ #14545]
34792 * csu/libc-tls.c (_dl_initial_dtv): New variable.
34793 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
34794 freeing dtv[-1].
34795
a5055ad1
L
347962012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34797
34798 [BZ #14544]
34799 * Makeconfig (link-static-before-libc): Replace $(+prector)
34800 with $(+prectorT).
34801 (link-static-after-libc): Replace $(+postctor) with
34802 $(+postctorT).
34803 (link-bounded): Replace $(+prector)/$(+postctor) with
34804 $(+prectorT)/$(+postctorT).
34805 (+prectorT): New macro.
34806 (+postctorT): Likewise.
34807
ed8c2ecd
JM
348082012-09-06 Joseph Myers <joseph@codesourcery.com>
34809
34810 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
34811 (round_str): Handle values above the maximum for IBM long double
34812 as inexact.
34813 * stdlib/tst-strtod-round.c (tests): Regenerated.
34814
14c996c8
AK
348152012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34816
34817 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
34818 assembler flag.
34819 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
34820 zarch_nohighgprs around the zarch optimized routines.
34821 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
34822 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
34823 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
34824 for zarch.
34825
430d6ce6
DM
348262012-09-05 David S. Miller <davem@davemloft.net>
34827
34828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34829
57f41c40
AS
34830 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
34831 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
34832 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
34833 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34834 entries.
34835
24d4e01b
AO
348362012-09-05 Alexandre Oliva <aoliva@redhat.com>
34837
34838 * malloc/arena.c: Fold copyright years.
34839 * malloc/mcheck.c, malloc/memusage.c: Likewise.
34840
61d58174
AO
348412012-09-05 Alexandre Oliva <aoliva@redhat.com>
34842
34843 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
34844
20196a5e
AO
348452012-09-05 Alexandre Oliva <aoliva@redhat.com>
34846
34847 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
34848
5c447383
AO
348492012-09-05 Alexandre Oliva <aoliva@redhat.com>
34850
34851 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
34852 change internal state upon failure.
34853
fad64255
AO
348542012-09-05 Alexandre Oliva <aoliva@redhat.com>
34855
34856 * malloc/mcheck.c (mcheck_check_all): Fix typo.
34857 * malloc/memusage.c (mmap): Likewise.
34858 (mmap64, mremap): Likewise. Adjust name in comment.
34859
1ffb8c90
SP
348602012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34861
34862 * libio/fileops.c: Fix typos in comments.
34863 * libio/oldfileops.c: Likewise.
34864 * libio/wfileops.c: Likewise.
34865
6ef9cc37
SP
348662012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34867
34868 [BZ #1349]
34869 * malloc/Makefile (tests): Add tst-malloc-usable test case.
34870 (tst-malloc-usable-ENV): Set environment for test case.
34871 * malloc/hooks.c (malloc_check_get_size): New function to get
34872 requested size.
34873 * malloc/malloc.c (musable): Use malloc_check_get_size.
34874 * malloc/tst-malloc-usable.c: New test case.
34875
4d038ae3
AS
348762012-09-05 Andreas Schwab <schwab@linux-m68k.org>
34877
34878 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
34879
c4e85184
AM
348802012-09-05 Allan McRae <allan@archlinux.org>
34881
b9dafc56 34882 [BZ #13966]
c4e85184
AM
34883 * configure.in (CXX_SYSINCLUDES): Use compiler output to
34884 determine header location.
34885 * configure: Regenerated.
34886
e1343020
AS
348872012-09-05 Andreas Schwab <schwab@linux-m68k.org>
34888
34889 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
34890 float format.
34891 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
34892 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
34893 format.
e1343020
AS
34894 (test): Regenerate.
34895
0a9f1987
DM
348962012-09-04 David S. Miller <davem@davemloft.net>
34897
34898 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
34899 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
34900 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
34901
29237804
FW
349022012-09-04 Florian Weimer <fweimer@redhat.com>
34903
34904 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
34905 failures.
34906
edb3cb88
FW
34907 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
34908
60160d83
JM
349092012-09-04 Joseph Myers <joseph@codesourcery.com>
34910
34911 [BZ #9914]
34912 * libio/iogetdelim.c: Include <limits.h>.
34913 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
34914 + len + 1 would overflow.
34915
bcd6c8dc
AJ
349162012-09-03 Andreas Jaeger <aj@suse.de>
34917
34918 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34919 * sysdeps/i386/fpu/libm-test-ulps: Update.
34920
4ffffbd2
LD
349212012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34922
34923 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34924 Add s_sinf-sse2, s_conf-sse2.
34925
34926 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
34927 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
34928 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
34929 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
34930
34931 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
34932 for using routine as __sinf_ia32.
34933 Use macro for function declaration and weak_alias.
34934 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
34935 for using routine as __cosf_ia32.
34936 Use macro for function declaration and weak_alias.
34937
34938 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
34939 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
34940
34941 * sysdeps/x86_64/fpu/s_sinf.S: New file.
34942 * sysdeps/x86_64/fpu/s_cosf.S: New file.
34943 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34944
34945 * math/libm-test.inc (cos_test): Add more test cases.
34946 (sin_test): Likewise.
34947 (sincos_test): Likewise.
34948
511fa286
AK
349492012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34950
34951 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
34952 (IFUNC_RESOLVE): Make pointers to the specialized implementations
34953 hidden.
34954 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34955
5f30cfec
L
349562012-09-02 H.J. Lu <hongjiu.lu@intel.com>
34957
34958 [BZ #14538]
34959 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
34960 first element of the GOT.
34961 (elf_machine_load_address): Return the difference between
34962 the runtime address of _DYNAMIC and elf_machine_dynamic ().
34963
0786794f
AM
349642012-09-01 Allan McRae <allan@archlinux.org>
34965
5f30cfec
L
34966 [BZ #13412]
34967 * configure.in (AWK): Require gawk version 3.0 or later.
34968 * configure: Regenerated.
0786794f 34969
26889eac
JM
349702012-09-01 Joseph Myers <joseph@codesourcery.com>
34971
34972 * sysdeps/unix/sysv/linux/kernel-features.h
34973 (__ASSUME_POSIX_CPU_TIMERS): Remove.
34974 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34975 [__NR_clock_getres]: Make code unconditional.
34976 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
34977 (clock_getcpuclockid): Remove code left unreachable by removal of
34978 conditionals.
34979 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
34980 code unconditional.
34981 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34982 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34983 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
34984 Make code unconditional.
34985 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34986 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34987 * sysdeps/unix/sysv/linux/clock_settime.c
34988 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
34989 conditional code.
34990 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
34991 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34992
d22e28b0
L
349932012-08-29 H.J. Lu <hongjiu.lu@intel.com>
34994
34995 [BZ #14476]
34996 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
34997 scripts/test-installation.pl.
34998
34999 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
35000 and $ld_so_version if it is set.
35001
050af9c4
SP
350022012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35003
35004 [BZ #14516]
35005 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
35006 failure if reading from procfs failed.
35007 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
35008
ad845c0b
JM
350092012-08-27 Joseph Myers <joseph@codesourcery.com>
35010
35011 * sysdeps/unix/sysv/linux/kernel-features.h
35012 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
35013 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35014 Remove conditional code.
35015 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35016 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
35017 Remove conditional code.
35018 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35019 * sysdeps/unix/sysv/linux/i386/fxstat.c
35020 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35021 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35022 * sysdeps/unix/sysv/linux/i386/fxstatat.c
35023 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35024 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35025 * sysdeps/unix/sysv/linux/i386/lxstat.c
35026 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35027 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35028 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
35029 Remove conditional code.
35030 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35031 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35032 Remove conditional code.
35033 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35034 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
35035 <kernel-features.h>.
35036 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
35037 Remove.
35038 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
35039 Remove conditional code.
35040 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35041 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
35042 Remove conditional.
35043
5dbf56af
MF
350442012-08-27 Mike Frysinger <vapier@gentoo.org>
35045
35046 [BZ #5400]
35047 * NEWS: Add fixed bug number.
35048
d6e70f43
JM
350492012-08-27 Joseph Myers <joseph@codesourcery.com>
35050
7efb4737
JM
35051 [BZ #14519]
35052 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
35053 underflowing exponent in case of negative sign.
35054 * stdlib/tst-strtod-round-data: Add more tests.
35055 * stdlib/tst-strtod-round.c (tests): Regenerated.
35056
af92131a
JM
35057 [BZ #3479]
35058 * stdlib/strtod_l.c (NDIG): Remove.
35059 (HEXNDIG): Likewise.
35060 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
35061 smallest representable value.
35062 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
35063 lie within an exact representation of 1/2 ulp of the result.
35064 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
35065 unconditionally.
35066 (TENS_P9_IDX): Define unconditionally.
35067 (TENS_P9_SIZE): Likewise.
35068 (TENS_P10_IDX): Likewise.
35069 (TENS_P10_SIZE): Likewise.
35070 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
35071 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
35072 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
35073 entries for 10^2^13 and 10^2^14.
35074 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
35075 (TENS_P13_IDX): Define.
35076 (TENS_P13_SIZE): Likewise.
35077 (TENS_P14_IDX): Likewise.
35078 (TENS_P14_SIZE): Likewise.
35079 (_fpioconst_pow10): Change array size to
35080 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
35081 unconditional.
35082 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
35083 1024]: Add entries for 10^2^13 and 10^2^14.
35084 [LAST_POW10 > _LAST_POW10]: Remove #error.
35085 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
35086 (_fpioconst_pow10): Change array size to
35087 FPIOCONST_POW10_ARRAY_SIZE.
35088 * stdlib/gen-fpioconst.c: New file.
35089 * stdlib/gen-tst-strtod-round.c: Likewise.
35090 * stdlib/tst-strtod-round-data: Likewise.
35091 * stdlib/tst-strtod-round.c: Likewise.
35092 * stdlib/Makefile (tests): Add tst-strtod-round.
35093
d6e70f43
JM
35094 [BZ #14459]
35095 * stdlib/strtod_l.c: Include <stdint.h>.
35096 (NDEBUG): Do not define.
35097 (round_and_return): Change EXPONENT parameter to type intmax_t.
35098 Rearrange calculations to avoid internal overflow possibilities.
35099 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
35100 Rearrange calculations to avoid internal overflow possibilities.
35101 Assert that number fits inside MPNSIZE limbs.
35102 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
35103 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
35104 calculations and add assertions to avoid internal overflow
35105 possibilities. Add casts to avoid signed/unsigned operations.
35106 * stdlib/tst-strtod-overflow.c: New file.
35107 * stdlib/Makefile (tests): Add tst-strtod-overflow.
35108
1f529f7d
MP
351092012-08-25 Marek Polacek <polacek@redhat.com>
35110
35111 * time/time.h: Fix some typos in comments.
35112
59a629f1
RM
351132012-08-23 Roland McGrath <roland@hack.frob.com>
35114
35115 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
35116 * posix/tst-rfc3484-2.c: Likewise.
35117 * posix/tst-rfc3484-3.c: Likewise.
35118
d3bafbc9
SM
351192012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
35120
35121 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
35122 (EF_ARM_ABI_FLOAT_HARD): Likewise.
35123
4efcc022
JM
351242012-08-23 Joseph Myers <joseph@codesourcery.com>
35125
35126 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
35127 #include of fxstatat64.c.
35128
3cc3ef96
RM
351292012-08-22 Roland McGrath <roland@hack.frob.com>
35130
f04e2132
RM
35131 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
35132 * shadow/getspent_r.c: Likewise.
35133 * shadow/getspnam.c: Likewise.
35134 * shadow/getspnam_r.c: Likewise.
35135 * gshadow/getsgent.c: Likewise.
35136 * gshadow/getsgent_r.c: Likewise.
35137 * gshadow/getsgnam.c: Likewise.
35138 * gshadow/getsgnam_r.c: Likewise.
35139 * inet/getnetbyad.c: Likewise.
35140 * inet/getnetbyad_r.c: Likewise.
35141 * inet/getnetbynm.c: Likewise.
35142 * inet/getnetbynm_r.c: Likewise.
35143 * inet/getnetent.c: Likewise.
35144 * inet/getnetent_r.c: Likewise.
35145 * inet/getproto.c: Likewise.
35146 * inet/getproto_r.c: Likewise.
35147 * inet/getprtent.c: Likewise.
35148 * inet/getprtent_r.c: Likewise.
35149 * inet/getprtname.c: Likewise.
35150 * inet/getprtname_r.c: Likewise.
35151 * inet/getrpcbyname.c: Likewise.
35152 * inet/getrpcbyname_r.c: Likewise.
35153 * inet/getrpcbynumber.c: Likewise.
35154 * inet/getrpcbynumber_r.c: Likewise.
35155 * inet/getrpcent.c: Likewise.
35156 * inet/getrpcent_r.c: Likewise.
35157 * inet/getaliasent.c: Likewise.
35158 * inet/getaliasent_r.c: Likewise.
35159 * inet/getaliasname.c: Likewise.
35160 * inet/getaliasname_r.c: Likewise.
35161 * nscd/getgrgid_r.c: Likewise.
35162 * nscd/getgrnam_r.c: Likewise.
35163 * nscd/gethstbyad_r.c: Likewise.
35164 * nscd/gethstbynm3_r.c: Likewise.
35165 * nscd/getpwnam_r.c: Likewise.
35166 * nscd/getpwuid_r.c: Likewise.
35167 * nscd/getsrvbynm_r.c: Likewise.
35168 * nscd/getsrvbypt_r.c: Likewise.
35169 * nscd/gai.c: Likewise.
35170
c53d909c
RM
35171 * configure.in (build_nscd): New substituted variable, set
35172 by --disable-build-nscd and defaults to $use_nscd.
35173 * configure: Regenerated.
35174 * config.make.in (build-nscd): New substituted variable.
35175 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
35176 Change conditional to require [$(build-nscd) = yes] as well.
35177 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
35178
3cc3ef96
RM
35179 [BZ# 13696]
35180 * configure.in (use_nscd): New substituted variable, set by
35181 --disable-nscd. If enabled, define USE_NSCD.
35182 * configure: Regenerated.
35183 * config.h.in: Add USE_NSCD.
35184 * config.make.in (use-nscd): New substituted variable.
35185 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
35186 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
35187 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
35188 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
35189 (CFLAGS-getgrnam_r.c): Likewise.
35190 (CFLAGS-initgroups.c): Likewise.
35191 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
35192 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
35193 Variables removed.
35194 * inet/getnetgrent_r.c
35195 (nscd_setnetgrent): New function, broken out of ...
35196 (setnetgrent): ... here. Call it.
35197 (innetgr): Conditionalize nscd bits on [USE_NSCD].
35198 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
35199 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
35200 * nscd/Makefile (routines, aux): Move definitions after include of
35201 Makeconfig. Conditionalize on [$(use-nscd) != no].
35202 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
35203 Conditionalize on [USE_NSCD].
35204 (is_nscd, nscd_init_cb): Likewise.
35205 (nss_load_library): Conditionalize init callback on [USE_NSCD].
35206 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
35207 * nss/nss_db/db-init.c: Likewise.
35208 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
35209 [USE_NSCD].
35210 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
35211 (make_request): Use it.
35212 (cache_valid_p): New function.
35213 (__check_pf): Use it.
35214 * NEWS: Add item for --disable-nscd.
35215
07e51550
DL
352162012-08-22 Dmitry V. Levin <ldv@altlinux.org>
35217
35218 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
35219 to support sed >= 4.2.1-20-ga9bf076.
35220 * configure: Regenerated.
35221
35a5b08b
RM
352222012-08-22 Roland McGrath <roland@hack.frob.com>
35223
35224 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
35225 Conditionalize whole body on [IREL].
35226
8479f23a
JL
352272012-08-22 Jeff Law <law@redhat.com>
35228
35229 [BZ #14505]
35230 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
35231 if the family is PF_UNSPEC.
35232
48da0b21
MF
352332012-08-22 Mike Frysinger <vapier@gentoo.org>
35234
35235 * Makerules (lib-version): Rename from V.
35236 (install-lib-nosubdir): Change V to lib-version.
35237
15d0da8c
WS
352382012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
35239
35240 [BZ #14252]
35241 * powerpc32/power6/wcschr.c: New file.
35242 * powerpc32/power6/wcscpy.c: New file.
35243 * powerpc32/power6/wcsrchr.c: New file.
35244 * powerpc64/power6/wcschr.c: New file.
35245 * powerpc64/power6/wcscpy.c: New file.
35246 * powerpc64/power6/wcsrchr.c: New file.
35247
bcca0895
MK
352482012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
35249
35250 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
35251 (two_way_short_needle): Use it.
5a4aaa33
RM
35252 * string/strstr.c (AVAILABLE1_USES_J): Define.
35253 * string/strcasestr.c: Likewise.
99677e57
MK
35254
35255 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
35256 array references.
35257 * string/strcasestr.c (TOLOWER): Make side-effect safe.
35258
400726de
MK
35259 [BZ #11607]
35260 * NEWS: Add an entry.
35261 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
35262 define their defaults.
35263 (two_way_short_needle): Detect end-of-string on-the-fly.
35264 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
35265 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
35266 * string/bug-strcasestr1.c: New test.
35267 * string/Makefile: Run it.
35268
20a71f2c
MK
352692012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
35270
35271 [BZ #11607]
35272 * string/str-two-way.h (two_way_short_needle): Optimize matching of
35273 the first character.
35274
21ad0558
RM
352752012-08-21 Roland McGrath <roland@hack.frob.com>
35276
35277 * csu/elf-init.c (__libc_csu_irel): Function removed.
35278 * csu/libc-start.c (apply_irel): New function.
35279 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
35280
0e1d9911
JM
352812012-08-21 Joseph Myers <joseph@codesourcery.com>
35282
35283 * sysdeps/unix/sysv/linux/kernel-features.h
35284 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
35285 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35286 <kernel-features.h>.
35287 [__NR_fadvise64_64]: Make code unconditional.
35288 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
35289 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35290 !__NR_fadvise64_64)]: Likewise.
35291 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35292 !__NR_fadvise64_64))]: Likewise.
35293 [__NR_fadvise64]: Make code unconditional.
35294 [!__NR_fadvise64]: Remove conditional code.
35295 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
35296 <kernel-features.h>.
35297 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35298 unconditional.
35299 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35300 conditional code.
35301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
35302 not include <kernel-features.h>.
35303 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35304 unconditional.
35305 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35306 conditional code.
35307 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
35308 include <kernel-features.h>.
35309 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35310 unconditional.
35311 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35312 conditional code.
35313
14a50c9d
WS
353142012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
35315
35316 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
35317 slight instruction rearrangements per scrollpipe analysis.
35318 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35319
c0f4faf0
RM
353202012-08-20 Roland McGrath <roland@hack.frob.com>
35321
696da859
RM
35322 * manual/syslog.texi (syslog; vsyslog, closelog):
35323 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
35324 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
35325
c0f4faf0
RM
35326 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
35327 DSOCAPS to match condition on defining it.
35328
348363b2
JM
353292012-08-20 Joseph Myers <joseph@codesourcery.com>
35330
a35cbf28
JM
35331 * sysdeps/unix/sysv/linux/kernel-features.h
35332 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
35333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
35334 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35335 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
35337 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35338 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
35340 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35341 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35342
445f7ecd
JM
35343 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
35344 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
35345
348363b2
JM
35346 * sysdeps/unix/sysv/linux/kernel-features.h
35347 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
35348 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
35349 unconditional.
35350 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35351 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
35352 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35353 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35354 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
35355 Make code unconditional.
35356 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35357 (__mmap64) [!__NR_mmap2]: Likewise.
35358 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
35359 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35360 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35361 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
35362 [__NR_mmap2]: Make code unconditional.
35363 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35364 (__mmap64) [!__NR_mmap2]: Likewise.
35365
bc5bc0e5
AK
353662012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35367
35368 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
35369
88d506de
AJ
353702012-08-18 Andreas Jaeger <aj@suse.de>
35371
35372 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
35373
493387d2
MF
353742012-08-18 Mike Frysinger <vapier@gentoo.org>
35375
35376 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
35377 * include/unistd.h (__have_sock_cloexec): Likewise.
35378 (__have_pipe2): Likewise.
35379 (__have_dup3): Likewise.
35380
a277af22
MF
353812012-08-18 Mike Frysinger <vapier@gentoo.org>
35382
35383 [BZ #9685]
35384 * include/unistd.h (__have_pipe2): Change define into an extern int.
35385 (__have_dup3): Likewise.
35386 * socket/have_sock_cloexec.c: Include fcntl.h.
35387 (__have_pipe2): New variable.
35388 (__have_dup3): Likewise.
35389
fdab8fd3
MF
353902012-08-17 Mike Frysinger <vapier@gentoo.org>
35391
35392 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
35393
31035e80
MP
353942012-08-17 Marek Polacek <polacek@redhat.com>
35395
35396 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
35397 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
35398
3bd9e993
RM
353992012-08-17 Roland McGrath <roland@hack.frob.com>
35400
c91c505f
RM
35401 * configure.in: Add AC_SUBST for sysheaders.
35402 * configure: Regenerated.
35403 * config.make.in (sysheaders): New substituted variable.
35404
7c6f9d53
RM
35405 * sysdeps/unix/mkfifo.c: Moved ...
35406 * sysdeps/posix/mkfifo.c: ... here.
35407 * sysdeps/unix/mkfifoat.c: Moved ...
35408 * sysdeps/posix/mkfifoat.c: ... here.
35409
35410 * sysdeps/unix/utime.c: Moved ...
35411 * sysdeps/posix/utime.c: ... here.
35412
35413 * sysdeps/unix/time.c: Moved ...
35414 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
35415 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
35416 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
35417
35418 * sysdeps/unix/nice.c: Moved ...
35419 * sysdeps/posix/nice.c: ... here.
35420
35421 * sysdeps/unix/alarm.c: Moved ...
35422 * sysdeps/posix/alarm.c: ... here.
35423
3bd9e993
RM
35424 * intl/Makefile ($(codeset_mo)): Depend on the input file.
35425
d1f09384
JL
354262012-08-17 Jeff Law <law@redhat.com>
35427
35428 * intl/Makefile (codeset_mo): New variable.
35429 ($(codeset_mo)): New target.
35430 (tst-codeset.out): Depend on that. Remove explicit rule.
35431 (tst-gettext3.out, tst-gettext5.out): Likewise.
35432 (LOCPATH-ENV, tst-codeset-ENV): New variables.
35433 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
35434 * intl/tst-codeset.sh: Remove.
35435 * intl/tst-gettext3.sh: Likewise.
35436 * intl/tst-gettext5.sh: Likewise.
35437
2ae1ae5c
RM
354382012-08-17 Roland McGrath <roland@hack.frob.com>
35439
c31fdb83
RM
35440 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
35441 * sysdeps/unix/syscalls.list: ... here.
35442
a0844057
RM
35443 * sysdeps/posix/getaddrinfo.c
35444 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
35445 (gaiconf_init, gaiconf_reload): Use them.
35446 [!_STATBUF_ST_NSEC]
35447 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
35448 Define using time_t rather than struct timespec.
35449
750c1f2a
RM
35450 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
35451 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
35452 Macros removed.
35453 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
35454 [!NO_THREADS].
35455 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
35456 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
35457 Likewise.
35458
2ae1ae5c
RM
35459 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
35460 __libc_cleanup_push argument.
35461
e66a42f5
RM
35462 * bits/param.h: New file.
35463 * misc/sys/param.h: New file.
35464 * include/sys/param.h: New file.
35465 * misc/Makefile (headers): Add bits/param.h.
35466 * sysdeps/generic/sys/param.h: File removed.
35467 * sysdeps/unix/sysv/linux/bits/param.h: New file.
35468 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
35469 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 35470 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 35471
b7c08a66
RM
35472 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
35473 last change.
35474
b2e1c562
RM
35475 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
35476 [_IO_MTSAFE_IO].
35477 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
35478 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
35479 New macros.
35480
c75ccd4c
RM
35481 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
35482 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
35483 rather than -D_IO_MTSAFE_IO conditionally.
35484 * stdio-common/Makefile (CPPFLAGS): Likewise.
35485 * wcsmbs/Makefile (CPPFLAGS): Likewise.
35486 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
35487 Use $(libio-mtsafe).
35488 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
35489 of -D_IO_MTSAFE_IO.
35490 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
35491 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
35492 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
35493 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
35494 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
35495 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
35496 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
35497 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
35498 (CFLAGS-fread_u_chk.c): Likewise.
35499 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
35500 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
35501 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
35502 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
35503 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
35504 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
35505 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
35506 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
35507 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
35508
35509 * libio/Makefile: Test [$(libc-reentrant) = yes]
35510 instead of [$(filter %REENTRANT, $(defines)) nonempty].
35511
35512 * Makeconfig
35513 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
35514 * sysdeps/pthread/configure: File removed.
35515 * sysdeps/pthread/Makeconfig: New file.
35516 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
35517 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
35518
d9195db8
GB
355192012-08-16 Gary Benson <gbenson@redhat.com>
35520
35521 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
35522 unmapping the first object in a namespace.
35523
86466cd9
RM
355242012-08-16 Roland McGrath <roland@hack.frob.com>
35525
35526 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
35527 (__internal_setnetgrent): ... this. Add internal_function to
35528 definition. Add libc_hidden_def.
35529 (setnetgrent): Update caller.
35530 (internal_endnetgrent): Renamed to ...
35531 (__internal_endnetgrent): ... this. Add internal_function to
35532 definition. Add libc_hidden_def.
35533 (endnetgrent): Update caller.
35534 (internal_getnetgrent_r): Renamed to ...
35535 (__internal_getnetgrent_r): ... this. Add internal_function to
35536 definition. Add libc_hidden_def.
35537 (__getnetgrent_r): Update caller.
35538 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
35539
c3c8283c
JM
355402012-08-16 Joseph Myers <joseph@codesourcery.com>
35541
35542 * stdlib/longlong.h: Update from GCC.
35543
db1ee0a8
RM
355442012-08-16 Roland McGrath <roland@hack.frob.com>
35545
35546 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
35547 on _QL, which is set by umul_ppmm but never used.
35548 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
35549 variables, which are set by GMP macros but never used.
35550 * stdio-common/_itowa.c (_itowa): Likewise.
35551 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
35552 * stdlib/mod_1.c (mpn_mod_1): Likewise.
35553
30f69637
CD
355542012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
35555
35556 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
35557 struct La_sh_regs is not constant.
35558 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
35559 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
35560 and struct La_sparc64_regs are not constant.
35561
93a78ac4
JM
355622012-08-16 Joseph Myers <joseph@codesourcery.com>
35563
35564 * sysdeps/unix/sysv/linux/kernel-features.h
35565 (__ASSUME_POSIX_TIMERS): Remove.
35566 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35567 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35568 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
35569 Make code unconditional.
35570 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35571 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
35572 Make code unconditional.
35573 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35574 * sysdeps/unix/sysv/linux/clock_nanosleep.c
35575 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
35576 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35577 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
35578 Make code unconditional.
35579 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35580 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
35581 (__libc_missing_posix_timers): Remove.
35582
dd924cd7
RM
355832012-08-15 Roland McGrath <roland@hack.frob.com>
35584
4b4f2771
RM
35585 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
35586 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
35587
601c888b
RM
35588 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
35589
176790a7
RM
35590 * elf/dl-sym.c: Include <stdlib.h>.
35591
329bc018
RM
35592 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
35593 constants, which avoids warnings in 32-bit builds.
35594
e04e272d
RM
35595 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
35596 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
35597
952bf94a
RM
35598 * misc/lseek.c: File moved to ...
35599 * io/lseek.c: ... here.
35600
7c99b50a
RM
35601 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
35602
dd924cd7
RM
35603 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
35604 shifting LEN more than 31 bits at once.
35605
b3f479a8
LD
356062012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35607
35608 [BZ #14195]
8c4ae0d4
RM
35609 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
35610 segmentation fault for a case of two empty input strings.
b3f479a8
LD
35611 * string/test-strncasecmp.c (check1): Renamed to...
35612 (bz12205): ...this.
35613 (bz14195): Add new testcase for two empty input strings and N > 0.
35614 (test_main): Call new testcase, adapt for renamed function.
35615
9c55864e
AJ
356162012-08-15 Andreas Jaeger <aj@suse.de>
35617
35618 [BZ #14090]
35619 * crypt/md5test2.c: New test, based on test supplied by Serge
35620 Belyshev <belyshev@depni.sinp.msu.ru>.
35621 * crypt/Makefile (xtests): Add md5test-giant..
35622 * crypt/Makefile ($(objpfx)md5test-giant): Add.
35623
02dcb6c5
PE
356242012-08-15 Paul Eggert <eggert@cs.ucla.edu>
35625
35626 [BZ #14090]
35627 * crypt/md5.c (md5_process_block): Don't assume the buffer
35628 length is less than 2**32.
35629 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
35630 length is less than 2**64.
35631
a3f95dcc
RM
356322012-08-15 Roland McGrath <roland@hack.frob.com>
35633
be75d758
RM
35634 * string/str-two-way.h: Include <sys/param.h>.
35635 (MAX): Macro removed.
35636
7312ca90
RM
35637 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
35638 Move #define and #undef of memmove to just before and after
35639 including <string.h>.
35640
9a0a5486
RM
35641 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
35642 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
35643 and after including <string.h>. Move declarations of
35644 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
35645 to before #include "string/memmove.c".
35646
67cc348d
RM
35647 * include/dirent.h: Declare __getdirentries.
35648
a3f95dcc
RM
35649 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
35650 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
35651
ca98e171
MF
356522012-08-14 Mike Frysinger <vapier@gentoo.org>
35653
35654 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
35655 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
35656 * sysdeps/i386/configure: Regenerated.
35657 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
35658 STABS_CURRENT_FILE, and STABS_FUN.
35659 (END): Remove call to STABS_FUN_END.
35660 (STABS_CURRENT_FILE1): Delete.
35661 (STABS_CURRENT_FILE): Likewise.
35662 (STABS_FUN): Likewise.
35663 (STABS_FUN_END): Likewise.
35664 (STABS_FUN2): Likewise.
35665 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
35666 * sysdeps/x86_64/configure: Regenerated.
35667
5908bf46
RM
356682012-08-14 Roland McGrath <roland@hack.frob.com>
35669
35670 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 35671 * elf/dl-lookup.c: Likewise.
5908bf46 35672
f2c05b9e
JM
356732012-08-14 Joseph Myers <joseph@codesourcery.com>
35674
35675 * sysdeps/unix/sysv/linux/kernel-features.h
35676 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
35677 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
35678 unconditionally.
35679 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
35680 unconditionally.
35681 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
35682 condition on __ASSUME_CLONE_THREAD_FLAGS.
35683
e11f5155
AJ
356842012-08-14 Andreas Jaeger <aj@suse.de>
35685
35686 * sysdeps/i386/fpu/libm-test-ulps: Update.
35687
51a9ba86
MK
356882012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
35689
2fdd4f78
AJ
35690 * include/atomic.h (atomic_exchange_and_add): Split into ...
35691 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
35692 New atomic macros.
51a9ba86 35693
ba6cba9e
MT
356942012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
35695
35696 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35697
42443a47
JL
356982012-08-13 Jeff Law <law@redhat.com>
35699
35700 * manual/stdio.texi (snprintf): Clarify handling of the trailing
35701 null byte in the output string.
35702
121dce05
JM
357032012-08-10 Joseph Myers <joseph@codesourcery.com>
35704
35705 * sysdeps/unix/sysv/linux/kernel-features.h
35706 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
35707 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
35708 (__ASSUME_ARG_MAX_STACK_BASED): Define.
35709 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35710 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
35711 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
35712 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
35713
bf51f568
JL
357142012-08-09 Jeff Law <law@redhat.com>
35715
35716 [BZ #13939]
35717 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
35718 When avoid_arena is set, don't retry in the that arena. Pick the
35719 next one, whatever it might be.
35720 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
35721 (arena_lock): Pass in new parameter to arena_get2.
35722 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
35723 arena_get2.
35724 (__libc_malloc): Unify retrying after main arena failure with
35725 __libc_memalign version.
35726 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
35727
f85fa270
L
357282012-08-09 H.J. Lu <hongjiu.lu@intel.com>
35729
35730 [BZ #14166]
35731 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
35732 to __redirect_strstr.
35733 (__strstr_sse42): Use typeof __redirect_strstr.
35734 (__strstr_ia32): Likewise.
35735 (__libc_strstr): New prototype.
35736 (strstr): Renamed to ...
35737 (__libc_strstr): This.
35738 (strstr): New strong alias of __libc_strstr.
35739 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35740 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
35741 __redirect_time.
35742 Include <time.h>.
35743 (__libc_time): New prototype.
35744 (time_ifunc): Replace time with __libc_time.
35745 (time): New strong alias and hidden definition of __libc_time.
35746 (__GI_time): Remove strong alias.
35747 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
35748 Include <stddef.h>.
35749 (memmove): Redefined to __redirect_memmove.
35750 (__memmove_sse2): Use typeof __redirect_memmove.
35751 (__memmove_ssse3): Likewise.
35752 (__memmove_ssse3_back): Likewise.
35753 (__libc_memmove): New prototype.
35754 (memmove): Renamed to ...
35755 (__libc_memmove): This.
35756 (memmove): New strong alias of __libc_memmove.
35757
33b4a91e
MS
357582012-08-08 Mark Salter <msalter@redhat.com>
35759
35760 * elf/elf.h
35761 (R_MN10300_TLS_GD): Define.
35762 (R_MN10300_TLS_LD): Likewise.
35763 (R_MN10300_TLS_LDO): Likewise.
35764 (R_MN10300_TLS_GOTIE): Likewise.
35765 (R_MN10300_TLS_IE): Likewise.
35766 (R_MN10300_TLS_LE): Likewise.
35767 (R_MN10300_TLS_DTPMOD): Likewise.
35768 (R_MN10300_TLS_DTPOFF): Likewise.
35769 (R_MN10300_TLS_TPOFF): Likewise.
35770 (R_MN10300_SYM_DIFF): Likewise.
35771 (R_MN10300_ALIGN): Likewise.
35772 (R_MN10300_NUM): Update.
35773
b36137f1
JM
357742012-08-08 Joseph Myers <joseph@codesourcery.com>
35775
35776 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
35777 Remove.
35778
cdd915fd
RM
357792012-08-08 Roland McGrath <roland@hack.frob.com>
35780
a2433aac
RM
35781 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
35782
cdd915fd
RM
35783 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
35784 sysdeps/unix -> sysdeps/posix move.
35785 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
35786
bf9b740a
AM
357872012-08-07 Allan McRae <allan@archlinux.org>
35788
35789 [BZ #14303]
35790 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
35791 (SUNOS_CPP): Likewise.
35792 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
35793 not found.
35794 (open_input): Call CPP using execvp.
35795
93df14ee
JM
357962012-08-07 Joseph Myers <joseph@codesourcery.com>
35797
35798 * sysdeps/unix/sysv/linux/kernel-features.h
35799 (__ASSUME_PROT_GROWSUPDOWN): Remove.
35800 (__ASSUME_NO_CLONE_DETACHED): Likewise.
35801 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35802 (__ASSUME_WAITID_SYSCALL): Likewise.
35803 * sysdeps/unix/sysv/linux/dl-execstack.c
35804 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
35805 code unconditional.
35806 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
35807 conditional code.
35808 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
35809 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
35810 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
35811 code.
35812 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
35813 unconditional.
35814 [__ASSUME_WAITID_SYSCALL]: Likewise.
35815 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
35816
d34689de
RM
358172012-08-07 Roland McGrath <roland@hack.frob.com>
35818
a281decc
RM
35819 * sysdeps/unix/closedir.c: Renamed to ...
35820 * sysdeps/posix/closedir.c: ... here.
35821 * sysdeps/unix/dirfd.c: Renamed to ...
35822 * sysdeps/posix/dirfd.c: ... here.
35823 * sysdeps/unix/dirstream.h: Renamed to ...
35824 * sysdeps/posix/dirstream.h: ... here.
35825 * sysdeps/unix/fdopendir.c: Renamed to ...
35826 * sysdeps/posix/fdopendir.c: ... here.
35827 * sysdeps/unix/opendir.c: Renamed to ...
35828 * sysdeps/posix/opendir.c: ... here.
35829 * sysdeps/unix/readdir.c: Renamed to ...
35830 * sysdeps/posix/readdir.c: ... here.
35831 * sysdeps/unix/readdir_r.c: Renamed to ...
35832 * sysdeps/posix/readdir_r.c: ... here.
35833 * sysdeps/unix/rewinddir.c: Renamed to ...
35834 * sysdeps/posix/rewinddir.c: ... here.
35835 * sysdeps/unix/seekdir.c: Renamed to ...
35836 * sysdeps/posix/seekdir.c: ... here.
35837 * sysdeps/unix/telldir.c: Renamed to ...
35838 * sysdeps/posix/telldir.c: ... here.
35839 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
35840 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
35841 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
35842 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
35843
22895b47
RM
35844 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
35845 * bits/fcntl.h: ... here.
35846
707a53b6
RM
35847 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
35848 not 0.
35849 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
35850 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
35851 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
35852 (struct flock): Move l_start, l_len to the beginning.
35853 Use __pid_t for l_pid.
35854 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
35855 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
35856 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
35857 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
35858 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
35859 [__USE_LARGEFILE64] (struct flock64): New type.
35860 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
35861
f0bd3e25
RM
35862 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
35863 * bits/dirent.h: ... here.
35864
d34689de
RM
35865 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
35866 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
35867
6dad2c06
JM
358682012-08-07 Joseph Myers <joseph@codesourcery.com>
35869
35870 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35871 Change from 2.6.0 to 2.6.16.
35872 * sysdeps/unix/sysv/linux/configure: Regenerated.
35873 * sysdeps/unix/sysv/linux/kernel-features.h
35874 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
35875 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
35876 version.
35877 (__ASSUME_UTIMES): Likewise.
35878 (__ASSUME_CLONE_STOPPED): Remove.
35879 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
35880 architectures, not kernel version.
35881 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
35882 (__ASSUME_NO_CLONE_DETACHED): Likewise.
35883 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35884 (__ASSUME_WAITID_SYSCALL): Likewise.
35885 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
35886 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
35887 * README: State 2.6.16 as minimum Linux kernel version. Do not
35888 refer to older versions.
35889
03af9520
RM
358902012-08-06 Roland McGrath <roland@hack.frob.com>
35891
8e49df1d
RM
35892 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
35893 Define alphasort64 as an alias.
35894 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
35895 Define versionsort64 as an alias.
35896 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
35897 Define scandir64 as an alias.
35898 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
35899 Define scandirat64 as an alias.
35900 * dirent/alphasort64.c (alphasort64):
35901 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
35902 * dirent/versionsort64.c: Likewise.
35903 * dirent/scandir64.c: Likewise.
35904 * dirent/scandirat64.c: Likewise.
35905 * sysdeps/wordsize-64/alphasort.c: File removed.
35906 * sysdeps/wordsize-64/alphasort64.c: File removed.
35907 * sysdeps/wordsize-64/scandir.c: File removed.
35908 * sysdeps/wordsize-64/scandir64.c: File removed.
35909 * sysdeps/wordsize-64/scandirat.c: File removed.
35910 * sysdeps/wordsize-64/scandirat64.c: File removed.
35911 * sysdeps/wordsize-64/versionsort.c: File removed.
35912 * sysdeps/wordsize-64/versionsort64.c: File removed.
35913 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
35914 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
35915 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
35916 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
35917 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
35918 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
35919 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
35920 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
35921
35922 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
35923 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35924 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
35925 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35926 [defined __arch64__ || defined __sparcv9]
35927 (__INO_T_MATCHES_INO64_T): New macro.
35928 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35929 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
35930 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
35931 * sysdeps/unix/sysv/linux/bits/dirent.h
35932 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
35933 (_DIRENT_MATCHES_DIRENT64): New macro.
35934
03af9520
RM
35935 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
35936 Define lockf64 as an alias.
35937 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
35938 Define fseeko64 as an alias.
35939 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
35940 Define ftello64 as an alias.
35941 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
35942 Define _IO_fgetpos64 and fgetpos64 as aliases.
35943 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
35944 Define _IO_fsetpos64 and fsetpos64 as aliases.
35945 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
35946 Conditionalize body on this.
35947 * libio/fseeko64.c: Likewise.
35948 * libio/ftello64.c: Likewise.
35949 * libio/iofgetpos64.c: Likewise.
35950 * libio/iofsetpos64.c: Likewise.
35951 * sysdeps/wordsize-64/lockf.c: File removed.
35952 * sysdeps/wordsize-64/lockf64.c: File removed.
35953 * sysdeps/wordsize-64/fseeko.c: File removed.
35954 * sysdeps/wordsize-64/fseeko64.c: File removed.
35955 * sysdeps/wordsize-64/ftello.c: File removed.
35956 * sysdeps/wordsize-64/ftello64.c: File removed.
35957 * sysdeps/wordsize-64/iofgetpos.c: File removed.
35958 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
35959 * sysdeps/wordsize-64/iofsetpos.c: File removed.
35960 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
35961 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
35962 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
35963 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
35964 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
35965 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
35966 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
35967 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
35968 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
35969 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
35970 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
35971
35972 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35973 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35974 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
35975 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35976 [defined __arch64__ || defined __sparcv9]
35977 (__OFF_T_MATCHES_OFF64_T): New macro.
35978 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35979 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35980 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35981 (__OFF_T_MATCHES_OFF64_T): New macro.
35982
c5757acd
L
359832012-08-06 H.J. Lu <hongjiu.lu@intel.com>
35984
35985 * stdlib/secure-getenv.c (__secure_getenv): Replace
35986 GLIBC_2_16 with GLIBC_2_17.
35987
3a31811e
L
359882012-08-06 H.J. Lu <hongjiu.lu@intel.com>
35989
35990 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
35991 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35992
faa2bccb
DM
359932012-08-03 David S. Miller <davem@davemloft.net>
35994
35995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35996
85fe1997
JM
359972012-08-03 Joseph Myers <joseph@codesourcery.com>
35998
35999 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
36000 Remove.
36001 (__ASSUME_CORRECT_SI_PID): Likewise.
36002 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
36003 (__ASSUME_TMPFS_NAME): Likewise.
36004 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
36005 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
36006 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
36007 (HAVE_AUX_SECURE): Make definition unconditional.
36008 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
36009 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
36010
4f75b7a0
RM
360112012-08-03 Roland McGrath <roland@hack.frob.com>
36012
36013 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
36014 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
36015 * sysdeps/mach/hurd/eloop-threshold.h: New file.
36016 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36017 __eloop_threshold instead of SYMLOOP_MAX.
36018
36019 * sysdeps/generic/eloop-threshold.h: New file.
36020 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
36021 of MAXSYMLINKS.
36022 * elf/chroot_canon.c (chroot_canon): Likewise.
36023
7aab07e4
JM
360242012-08-03 Joseph Myers <joseph@codesourcery.com>
36025
36026 [BZ #13717]
36027 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36028 Change to 2.6.0 everywhere.
36029 * sysdeps/unix/sysv/linux/configure: Regenerated.
36030 * sysdeps/unix/sysv/linux/kernel-features.h
36031 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
36032 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
36033 kernel versions.
36034 (__ASSUME_POSIX_TIMERS): Define unconditionally.
36035 (__ASSUME_FUTEX_REQUEUE): Remove.
36036 (__ASSUME_STATFS64): Define unconditionally.
36037 (__ASSUME_AT_SECURE): Likewise.
36038 (__ASSUME_CORRECT_SI_PID): Likewise.
36039 (__ASSUME_TGKILL): Define without depending on kernel version for
36040 i386.
36041 (__ASSUME_UTIMES): Likewise.
36042 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
36043 kernel version.
36044 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
36045 (__ASSUME_TMPFS_NAME): Likewise.
36046 * README: Update reference to Linux kernel versions.
36047
b67e9372
MP
360482012-08-02 Marek Polacek <polacek@redhat.com>
36049
1f529f7d 36050 [BZ# 14150]
b67e9372
MP
36051 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
36052 libc_cv_asm_type_prefix with %.
36053 * configure: Regenerated.
d2441631
RM
36054 * include/libc-symbols.h: Remove comment about
36055 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
36056 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
36057 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
36058 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
36059 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
36060 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36061 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
36062 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
36063 * elf/tst-unique2mod1.c: Likewise.
36064 * elf/tst-unique1mod2.c: Likewise.
36065 * elf/tst-unique1mod1.c: Likewise.
36066 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
36067 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
36068 Replace ASM_TYPE_DIRECTIVE with .type.
36069 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36070 * sysdeps/i386/sysdep.h: Likewise.
36071 * sysdeps/x86_64/sysdep.h: Likewise.
36072 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
36073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36074 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 36075 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
36076 * sysdeps/powerpc/powerpc32/sysdep.h:
36077 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
36078 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36079 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36080 * sysdeps/i386/fpu/e_powf.S: Likewise.
36081 * sysdeps/i386/fpu/e_expl.S: Likewise.
36082 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36083 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36084 * sysdeps/i386/fpu/e_pow.S: Likewise.
36085 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36086 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36087 * sysdeps/i386/fpu/s_expm1.S: Likewise.
36088 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36089 * sysdeps/i386/fpu/e_log2.S: Likewise.
36090 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36091 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36092 * sysdeps/i386/fpu/e_powl.S: Likewise.
36093 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36094 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36095 * sysdeps/i386/fpu/e_logl.S: Likewise.
36096 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36097 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36098 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36099 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36100 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36101 * sysdeps/i386/fpu/e_log.S: Likewise.
36102 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36103 * sysdeps/i386/fpu/e_logf.S: Likewise.
36104 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36105 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36106 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36107 * sysdeps/i386/fpu/e_log10.S: Likewise.
36108 * sysdeps/i386/fpu/s_frexp.S: Likewise.
36109 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36110 * sysdeps/i386/fpu/s_asinh.S: Likewise.
36111 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36112 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36113 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
36114 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36115 * sysdeps/i386/i686/strtok.S: Likewise.
36116 * sysdeps/i386/i386-mcount.S: Likewise.
36117 * sysdeps/i386/strtok.S: Likewise.
36118 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
36119 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36120 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36121 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36122 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36123 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36124 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36125 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36126 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36127 * sysdeps/x86_64/_mcount.S: Likewise.
36128 * sysdeps/x86_64/strtok.S: Likewise.
36129 * sysdeps/sh/_mcount.S: Likewise.
36130
2747bf9a
RM
361312012-08-01 Roland McGrath <roland@hack.frob.com>
36132
36133 * libio/iofopen.c: Include <fcntl.h>.
36134 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
36135 (_IO_fopen64, fopen64): Define as aliases.
36136 * libio/iofopen64.c: Include <fcntl.h>.
36137 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
36138 Conditionalize body on this.
36139 * sysdeps/wordsize-64/iofopen.c: File removed.
36140 * sysdeps/wordsize-64/iofopen64.c: File removed.
36141
3fb791b8
MP
361422012-08-01 Marek Polacek <polacek@redhat.com>
36143
36144 * libc/Makeconfig: Use elf in place of binfmt-subdir.
36145 Use dlfcn directly instead of a variable.
36146 (binfmt-subdir): Do not define.
36147 (dlfcn): Likewise.
36148
a9f1039f
JM
361492012-08-01 Joseph Myers <joseph@codesourcery.com>
36150
23bddc06
JM
36151 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
36152 Remove all definitions.
36153 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
36154 <kernel-features.h>.
36155 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36156 (miss_F_GETOWN_EX): Remove all definitions.
36157 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
36158 macro definition.
36159 [!__ASSUME_FCNTL64]: Remove conditional code.
36160 [__ASSUME_FCNTL64]: Make code unconditional.
36161 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
36162 <kernel-features.h>.
36163 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36164 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
36165 (lockf64) [__NR_fcntl64]: Make code unconditional.
36166 (lockf64) [__ASSUME_FCNTL64]: Likewise.
36167
a9f1039f
JM
36168 * sysdeps/unix/sysv/linux/kernel-features.h
36169 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
36170 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
36171 Make code unconditional.
36172 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36173 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
36175 [__NR_vfork]: Make code unconditional.
36176 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36177 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
36179 [__NR_vfork]: Make code unconditional.
36180 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36181 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36182
09c0ee5f
RM
361832012-08-01 Roland McGrath <roland@hack.frob.com>
36184
48aec5b9
RM
36185 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
36186 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
36187
cd97c966
RM
36188 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36189 Define mkstemp64 as an alias.
3f55550c
RM
36190 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36191 Define mkstemps64 as an alias.
cd97c966
RM
36192 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36193 Define mkostemp64 as an alias.
b8625cfc
RM
36194 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36195 Define mkostemps64 as an alias.
cd97c966
RM
36196 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
36197 Conditionalize body on this.
36198 * misc/mkostemp64.c: Likewise.
b8625cfc 36199 * misc/mkostemps64.c: Likewise.
3f55550c 36200 * misc/mkstemps64.c: Likewise.
cd97c966
RM
36201 * sysdeps/wordsize-64/mkstemp64.c: File removed.
36202 * sysdeps/wordsize-64/mkostemp64.c: File removed.
36203 * sysdeps/wordsize-64/mkostemp.c: File removed.
36204 * sysdeps/wordsize-64/mkstemp.c: File removed.
36205 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
36206 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
36207 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
36208 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
36209
09c0ee5f
RM
36210 [BZ #14138]
36211 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
36212 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
36213 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
36214 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
36215
36216 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
36217 compat_symbol macros from <shlib-compat.h> rather than the underlying
36218 default_symbol_version and symbol_version macros, so that DEFAULT
36219 lines in shlib-versions are respected.
36220 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
36221
7e66ee51
FW
362222012-08-01 Florian Weimer <fweimer@redhat.com>
36223
36224 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
36225 Declare with warn_unused_result.
36226 (setgid, setregid, setegid, setresgid): Likewise.
36227 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
36228 Likewise.
36229 * WUR-REPORT: Remove set*id functions.
36230
d2a54255
PT
362312012-07-31 Pino Toscano <toscano.pino@tiscali.it>
36232
36233 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
36234
7ecdb005
RM
362352012-07-31 Roland McGrath <roland@hack.frob.com>
36236
b4180a5e 36237 [BZ #10191]
789bd351
RM
36238 * include/sys/socket.h (__libc_accept, __libc_accept4):
36239 Add attribute_hidden.
36240 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
36241
40ce302d
RM
36242 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
36243 use of PTR_MANGLE.
36244 * inet/getnetgrent_r.c (setup): Likewise.
36245
7ecdb005
RM
36246 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
36247
e2eabb2c
DM
362482012-07-31 David S. Miller <davem@davemloft.net>
36249
36250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36251
d0419dbf
JM
362522012-07-31 Joseph Myers <joseph@codesourcery.com>
36253
36254 [BZ #13629]
36255 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
36256 value between 1.0 and 2.0 and smaller part has absolute value less
36257 than 1.0.
36258 * math/s_clog10.c (__clog10): Likewise.
36259 * math/s_clog10f.c (__clog10f): Likewise.
36260 * math/s_clog10l.c (__clog10l): Likewise.
36261 * math/s_clogf.c (__clogf): Likewise.
36262 * math/s_clogl.c (__clogl): Likewise.
36263 * math/libm-test.inc (clog_test): Add more tests.
36264 (clog10_test): Likewise.
36265 * sysdeps/i386/fpu/libm-test-ulps: Update.
36266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36267
2bc13872
FW
362682012-07-31 Florian Weimer <fweimer@redhat.com>
36269
36270 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
36271 Exit with zero in case no suitable GID is found, and write a
36272 message to standard error.
36273
bea9b193
RM
362742012-07-30 Roland McGrath <roland@hack.frob.com>
36275
36276 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
36277 rather than to 1.
36278 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
36279 (MAXPATHLEN): Removed.
36280 (NOGROUP, NODEV): New macros.
36281 (setbit, clrbit, isset, isclr): New macros.
36282 (howmany, roundup, powerof2): New macros.
36283 (DEV_BSIZE): New macro.
36284
36285 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
36286 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
36287
36288 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
36289 definition on [!__NO_LONG_DOUBLE_MATH].
36290
36291 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
36292 PTR_MANGLE and PTR_DEMANGLE.
36293
36294 * socket/accept4.c (accept4): Rename to __libc_accept4.
36295 Define accept4 as a weak alias.
36296
36297 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
36298 on [_DIRENT_HAVE_D_TYPE].
36299 * io/ftw.c (ftw_dir): Likewise.
36300
36301 * io/xmknod.c (__xmknod): Don't check PATH for being null.
36302
36303 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
36304
36305 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
36306 Use the BSD numbers rather than the arbitrary ones we had.
36307 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
36308 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
36309 (SIGXCPU, SIGXFSZ): New macros.
36310 (_NSIG): Now 32.
36311
36312 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
36313 initializer on [_LIBC_REENTRANT].
36314
36315 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
36316 definitions inside [_POSIX_MAPPED_FILES].
36317
36318 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
36319
36320 * dirent/opendir.c: Include <fcntl.h>.
36321
36322 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
36323 (__libc_getspecific): Likewise.
36324 (__libc_key_create): Likewise.
36325
36326 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
36327 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
36328 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
36329 (tmpfile64): Define as alias.
36330 * sysdeps/wordsize-64/tmpfile.c: File removed.
36331 * sysdeps/wordsize-64/tmpfile64.c: File removed.
36332 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
36333 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
36334
36335 * stdio-common/vfscanf.c: Include <stdbool.h>.
36336 * nss/makedb.c: Likewise.
36337 * stdio-common/_i18n_number.h: Likewise.
36338 * argp/argp-help.c: Likewise.
36339 * posix/wordexp.c: Likewise.
36340 * sysdeps/posix/spawni.c: Likewise.
36341 * nss/nss_files/files-initgroups.c: Likewise.
36342 * stdio-common/reg-modifier.c: Include <stdlib.h>.
36343 * nss/nss_files/files-initgroups.c: Likewise.
36344 * nss/nss_db/db-netgrp.c: Likewise.
36345 * nss/nss_db/db-initgroups.c: Likewise.
36346 * io/fchmodat.c: Include <sys/stat.h>.
36347
36348 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
36349 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
36350
36351 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
36352 [HAVE_MMAP].
36353
36354 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
36355 Add multiple inclusion protection.
36356
e5abc686
DM
363572012-07-27 David S. Miller <davem@davemloft.net>
36358
36359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36360
815e6fa3
GB
363612012-07-27 Gary Benson <gbenson@redhat.com>
36362
36363 [BZ #14298]
36364 * elf/rtld.c: Include <stap-probe.h>.
36365 (dl_main): Added static probes "init_start" and "init_complete".
36366 * elf/dl-load.c: Include <stap-probe.h>.
36367 (lose): Take new parameter "nsid".
36368 Added static probe "map_failed".
36369 (_dl_map_object_from_fd): Pass namespace id to lose.
36370 Added static probe "map_start".
36371 (open_verify): Pass namespace id to lose.
36372 * elf/dl-open.c: Include <stap-probe.h>.
36373 (dl_open_worker) Added static probes "map_complete", "reloc_start"
36374 and "reloc_complete".
36375 * elf/dl-close.c: Include <stap-probe.h>.
36376 (_dl_close_worker): Added static probes "unmap_start" and
36377 "unmap_complete".
36378 * elf/rtld-debugger-interface.txt: New file documenting the above.
36379
9f98c16c
RM
363802012-07-26 Roland McGrath <roland@hack.frob.com>
36381
36382 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
36383 rather than a string variable.
36384 * sunrpc/rpc_main.c (h_output): Likewise.
36385 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
36386
f3c22df3
PT
363872012-07-26 Pino Toscano <toscano.pino@tiscali.it>
36388
36389 * inet/check_native.c: New file.
36390
3129cfc6
JM
363912012-07-26 Joseph Myers <joseph@codesourcery.com>
36392
da865e95
JM
36393 [BZ #13629]
36394 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
36395 if larger part has absolute value 1.0.
36396 * math/s_clog10.c (__clog10): Likewise.
36397 * math/s_clog10f.c (__clog10f): Likewise.
36398 * math/s_clog10l.c (__clog10l): Likewise.
36399 * math/s_clogf.c (__clogf): Likewise.
36400 * math/s_clogl.c (__clogl): Likewise.
36401 * math/libm-test.inc (clog_test): Add more tests.
36402 (clog10_test): Likewise.
36403 * sysdeps/i386/fpu/libm-test-ulps: Update.
36404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36405
3129cfc6
JM
36406 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
36407 (pltexit): Likewise.
36408 (La_regs): Likewise.
36409 (La_retval): Likewise.
36410 (int_retval): Likewise.
36411 Update #error for removed macros to refer only to definitions in
36412 tst-audit.h.
36413 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
36414 macro.
36415 (pltexit): Likewise.
36416 (La_regs): Likewise.
36417 (La_retval): Likewise.
36418 (int_retval): Likewise.
36419 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
36420 macro.
36421 (pltexit): Likewise.
36422 (La_regs): Likewise.
36423 (La_retval): Likewise.
36424 (int_retval): Likewise.
36425 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
36426 macro.
36427 (pltexit): Likewise.
36428 (La_regs): Likewise.
36429 (La_retval): Likewise.
36430 (int_retval): Likewise.
36431 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
36432 macro.
36433 (pltexit): Likewise.
36434 (La_regs): Likewise.
36435 (La_retval): Likewise.
36436 (int_retval): Likewise.
36437 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
36438 macro.
36439 (pltexit): Likewise.
36440 (La_regs): Likewise.
36441 (La_retval): Likewise.
36442 (int_retval): Likewise.
36443 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
36444 macro.
36445 (pltexit): Likewise.
36446 (La_regs): Likewise.
36447 (La_retval): Likewise.
36448 (int_retval): Likewise.
36449 * sysdeps/generic/tst-audit.h: Update comment to refer only to
36450 macro definitions in tst-audit.h.
36451 * sysdeps/i386/tst-audit.h: New file.
36452 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
36453 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
36454 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
36455 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
36456 * sysdeps/sh/tst-audit.h: Likewise.
36457 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
36458 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
36459 * sysdeps/x86_64/tst-audit.h: Likewise.
36460
bfc07087
AJ
364612012-07-26 Andreas Jaeger <aj@suse.de>
36462
b1b2aaf8
AJ
36463 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
36464 ptrace.
36465
36466 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
36467 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
36468 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
36469 PTRACE_O_MASK.
36470 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
36471 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
36472 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
36473
bfc07087
AJ
36474 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
36475 value.
36476
36477 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
36478 _sigsys.
36479 (si_call_addr, si_syscall, si_arch): Define new macro.
36480 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
36481 _sigsys.
36482 (si_call_addr, si_syscall, si_arch): Define new marcro.
36483 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
36484 _sigsys.
36485 (si_call_addr, si_syscall, si_arch): Define new macro.
36486 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
36487 _sigsys.
36488 (si_call_addr, si_syscall, si_arch): Define new macro.
36489
89b4b02f
JM
364902012-07-25 Joseph Myers <joseph@codesourcery.com>
36491
36492 [BZ #13717]
36493 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36494 Change to 2.4.21 where previously 2.4.1.
36495 * sysdeps/unix/sysv/linux/configure: Regenerated.
36496 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
36497 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
36498 Linux kernel version.
36499 (__ASSUME_STD_AUXV): Remove.
36500 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
36501 kernel version.
36502 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
36503 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
36504 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
36505 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
36506 (__ASSUME_NETLINK_SUPPORT): Likewise.
36507 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
36508 (__no_netlink_support): Remove conditional definition.
36509 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
36510 Remove.
36511 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36512 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
36513 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
36514 (if_nameindex_ioctl): Remove.
36515 (if_nameindex_netlink): Do not handle __no_netlink_support.
36516 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36517 code.
36518 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
36519 Remove conditional code.
36520 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36521 code.
36522 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
36523 unconditional.
36524 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36525 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
36526 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
36527 Remove.
36528 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
36529 [!__ASSUME_STD_AUXV]: Remove conditional code.
36530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
36531 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
36532 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
36533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
36534 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
36535 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36536 code.
36537 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36539 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
36540 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36541 conditional code.
36542 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
36544 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36545 code.
36546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36547 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36548 conditional code.
36549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
36550 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36551 code unconditional.
36552 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36553 conditional code.
36554 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36555 unconditional.
36556 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36557 conditional code.
36558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36559 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36560 unconditional.
36561 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36562 conditional code.
36563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36564 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36565 code unconditional.
36566 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36567 conditional code.
36568 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36569 unconditional.
36570 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36571 conditional code.
36572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36573 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36574 code unconditional.
36575 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36576 conditional code.
36577 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36578 unconditional.
36579 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36580 conditional code.
36581
842a39cd
AS
365822012-07-25 Andreas Schwab <schwab@linux-m68k.org>
36583
36584 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
36585 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
36586 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36587 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
36588 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
36589 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
36590 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
36591 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
36592 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
36593 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
36594 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
36595 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
36596 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
36597 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
36598 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
36599 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
36600 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
36601 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
36602 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
36603 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
36604 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
36605 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
36606 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36607
84b3fd84
FW
366082012-07-25 Florian Weimer <fweimer@redhat.com>
36609
36610 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
36611 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
36612 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
36613 Introduce __libc_secure_getenv.
0c7936d5
FW
36614 * stdlib/Versions (2.17): Add secure_getenv
36615 (GLIBC_PRIVATE): Add __libc_secure_getenv.
36616 * stdlib/secure-getenv.c: Rename __secure_getenv to
36617 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
36618 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
36619 * stdlib/tst-secure-getenv.c: New.
36620 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
36621 * manual/startup.texi (Environment Access): Document
36622 secure_getenv.
84b3fd84
FW
36623 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
36624 __libc_secure_getenv.
36625 * inet/ruserpass.c (ruserpass): Likewise.
36626 * malloc/mtrace.c (mtrace): Likewise.
36627 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 36628 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
36629 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
36630 * sysdeps/posix/tempname.c: Likewise. Evaluate
36631 HAVE_SECURE_GETENV.
36632 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 36633 __secure_getenv to __libc_secure_getenv.
84b3fd84 36634 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
36635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36636 Likewise.
36637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36638 Likewise.
36639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36641 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36643 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36644 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36645 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 36646
56e49b71
JM
366472012-07-25 Joseph Myers <joseph@codesourcery.com>
36648
36649 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
36650 (struct La_i86_retval): Likewise.
36651 (struct La_x86_64_regs): Likewise.
36652 (struct La_x86_64_retval): Likewise.
36653 (struct La_x32_regs): Likewise.
36654 (struct La_x32_retval): Likewise.
36655 (struct La_ppc32_regs): Likewise.
36656 (struct La_ppc32_retval): Likewise.
36657 (struct La_ppc64_regs): Likewise.
36658 (struct La_ppc64_retval): Likewise.
36659 (struct La_sh_regs): Likewise.
36660 (struct La_sh_retval): Likewise.
36661 (struct La_s390_32_regs): Likewise.
36662 (struct La_s390_32_retval): Likewise.
36663 (struct La_s390_64_regs): Likewise.
36664 (struct La_s390_64_retval): Likewise.
36665 (struct La_sparc32_regs): Likewise.
36666 (struct La_sparc32_retval): Likewise.
36667 (struct La_sparc64_regs): Likewise.
36668 (struct La_sparc64_retval): Likewise.
36669 (struct audit_ifaces): Remove architecture-specific pltenter and
36670 pltexit members.
36671 * sysdeps/i386/ldsodefs.h: New file.
36672 * sysdeps/powerpc/ldsodefs.h: Likewise.
36673 * sysdeps/s390/ldsodefs.h: Likewise.
36674 * sysdeps/sh/ldsodefs.h: Likewise.
36675 * sysdeps/sparc/ldsodefs.h: Likewise.
36676 * sysdeps/x86_64/ldsodefs.h: Likewise.
36677
354691b7
MP
366782012-07-25 Marek Polacek <polacek@redhat.com>
36679
36680 [BZ #6808]
36681 * math/libm-test.inc (yn_test): Add another test.
36682 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
36683 to ERANGE when the result is +-Inf.
36684 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36685 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36686 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
36687 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
36688
bf9e2071
JM
366892012-07-24 Joseph Myers <joseph@codesourcery.com>
36690
36691 * conform/data/time.h-data (NULL): Use macro-constant. Require
36692 equal to 0.
36693 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
36694 clock_t.
36695 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
36696
57633811
TS
366972012-07-23 Thomas Schwinge <thomas@codesourcery.com>
36698
36699 * configure.in <sysdeps resolving>: Correct printing
36700 Implies_before.
36701 * configure: Regenerate.
36702
c23c33b0
TS
367032012-07-22 Thomas Schwinge <thomas@codesourcery.com>
36704
36705 * math/w_ilogb.c: Include <limits.h>.
36706 * math/w_ilogbl.c: Likewise.
36707
b5982523
JM
367082012-07-20 Joseph Myers <joseph@codesourcery.com>
36709
36710 * manual/lang.texi (__va_copy): Document primarily as ISO C99
36711 va_copy. Document allowing for unavailable va_copy only as
36712 pre-C99 compatibility.
36713 * manual/string.texi (Copying and Concatenation): Use va_copy
36714 instead of __va_copy in concat example.
36715
ac4ea442
PT
367162012-07-20 Pino Toscano <toscano.pino@tiscali.it>
36717
36718 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
36719 (__sendto): Use create_address_port. Initialize APORT and deallocate
36720 it if not null.
36721
f98eafbd
PT
36722 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
36723 with O_NOLINK passed to __file_name_lookup.
36724
898c7aab
PT
36725 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
36726 with O_NOLINK passed to __file_name_lookup.
36727
0ced335a
PT
36728 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
36729 negative N or less than NGIDS.
36730
b3404dbd
PT
36731 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
36732 type to string_t. Set ERANGE as errno and return it if NAME is not big
36733 enough. Use memcpy instead of strncpy.
36734
0f48659e
JM
367352012-07-20 Joseph Myers <joseph@codesourcery.com>
36736
36737 * elf/Makefile (check-data): Remove.
36738 (localplt.data): New vpath directive.
36739 ($(objpfx)check-localplt.out): Use localplt.data from vpath
36740 instead of $(check-data).
36741 * scripts/data/localplt-generic.data: Move to ...
36742 * sysdeps/generic/localplt.data: ... here.
36743 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
36744 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
36745 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
36746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36747 ... here.
36748 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
36749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36750 ... here.
36751 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
36752 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
36753 ... here.
36754 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
36755 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
36756 ... here.
36757 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
36758 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
36759 ... here.
36760 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
36761 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
36762 ... here.
36763
d37cbdaa
AZ
367642012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36765
36766 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
36767 PPC32 and PPC64 files.
36768 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
36769 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
36770
46f85fc2
AK
367712012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36772
36773 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
36774 __makecontext_ret to ...
36775 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
36776 ... here and call exit if uc_link is NULL. New file.
36777 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
36778 __makecontext_ret.S.
36779 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
36780 __makecontext_ret to ...
36781 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
36782 ... here and call exit if uc_link is NULL. New file.
36783 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
36784 __makecontext_ret.S.
36785
08f43f9b
AK
367862012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36787
36788 * elf/elf.h (R_390_IRELATIVE): New definition.
36789 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
36790 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
36791 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
36792 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
36793 (elf_machine_lazy_rel): Likewise.
36794 * sysdeps/s390/dl-irel.h: New file.
36795 * sysdeps/s390/s390-64/memcpy.S: New asm code.
36796 * sysdeps/s390/s390-64/memset.S: New asm code.
36797 * sysdeps/s390/s390-64/memcmp.S: New asm code.
36798 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
36799 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
36800 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
36801 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
36802 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
36803 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
36804 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
36805 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
36806 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
36807 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
36808 * sysdeps/s390/s390-32/memcpy.S: New asm code.
36809 * sysdeps/s390/s390-32/memset.S: New asm code.
36810 * sysdeps/s390/s390-32/memcmp.S: New asm code.
36811
3b05db33
MP
368122012-07-17 Marek Polacek <polacek@redhat.com>
36813
36814 [BZ #14349]
36815 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
36816 * sysdeps/s390/s390-64/configure.in: Likewise.
36817 * sysdeps/sparc/configure.in: Likewise.
36818 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
36819 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
36820 * sysdeps/i386/configure.in: Likewise.
36821 * sysdeps/x86_64/configure.in: Likewise.
36822 * sysdeps/sh/configure.in: Likewise.
36823 * sysdeps/s390/s390-32/configure: Regenerated.
36824 * sysdeps/s390/s390-64/configure: Likewise.
36825 * sysdeps/x86_64/configure: Likewise.
36826 * sysdeps/sh/configure: Likewise.
36827 * sysdeps/powerpc/powerpc64/configure: Likewise.
36828 * sysdeps/powerpc/powerpc32/configure: Likewise.
36829 * sysdeps/sparc/configure: Likwise.
36830 * sysdeps/i386/configure: Likewise.
36831
a66877c6
MP
36832 * elf/dl-open.c: Comment fixes.
36833
cfc82fd8
JM
368342012-07-17 Joseph Myers <joseph@codesourcery.com>
36835
bd29910a
JM
36836 * Makefile [CXX] (check-data): Remove.
36837 [CXX] (c++-types.data): New vpath directive.
36838 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
36839 vpath. Do not allow for C++ type data being missing.
36840 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
36841 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
36842 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
36843 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
36844 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
36845 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
36846 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
36847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36848 ... here.
36849 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
36850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36851 ... here.
36852 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
36853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
36854 ... here.
36855 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
36856 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
36857 ... here.
36858 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
36859 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
36860 ... here.
36861 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
36862 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
36863 ... here.
36864 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
36865 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
36866 ... here.
36867 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
36868 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
36869
cfc82fd8
JM
36870 * elf/tls-macros.h (TLS_LE): Move architecture-specific
36871 definitions to architecture-specific files.
36872 (TLS_IE): Likewise.
36873 (TLS_LD): Likewise.
36874 (TLS_GD): Likewise.
36875 * sysdeps/i386/tls-macros.h: New file.
36876 * sysdeps/powerpc/tls-macros.h: Likewise.
36877 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
36878 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
36879 * sysdeps/sh/tls-macros.h: Likewise.
36880 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
36881 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
36882 * sysdeps/x86_64/tls-macros.h: Likewise.
36883
f7db3170
TS
368842012-07-17 Thomas Schwinge <thomas@codesourcery.com>
36885
07cbfc23
TS
36886 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
36887 zero value for regular exit case.
36888
f7db3170
TS
36889 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
36890 (__start_context): Preserve zero value for regular exit case.
36891
dc97c227
TS
368922012-07-17 Thomas Schwinge <thomas@codesourcery.com>
36893 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36894
36895 * manual/setjmp.texi (setcontext): Clarify normal process
36896 termination when uc_link is the null pointer.
36897 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
36898 exit call.
36899
d0cd7d02
AS
369002012-07-16 Andreas Schwab <schwab@linux-m68k.org>
36901
36902 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
36903 preprocessor. Test for each exception mask separately.
36904
dd318934
AJ
369052012-07-16 Andreas Jaeger <aj@suse.de>
36906
36907 * po/ru.po: Update from translation team.
36908
8048311a
JM
369092012-07-15 Joseph Myers <joseph@codesourcery.com>
36910
36911 * conform/data/string.h-data (NULL): Use macro-constant. Require
36912 equal to 0.
36913 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36914 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36915 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
36916 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
36917 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36918
b637d46e
AJ
369192012-07-13 Andreas Jaeger <aj@suse.de>
36920
36921 * po/fr.po: Update from translation team.
36922
541428fe
MP
369232012-07-12 Marek Polacek <polacek@redhat.com>
36924
36925 [BZ #14173]
36926 * math/libm-test.inc (yn_test): Add test for BZ #14173.
36927 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
36928 loop condition.
36929
ec332e94
JM
369302012-07-12 Joseph Myers <joseph@codesourcery.com>
36931
36932 [BZ #13717]
36933 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36934 Change to 2.4.1 where previously 2.4.0.
36935 * sysdeps/unix/sysv/linux/configure: Regenerated.
36936 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
36937 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
36938 version.
36939 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
36940 (__ASSUME_AT_CLKTCK): Remove.
36941 (__ASSUME_AT_PAGESIZE): Likewise.
36942 (__ASSUME_AT_XID): Likewise.
36943 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
36944 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
36945 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
36946 unconditionally.
36947 (HAVE_AUX_PAGESIZE): Likewise.
36948 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
36949 [__ASSUME_AT_CLKTCK]: Make code unconditional.
36950 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
36951
7b6e99be
JB
369522012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
36953
36954 [BZ #14307]
36955 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
36956 the temporary buffer used to invoke __gethostbyname2_r,
36957 __gethostbyaddr_r and gethostbyname4_r to make room for struct
36958 host_data / struct gaih_addrtuple.
36959 * resolv/nss_dns/dns-host.c (global scope): Move definition of
36960 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
36961 header file nss/nsswitch.h.
36962 * nss/nsswitch.h (global scope): Add definition of implementation
36963 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
36964 resolv/nss_dns/dns-host.c).
36965
608404eb
AJ
369662012-07-11 Andreas Jaeger <aj@suse.de>
36967
36968 * po/fr.po: Update from translation team.
36969
71220aca
AJ
36970 * po/sv.po: Update from translation team
36971 * po/fr.po: Another update from translation team.
36972
28cfe843
AZ
369732012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36974
36975 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
36976 for subnormals or multiply small sinh result by itself.
36977 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36978 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36979
6b90f981
DM
369802012-07-11 David S. Miller <davem@davemloft.net>
36981
36982 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36983
c6825772
AS
369842012-07-10 Andreas Schwab <schwab@linux-m68k.org>
36985
36986 [BZ #14347]
36987 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
36988 (INTERNAL_MARK): Shift it here.
36989
7b8e0d49
MP
369902012-07-10 Marek Polacek <polacek@redhat.com>
36991
36992 [BZ #14151]
36993 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
36994 libc_cv_asm_global_directive with .globl.
36995 * configure: Regenerated.
36996 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
36997 with .globl.
36998 * sysdeps/i386/configure: Regenerated.
36999 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
37000 with .globl.
37001 * sysdeps/x86_64/configure: Regenerated.
37002 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
37003 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
37004 * elf/tst-unique2mod2.c: Likewise.
37005 * elf/tst-unique2mod1.c: Likewise.
37006 * elf/tst-unique1mod2.c: Likewise.
37007 * elf/tst-unique1mod1.c: Likewise.
37008 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37009 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37010 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37011 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37012 * sysdeps/mach/sysdep.h: Likewise.
37013 * sysdeps/i386/sysdep.h: Likewise.
37014 * sysdeps/i386/i386-mcount.S: Likewise.
37015 * sysdeps/x86_64/_mcount.S: Likewise.
37016 * sysdeps/x86_64/sysdep.h: Likewise.
37017 * sysdeps/sh/_mcount.S: Likewise.
37018 * sysdeps/sh/sysdep.h: Likewise.
37019 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
37020 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
37021 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
37022 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37023 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
37024 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
37025 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
37026 * locale/localeinfo.h: Likewise.
37027 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
37028 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
37029
6c55cda3
RM
370302012-07-09 Roland McGrath <roland@hack.frob.com>
37031
37032 [BZ #14336]
37033 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
37034 system".
37035 * manual/message.texi (The Uniforum approach): Likewise.
37036 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
37037 (glibc iconv Implementation): Likewise.
37038
638a572e
JM
370392012-07-09 Joseph Myers <joseph@codesourcery.com>
37040
37041 [BZ #14337]
37042 * math/s_clog.c (__clog): Avoid scaling a value down where that
37043 could result in underflow.
37044 * math/s_clog10.c (__clog10): Likewise.
37045 * math/s_clog10f.c (__clog10f): Likewise.
37046 * math/s_clog10l.c (__clog10l): Likewise.
37047 * math/s_clogf.c (__clogf): Likewise.
37048 * math/s_clogl.c (__clogl): Likewise.
37049 * math/libm-test.inc (clog_test): Add more tests.
37050 (clog10_test): Likewise.
37051 * sysdeps/i386/fpu/libm-test-ulps: Update.
37052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37053
261f4859
AS
370542012-07-06 Andreas Schwab <schwab@linux-m68k.org>
37055
0abaf3e4
AS
37056 [BZ #14283]
37057 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
37058 by 7 not 8 to examine high bit of fractional part.
37059
261f4859
AS
37060 [BZ #14042]
37061 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
37062 for call to __mcount_internal.
37063 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
37064 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
37065 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
37066
f17ac40d
JM
370672012-07-06 Joseph Myers <joseph@codesourcery.com>
37068
9ad63c23
JM
37069 [BZ #14154]
37070 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
37071 approximation for values within 0x1p-13f of an odd multiple of
37072 pi/4.
37073 * math/libm-test.inc (tan_test): Do not allow spurious underflow
37074 exception. Add more tests.
37075 * sysdeps/i386/fpu/libm-test-ulps: Update.
37076
f17ac40d
JM
37077 [BZ #6778]
37078 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
37079 inputs and return -1 for them. Do not check for +Inf in case not
37080 reachable for +Inf.
37081 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
37082 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
37083 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37084 and return -1 for them. Do not check for +Inf in case not
37085 reachable for +Inf.
37086 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
37087 define.
37088 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37089 and return -1 for them. Do not check for +Inf in case not
37090 reachable for +Inf.
37091 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
37092 spurious underflow.
37093 * sysdeps/i386/fpu/libm-test-ulps: Update.
37094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37095
fb21f89b
MF
370962012-07-06 Mike Frysinger <vapier@gentoo.org>
37097
37098 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
37099
cdfe2c5e
JM
371002012-07-05 Joseph Myers <joseph@codesourcery.com>
37101
37102 [BZ #14157]
37103 [BZ #14331]
37104 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
37105 could result in spurious underflow. Scale down values above
37106 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
37107 * math/s_csqrtf.c (__csqrtf): Likewise.
37108 * math/s_csqrtl.c (__csqrtl): Likewise.
37109 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
37110 spurious underflow.
37111 * sysdeps/i386/fpu/libm-test-ulps: Update.
37112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37113
70d35b67
AS
371142012-07-04 Andreas Schwab <schwab@linux-m68k.org>
37115
704bc459
AS
37116 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
37117 xopen-msg.sed.
37118 * catgets/xopen-msg.awk: New file.
37119 * catgets/xopen-msg.sed: Removed.
37120
70d35b67
AS
37121 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
37122 po2text.sed.
37123 * intl/po2test.awk: New file.
37124 * intl/po2test.sed: Removed.
37125
ca61cf32
JM
371262012-07-04 Joseph Myers <joseph@codesourcery.com>
37127
37128 [BZ #14328]
37129 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
37130 or multiply small sinh result by itself.
37131 * math/s_ctanf.c (__ctanf): Likewise.
37132 * math/s_ctanh.c (__ctanh): Likewise.
37133 * math/s_ctanhf.c (__ctanhf): Likewise.
37134 * math/s_ctanhl.c (__ctanhl): Likewise.
37135 * math/s_ctanl.c (__ctanl): Likewise.
37136 * math/libm-test.inc (ctan_test_tonearest): New function.
37137 (ctan_test_towardzero): Likewise.
37138 (ctan_test_downward): Likewise.
37139 (ctan_test_upward): Likewise.
37140 (ctanh_test_tonearest): Likewise.
37141 (ctanh_test_towardzero): Likewise.
37142 (ctanh_test_downward): Likewise.
37143 (ctanh_test_upward): Likewise.
37144 (main): Call these new functions.
37145 * sysdeps/i386/fpu/libm-test-ulps: Update.
37146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37147
ca48a46a
MF
371482012-07-03 Mike Frysinger <vapier@gentoo.org>
37149
37150 * .gitignore: Delete /ports entry.
37151
9d63d37d
AJ
371522012-07-03 Andreas Jaeger <aj@suse.de>
37153
37154 * po/bg.po: Update from translation team.
37155 * po/cs.po: Likewise.
37156 * po/de.po: Likewise.
37157 * po/hr.po: Likewise.
37158 * po/nl.pl: Likewise.
37159 * po/pl.po: Likewise.
37160 * po/vi.po: Likewise.
37161
370ca3d2
JM
371622012-07-03 Joseph Myers <joseph@codesourcery.com>
37163
95f5a9a8
JM
37164 * Makeconfig [!+link] (+link-before-libc): New variable.
37165 [!+link] (+link-after-libc): Likewise.
37166 [!+link] (+link-tests): Likewise.
37167 [!+link] (+link): Define in terms of $(+link-before-libc) and
37168 $(+link-after-libc).
37169 [!+link-static] (+link-static-before-libc): New variable.
37170 [!+link-static] (+link-static-after-libc): Likewise.
37171 [!+link-static] (+link-static-tests): Likewise.
37172 [!+link-static] (+link-static): Define in terms of
37173 $(+link-static-before-libc) and $(+link-static-after-libc).
37174 [build-shared] (link-libc-before-gnulib): New variable.
37175 [build-shared] (link-libc-tests): Likewise.
37176 [build-shared] (link-libc): Define in terms of
37177 $(link-libc-before-gnulib).
37178 [!build-shared] (link-libc-tests): New variable.
37179 (link-libc-static-tests): New variable.
37180 [!gnulib] (gnulib-arch): New variable.
37181 [!gnulib] (gnulib-tests): Likewise.
37182 [!gnulib] (static-gnulib-arch): Likewise.
37183 [!gnulib] (static-gnulib-tests): Likewise.
37184 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
37185 Define with "=" instead of ":=".
37186 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
37187 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
37188 * Rules (binaries-all-notests): New variable.
37189 (binaries-all-tests): Likewise.
37190 (binaries-static-notests): Likewise.
37191 (binaries-static-tests): Likewise.
37192 (binaries-all): Define using $(binaries-all-notests) and
37193 $(binaries-all-tests).
37194 (binaries-static): Define using $(binaries-static-notests) and
37195 $(binaries-static-tests).
37196 (binaries-shared-tests): New variable.
37197 (binaries-shared-notests): Likewise.
37198 (binaries-shared): Remove variable.
37199 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
37200 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
37201 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
37202 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
37203 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
37204 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
37205 * elf/Makefile (sln-modules): New variable.
37206 (extra-objs): Add $(sln-modules:=.o).
37207 (ldconfig-modules): Add static-stubs.
37208 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
37209 * elf/static-stubs.c: New file.
37210
7a845b2c
JM
37211 [BZ #14283]
37212 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
37213 by 7 not 8 to examine high bit of fractional part. Use volatile
37214 variables when splitting into final array of floats if
37215 __FLT_EVAL_METHOD__ != 0.
37216 * math/libm-test.inc (cos_test): Add another test.
37217 (sin_test): Likewise.
37218 * sysdeps/i386/fpu/libm-test-ulps: Update.
37219
e2283f38
JM
37220 [BZ #14273]
37221 * math/libm-test.inc (cosh_test): Add more tests.
37222
370ca3d2
JM
37223 * version.h (RELEASE): Set to "development".
37224 (VERSION): Set to "2.16.90".
37225
ee9247c3
CD
372262012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
37227
37228 * NEWS: Update copyright. Remove last-updated date.
37229 Mention math library bug fixes and timezone data changes.
37230 * README: Mention GNU/Hurd, x32, and HPPA support status.
37231
4648c381
TS
372322012-06-28 Thomas Schwinge <thomas@codesourcery.com>
37233
37234 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
37235
aac78a43
AJ
372362012-06-27 Andreas Jaeger <aj@suse.de>
37237
37238 * manual/contrib.texi (Contributors): Add Samuel Thibault.
37239
ed3dbfad
AJ
372402012-06-25 Andreas Jaeger <aj@suse.de>
37241
37242 * sysdeps/s390/fpu/libm-test-ulps: Update.
37243
4d0ee855
AS
372442012-06-23 Andreas Schwab <schwab@linux-m68k.org>
37245 Thomas Schwinge <thomas@codesourcery.com>
37246
37247 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
37248 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
37249 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
37250 fanotify_mark.
37251
af1bce34
TS
372522012-06-23 Thomas Schwinge <thomas@codesourcery.com>
37253
a9fa33ba
TS
37254 * sysdeps/mach/start.c: Remove file.
37255 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
37256 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
37257 * sysdeps/sh/init-first.c: Likewise.
37258
58f902b8
TS
37259 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
37260 registers for frame unwinding purposes, add CFI directives.
37261 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37262 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
37263 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
37264 Likewise.
37265
1518f58b
TS
37266 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
37267 __fortify_fail returning.
37268 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37269
db9b5059
TS
37270 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
37271 sysdeps/sh/____longjmp_chk.S.
37272 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
37273 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
37274 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
37275 (gen-as-const-headers): Append sigaltstack-offsets.sym.
37276
967705fe
TS
37277 * sysdeps/sh/abort-instr.h: New file.
37278 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
37279 process in case exit returns.
37280
a9def8c4
TS
37281 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
37282 initialize the GOT register before use.
37283
2a649725
TS
37284 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
37285 calculation of ARGC > 4.
37286
af1bce34
TS
37287 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
37288 meaningful names to some local labels.
37289
d230f50a
KK
372902012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37291 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37292
37293 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
37294 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
37295 (__arch_compare_and_exchange_val_16_acq): Likewise.
37296 (__arch_compare_and_exchange_val_32_acq): Likewise.
37297 (atomic_exchange_and_add): Fix gUSA sequence.
37298 (atomic_add): Likewise.
37299 (atomic_add_negative): Likewise.
37300 (atomic_add_zero): Likewise.
37301 (atomic_bit_test_set): Likewise.
37302
0479b305
AS
373032012-06-22 Andreas Schwab <schwab@redhat.com>
37304
37305 [BZ #13579]
37306 * include/link.h (struct link_map): Add l_free_initfini.
37307 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
37308 l_initfini.
37309 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
37310 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
37311 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
37312 set.
37313
0e3933b9
CD
373142012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
37315
37316 * configure.in: Use AC_LANG_SOURCE.
37317 * configure: Regenerate.
37318
4248b1b1
RM
373192012-06-22 Roland McGrath <roland@hack.frob.com>
37320
37321 * configure.in (libc_cv_localstatedir): New substituted variable.
37322 * configure: Regenerated.
37323 * config.make.in (localstatedir): New variable, substituted from
37324 libc_cv_localstatedir.
37325 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
37326 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
37327 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
37328 * sysdeps/gnu/configure: Regenerated.
37329
006dd861
JL
373302012-06-21 Jeff Law <law@redhat.com>
37331
37332 [BZ #14277]
37333 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
37334 free. Simplify list management for _LIBC case.
37335
79662d42
JM
373362012-06-21 Joseph Myers <joseph@codesourcery.com>
37337
b7abb4bf
JM
37338 [BZ #14273]
37339 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
37340 Clear sign bit of 64-bit integer value before comparing against
37341 overflow value.
37342
79662d42
JM
37343 * sysdeps/mach/configure: Regenerated.
37344
1f150908
L
373452012-06-21 H.J. Lu <hongjiu.lu@intel.com>
37346
37347 [BZ #14278]
37348 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
37349
28363bbf
JL
373502012-06-21 Jeff Law <law@redhat.com>
37351
37352 [BZ #13882]
37353 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
37354 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 37355 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
37356 * elf/dl-open.c (dl_open_worker): Likewise.
37357
09615db4
CD
373582012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
37359
37360 * scripts/list-sources.sh: Scan PORTS for translations.
37361 * po/libc.pot: Regenerated.
37362
2174c6dd
AJ
373632012-06-21 Andreas Jaeger <aj@suse.de>
37364
37365 [BZ #12194]
37366 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
37367 warning.
37368 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
37369 * bits/byteswap-16.h (__bswap_16): Likewise.
37370 * bits/byteswap.h (__bswap_constant_16): Likewise.
37371
3ee947b1
L
373722012-06-18 H.J. Lu <hongjiu.lu@intel.com>
37373
37374 [BZ #14117]
a2f34833
L
37375 * sysdeps/i386/fpu_control.h: Removed.
37376 * sysdeps/x86_64/fpu_control.h: Moved to ...
37377 * sysdeps/x86/fpu_control.h: Here.
37378
3ee947b1
L
37379 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
37380 (_FPU_SETCW): Likewise.
37381
ed1825f8
L
373822012-06-15 H.J. Lu <hongjiu.lu@intel.com>
37383
25f1282a
L
37384 [BZ #14117]
37385 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
37386 * sysdeps/x86/fpu/bits/mathinline.h: This.
37387 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
37388
ed1825f8
L
37389 [BZ #14050]
37390 [BZ #14117]
37391 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
37392 functions if __x86_64__ is defined.
37393
36d54b74
CLT
373942012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
37395
37396 * string/endian.h: Add !__ASSEMBLER__ condition for including
37397 conversion interfaces.
37398
10285c21
JM
373992012-06-15 Joseph Myers <joseph@codesourcery.com>
37400
37401 [BZ #14241]
37402 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
37403 of ABS(x) in calculating zero to negative powers other than odd
37404 integers.
37405 * math/libm-test.inc (pow_test): Add more tests.
37406
06c5abbd
AJ
374072012-06-15 Andreas Jaeger <aj@suse.de>
37408
37409 * manual/contrib.texi (Contributors): Update entry of Liubov
37410 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
37411 Machado Filho.
37412
a3aeac40
CH
374132012-06-15 Cyril Hrubis <metan@ucw.cz>
37414
37415 * string/string.h: Add __wur to GNU version of strerror_r.
37416
49bdf4c1
L
374172012-06-14 H.J. Lu <hongjiu.lu@intel.com>
37418
37419 [BZ #14229]
37420 * string/Makefile (tests): Add tst-strtok_r.
37421 * string/tst-strtok_r.c: New file.
37422 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
37423 RAX_LP/RDX_LP on SAVE_PTR.
37424
834f9b8d
RM
374252012-06-14 Roland McGrath <roland@hack.frob.com>
37426
37427 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
37428
75fa1921
JM
374292012-06-14 Joseph Myers <joseph@codesourcery.com>
37430
37431 * libm_test.inc (csqrt_test): Allow more spurious underflow
37432 exceptions.
37433 (j0_test): Likewise.
37434 (j1_test): Likewise.
37435 (y0_test): Likewise.
37436 (y1_test): Likewise.
37437
771766df
CD
374382012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
37439
37440 * po/Makefile (libc.pot): Use UTF-8 charset.
37441
ceb9e56b
PP
374422012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
37443
37444 [BZ #14210]
37445 Suppress sign-conversion warning from FD_SET.
37446 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
37447 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
37448 not unsigned long int.
37449 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
37450
ddb28975
L
374512012-06-12 H.J. Lu <hongjiu.lu@intel.com>
37452
37453 [BZ #14050]
37454 [BZ #14117]
37455 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
37456 __extern_always_inline instead of __extern_inline.
37457 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
37458 (__signbit): Likewise.
37459 (__signbitl): Support C++ namespace.
37460 (lrintf): New inline function.
37461 (lrint): Likewise.
37462 (llrintf): Likewise.
37463 (llrint): Likewise.
37464 (fmaxf): Likewise.
37465 (fmax): Likewise.
37466 (fminf): Likewise.
37467 (fmin): Likewise.
37468 (rint): Likewise.
37469 (rintf): Likewise.
37470 (ceil): Likewise.
37471 (ceilf): Likewise.
37472 (floor): Likewise.
37473 (floorf): Likewise.
37474 (nearbyint): Likewise.
37475 (nearbyintf): Likewise.
37476
d7b4fb26
TS
374772012-06-12 Thomas Schwinge <thomas@codesourcery.com>
37478
37479 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
37480 non-default versions.
37481
eb55f5c2
RM
374822012-06-11 Roland McGrath <roland@hack.frob.com>
37483
37484 [BZ #14218]
37485 * manual/argp.texi (Argp): Reword argp_parse description slightly.
37486
366af02c
TS
374872012-06-09 Thomas Schwinge <thomas@codesourcery.com>
37488
99ff6e5c
TS
37489 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
37490 (FE_UPWARD, FE_DOWNWARD): Don't define.
37491 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
37492 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37493
366af02c
TS
37494 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
37495 reading it.
37496 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37497 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37498
793ea851
KK
374992012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37500
37501 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37502 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
37503 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
37504 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
37505
a728a38f
L
375062012-06-06 H.J. Lu <hongjiu.lu@intel.com>
37507
37508 [BZ #14117]
c08010c7
L
37509 * sysdeps/i386/fpu/bits/fenv.h: Removed.
37510 * sysdeps/i386/fpu/Implies: New file.
37511 * sysdeps/x86_64/fpu/Implies: Likewise.
37512 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
37513 * sysdeps/x86/fpu/bits/fenv.h: This.
37514
a728a38f
L
37515 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
37516 __SSE_MATH__.
37517
6e230d11
SP
375182012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
37519
37520 [BZ #14134]
37521 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
37522 character 0xffff that matches the last element of the
37523 conversion table.
37524
1b671feb
AZ
375252012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37526
37527 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
37528 fmodl commit.
37529
6043738b
AZ
375302012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37531
37532 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
37533 values higher than 25.6283.
37534
34ae0b32
AZ
375352012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37536
37537 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
37538 subnormal exponent extraction and add some __builtin_expect.
37539 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
37540 Fix for subnormal mantissa calculation.
37541
1214ec8f
MF
375422012-06-04 Mike Frysinger <vapier@gentoo.org>
37543
37544 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
37545 cpu2 is -1 and errno is not ENOSYS.
37546
f3d1f93c
L
375472012-06-04 H.J. Lu <hongjiu.lu@intel.com>
37548
37549 [BZ #14117]
0e4a3cd7
L
37550 * sysdeps/i386/i486/bits/string.h: Renamed to ...
37551 * sysdeps/x86/bits/string.h: This.
37552 * sysdeps/x86_64/bits/string.h: Removed.
37553
6704c645
L
37554 * sysdeps/i386/i486/bits/string.h: Define inline functions only
37555 if not compiling for x86-64, but compiling for >= i486.
37556
48495318
L
37557 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
37558 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
37559
14adcbfc
L
37560 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
37561 New macro from Linux kernel 3.4.0.
37562 (FP_XSTATE_MAGIC2): Likewise.
37563 (FP_XSTATE_MAGIC2_SIZE): Likewise.
37564 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
37565 (struct _fpx_sw_bytes): New struct.
37566 (struct _xsave_hdr): Likewise.
37567 (struct _ymmh_state): Likewise.
37568 (struct _xstate): Likewise.
37569
68e408ab
L
37570 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
37571 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
37572 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
37573 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
37574 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
37575 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
37576
f3d1f93c
L
37577 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
37578 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
37579 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
37580 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
37581 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
37582 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
37583
d9dc34cd
TMQMF
375842012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37585
37586 [BZ #13743]
37587 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
37588 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
37589 (sysdep_headers): Include sys/platform/ppc.h.
37590 * sysdeps/powerpc/test-gettimebase.c: Test for
37591 __ppc_get_timebase() to catch future ISA opcode/insn changes.
37592 * manual/Makefile (appendices): Include platform.texi.
37593 * manual/contrib.texi (Contributors): Update @node pointers.
37594 * manual/maint.texi (Maintenance): Likewise.
37595 (Platform): New node.
37596 * manual/platform.texi: New file. Document the new features.
37597
4af3879c
SP
375982012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37599 Jakub Jelinek <jakub@redhat.com>
37600
37601 [BZ #14188]
37602 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
37603 where __builtin_expect is unavailable.
37604
2fd6ff13
DM
376052012-06-03 David S. Miller <davem@davemloft.net>
37606
37607 * stdlib/longlong.h: Updated from GCC.
37608
173f7220
AS
376092012-06-02 Andreas Schwab <schwab@linux-m68k.org>
37610
37611 [BZ #14042]
37612 * sysdeps/powerpc/powerpc32/mcount.c: New file.
37613 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
37614 __mcount_internal.
37615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37616 (GLIBC_2.16): Likewise.
37617
f34a1c6f
L
376182012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37619
37620 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
37621
88a4576f
JM
376222012-06-01 Joseph Myers <joseph@codesourcery.com>
37623
ea32bcdd
JM
37624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
37625 (default-abi): New variable.
37626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
37627 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
37628 variable.
37629 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
37630 Likewise.
37631 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
37632 Likewise.
37633 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
37634 Likewise.
37635
88a4576f
JM
37636 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
37637 definition. Document in comment.
37638
402fe938
DM
376392012-06-01 David S. Miller <davem@davemloft.net>
37640
37641 * stdlib/longlong.h: Updated from GCC.
37642
3553723f
L
376432012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37644
37645 [BZ #14117]
3bd872c4
L
37646 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
37647 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
37648 sys/debugreg.h sys/io.h here.
37649 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
37650 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
37651 sys/io.h.
37652 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
37653 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
37654 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
37655 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
37656 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
37657 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
37658
3553723f
L
37659 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
37660 Define only if __x86_64__ is defined.
37661
4842e4fe
JM
376622012-06-01 Joseph Myers <joseph@codesourcery.com>
37663
c5bfe3d5
JM
37664 [BZ #14048]
37665 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
37666 Use int64_t for variable i.
37667 * math/libm-test.inc (fmod_test): Add more tests.
37668
4842e4fe
JM
37669 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
37670 z computation is not scheduled after fetestexcept.
37671 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
37672 Use math_force_eval instead of asm to ensure calculation scheduled
37673 before exception test.
37674 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
37675 Ensure a1 + u.d computation is not scheduled after fetestexcept.
37676
efb73488
AJ
376772012-06-01 Aurelien Jarno <aurelien@aurel32.net>
37678
37679 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
37680 computation is not scheduled after fetestexcept.
37681
29bcce7c
L
376822012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37683
37684 [BZ #14117]
37685 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
37686 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
37687
73a68f94
AZ
376882012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37689
37690 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
37691 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37692
67b6df78
L
376932012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37694
edf2933a 37695 [BZ #14117]
ebc64a18
L
37696 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
37697 <bits/wordsize.h>.
37698 (__WCHAR_MIN): Support __WORDSIZE == 64.
37699 (__WCHAR_MAX): Likewise.
37700
edf2933a
L
37701 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
37702 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
37703
57c6cf40
L
37704 [BZ #14183]
37705 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
37706 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
37707
67b6df78 37708 [BZ #14117]
8eb6281e
L
37709 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
37710 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
37711
aac639f4
L
37712 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
37713 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
37714
67b6df78
L
37715 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
37716 Defined to 1 if __x86_64__ isn't defined.
37717 (_STAT_VER_LINUX_OLD): New.
37718 (st_atime): Remove duplicate.
37719 (st_mtime): Likewise.
37720 (st_ctime): Likewise.
37721
1c2cfe81
DM
377222012-05-31 David S. Miller <davem@davemloft.net>
37723
37724 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
37725 entries.
37726
5be8418c
AS
377272012-06-01 Andreas Schwab <schwab@linux-m68k.org>
37728
e7725326
AS
37729 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
37730 gen-libm-test.pl.
37731
5be8418c
AS
37732 [BZ #14132]
37733 * elf/dl-reloc.c: Include <_itoa.h>.
37734 (_dl_reloc_bad_type): Remove use of INTUSE.
37735 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
37736 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
37737 * stdio-common/psiginfo.c (psiginfo): Likewise.
37738 * stdio-common/psignal.c (psignal): Likewise.
37739 * string/strsignal.c (strsignal): Likewise.
37740 * include/signal.h (_sys_siglist): Declare hidden proto.
37741 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
37742 INTVARDEF with libc_hidden_data_def.
37743 * stdio-common/itoa-udigits.c: Likewise.
37744 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
37745 (_itoa_lower_digits_internal): Remove declaration.
37746 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
37747 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
37748 (_sys_sigabbrev_internal): Remove aliases.
37749 (_sys_siglist): Define hidden alias.
37750
507352f1
MT
377512012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
37752
37753 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37754 bits/sysctl.h.
37755
42bbb1c3
L
377562012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37757
37758 [BZ #14117]
6bd784b6
L
37759 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
37760 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
37761
8bca20f0
L
37762 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
37763 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
37764 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
37765 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
37766 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
37767 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
37768
f9e890a9
L
37769 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
37770 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
37771 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
37772
471101a1
L
37773 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
37774 with __addr.
37775 (insw): Likewise.
37776 (insl): Likewise.
37777 (outsb): Likewise.
37778 (outsw): Likewise.
37779 (outsl): Likewise.
37780
6451c862
L
37781 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
37782 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
37783 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
37784
a254b8c9
L
37785 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
37786 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
37787 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
37788 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
37789 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
37790 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
37791
b8dfdd92
L
37792 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
37793 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
37794
578cd270
L
37795 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
37796 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
37797
de662f5f
L
37798 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
37799 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
37800 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
37801
25653439
L
37802 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
37803 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
37804 to ...
37805 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
37806
6bad24a0
L
37807 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
37808 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
37809 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
37810
42bbb1c3
L
37811 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
37812 for x86-64.
37813 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
37814
2d10d547
JM
378152012-05-31 Joseph Myers <joseph@codesourcery.com>
37816
37817 * math/math.h (M_El): Use two more decimal places.
37818 (M_LOG2El): Likewise.
37819 (M_LOG10El): Likewise.
37820 (M_LN2l): Likewise.
37821 (M_LN10l): Likewise.
37822 (M_PIl): Likewise.
37823 (M_PI_2l): Likewise.
37824 (M_PI_4l): Likewise.
37825 (M_1_PIl): Likewise.
37826 (M_2_PIl): Likewise.
37827 (M_2_SQRTPIl): Likewise.
37828 (M_SQRT2l): Likewise.
37829 (M_SQRT1_2l): Likewise.
37830
f230c29b
DM
378312012-05-31 David S. Miller <davem@davemloft.net>
37832
37833 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
37834 values between float registers.
37835 * sysdeps/sparc/sparc64/memset.S: Likewise.
37836 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37837
fed806c3
MF
378382012-05-31 Mike Frysinger <vapier@gentoo.org>
37839
37840 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
37841 -D_FORTIFY_SOURCE=1.
37842 (CPPFLAGS-tst-longjmp_chk.c): Define.
37843 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
37844 (CPPFLAGS-tst-longjmp_chk2.c): Define.
37845 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
37846 CFLAGS-tst-wchar-h.c.
37847
30917259
MP
378482012-05-31 Marek Polacek <polacek@redhat.com>
37849
37850 [BZ #14132]
37851 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
37852 __endmntent_internal): Remove declaration.
37853 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
37854 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
37855 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
37856
1c58d5dc
DM
378572012-05-30 David S. Miller <davem@davemloft.net>
37858
37859 * sysdeps/sparc/sparc32/soft-fp/q_util.c
37860 (___Q_simulate_exceptions): Use real FP ops rather than writing
37861 into the %fsr.
37862 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
37863 Likewise.
37864
7dc00e0d
L
378652012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37866
37867 [BZ #14117]
0bd53985
L
37868 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
37869 * sysdeps/x86/bits/xtitypes.h: This.
37870
3a257e66
L
37871 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
37872 * sysdeps/x86/bits/wordsize.h: This.
37873
62f62904
L
37874 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
37875 * sysdeps/x86/bits/huge_vall.h: This.
37876
404fe9d9
L
37877 * sysdeps/i386/bits/select.h: Removed.
37878 * sysdeps/x86_64/bits/select.h: Renamed to ...
37879 * sysdeps/x86/bits/select.h: This.
37880
d48d0446
L
37881 * sysdeps/i386/bits/setjmp.h: Removed.
37882 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
37883 * sysdeps/x86/bits/setjmp.h: This.
37884
7dc00e0d
L
37885 * sysdeps/i386/bits/mathdef.h: Removed.
37886 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
37887 * sysdeps/x86/bits/mathdef.h: This.
37888
03277f8f
AS
378892012-05-30 Andreas Schwab <schwab@linux-m68k.org>
37890
37891 [BZ #14132]
37892 * include/sys/socket.h (__connect_internal)
37893 (__libc_sa_len_internal): Remove declaration.
37894 (__connect, __libc_sa_len): Declare hidden_proto.
37895 (SA_LEN): Remove use of INTUSE.
37896 * socket/connect.c: Add libc_hidden_def.
37897 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
37898 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
37899 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
37900 alias.
37901 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
37902 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
37903 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
37904 of adding _internal alias.
37905
13764867
L
379062012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37907
37908 [BZ #14117]
6bd97696
L
37909 * sysdeps/i386/bits/link.h: Removed.
37910 * sysdeps/i386/bits/linkmap.h: Likewise.
37911 * sysdeps/x86_64/bits/link.h: Renamed to ...
37912 * sysdeps/x86/bits/link.h: This.
37913 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
37914 * sysdeps/x86/bits/linkmap.h: This.
37915
f726f0bb
L
37916 * sysdeps/i386/bits/endian.h: Removed.
37917 * sysdeps/x86_64/bits/endian.h: Renamed to ...
37918 * sysdeps/x86/bits/endian.h: This.
37919
13764867
L
37920 * sysdeps/i386/bits/byteswap.h: Removed.
37921 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37922 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
37923 * sysdeps/x86/bits/byteswap.h: This.
37924 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
37925 * sysdeps/x86/bits/byteswap-16.h: This.
37926 * sysdeps/i386/Implies: Add x86.
37927 * sysdeps/x86_64/Implies: Likewise.
37928
ae251b0b
DM
379292012-05-30 David S. Miller <davem@davemloft.net>
37930
37931 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
37932 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
37933 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
37934 (FP_TRAPPING_EXCEPTIONS): Define.
37935 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
37936 (FP_TRAPPING_EXCEPTIONS): Define.
37937 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
37938 subnormals only when inexact has been signalled or underflow
37939 exceptions are enabled.
37940 (_FP_PACK_CANONICAL): Likewise.
37941
d5c90867
L
379422012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37943
37944 [BZ #14183]
37945 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
37946 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
37947
63f1549e
RH
379482012-05-30 Richard Henderson <rth@twiddle.net>
37949
8d8f2279
RH
37950 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
37951 with #ifndef NOT_IN_libc.
37952
63f1549e
RH
37953 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
37954 marked to avoid plt entry.
37955
0ab0291b
L
379562012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37957
37958 [BZ #14112]
37959 * Makeconfig (default-abi): New macro.
37960 (abi-includes): Likewise.
37961 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
37962 $(abi-$(default-abi)-lib-soname) for soname if defined.
37963 ($(common-objpfx)gnu/lib-names.stmp): Generate from
37964 abi-variants.
37965 * Makefile (installed-stubs): Likewise.
37966 * include/stubs-biarch.h: Removed.
37967 * scripts/lib-names.awk: Only handle one library at a time.
37968 * scripts/soversions.awk: Remove WORDSIZE support.
37969 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
37970 entries.
37971 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
37972 Removed.
37973 (syscall-list-default-condition): Likewise.
37974 (syscall-list-default-condition): Likewise.
37975 (syscall-list-includes): Likewise.
37976 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
37977 syscall-list-* with abi-*. Handle undefined abi-variants.
37978 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
37979 * sysdeps/unix/sysv/linux/i386/Implies: New file.
37980 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
37981 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
37982 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
37983 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
37984 Removed.
37985 (syscall-list-32-options): Likewise.
37986 (syscall-list-32-condition): Likewise.
37987 (syscall-list-64-options): Likewise.
37988 (syscall-list-64-condition): Likewise.
37989 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
37990 macro.
37991 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
37992 Renamed to ...
37993 (abi-*): This.
37994 (abi-64-ld-soname): New macro.
37995 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
37996 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
37997 Renamed to ...
37998 (abi-*): This.
37999 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
38000 * sysdeps/x86_64/x32/shlib-versions: Likewise.
38001
4da0431d
JM
380022012-05-30 Joseph Myers <joseph@codesourcery.com>
38003
3a85279c
JM
38004 * sysdeps/unix/sysv/linux/kernel-features.h
38005 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
38006 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
38007 include <kernel-features.h>.
38008 [!__NR_ftruncate64]: Remove conditional code.
38009 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38010 [__NR_ftruncate64]: Make code unconditional.
38011 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38012 * sysdeps/unix/sysv/linux/truncate64.c: Do not
38013 include <kernel-features.h>.
38014 [!__NR_ftruncate64]: Remove conditional code.
38015 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38016 [__NR_ftruncate64]: Make code unconditional.
38017 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
38019 include <kernel-features.h>.
38020 [!__NR_ftruncate64]: Remove conditional code.
38021 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38022 [__NR_ftruncate64]: Make code unconditional.
38023 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38025 include <kernel-features.h>.
38026 [!__NR_ftruncate64]: Remove conditional code.
38027 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38028 [__NR_ftruncate64]: Make code unconditional.
38029 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38030
4da0431d
JM
38031 * configure.in (libc_cv_fpie): Weaken to a compile test using
38032 LIBC_TRY_CC_OPTION.
38033 * configure: Regenerated.
38034
11ef492c
AK
380352012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38036
38037 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
38038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
38039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
38040 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38041 Refreshed.
38042 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
38043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
38044 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
38045 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
38046 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
38047 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38048 Refreshed.
38049
d66ef399
DM
380502012-05-27 David S. Miller <davem@davemloft.net>
38051
38052 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
38053 (___Q_zero): New.
38054 (__Q_simulate_exceptions): Return void. Change to simulate
38055 exceptions by writing into the %fsr.
38056 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
38057 (__Qp_handle_exceptions): Likewise.
38058 (numbers): Delete.
38059 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
38060 __Qp_handle_exceptions.
38061 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
38062 __Qp_handle_exceptions.
38063 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38064 as unused and give dummy FP_RND_NEAREST initializer.
38065 (FP_INHIBIT_RESULTS): Define.
38066 (___Q_simulate_exceptions): Update declaration.
38067 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
38068 formatting.
38069 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38070 as unused and give dummy FP_RND_NEAREST initializer.
38071 (__Qp_handle_exceptions): Update declaration.
38072 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
38073 formatting.
38074
04fb54b5
TS
380752012-05-27 Thomas Schwinge <thomas@codesourcery.com>
38076
38077 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
38078 the temporary FPU control word.
38079 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
38080 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
38081 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
38082 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38083 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38084 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
38085 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
38086 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38087 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38088 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
38089 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38090
3f99608f
KK
380912012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38092
38093 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
38094 fields.
38095
65a4de4e
CLT
380962012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
38097
38098 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
38099 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
38100 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
38101 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
38102 Likewise.
38103 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
38104 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
38105 Likewise.
38106
15749d40
UD
381072012-05-27 Ulrich Drepper <drepper@gmail.com>
38108
38109 * po/h.po: Update from translation team.
38110
25dbcb27
AS
381112012-05-26 Andreas Schwab <schwab@linux-m68k.org>
38112
3d3f8e55
AS
38113 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
38114
25dbcb27
AS
38115 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
38116 handling of denormals.
38117 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38118 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38119 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38120 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38121 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38122 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
38123 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
38124 Likewise.
38125
7ad47a80 381262012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
38127
38128 [BZ #14152]
38129 * math/libm-test.inc (fma_test): Don't always expect underflow
38130 exception.
38131
9c6ea9fa
SP
381322012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38133
38134 [BZ #12416]
38135 * elf/tst-execstack.c: Include stackinfo.h.
38136 (do_test): Adjust test case to ensure that pthread_getattr_np
38137 behaviour remains the same after marking stack executable.
38138
a8239222
JM
381392012-05-25 Joseph Myers <joseph@codesourcery.com>
38140
38141 * sysdeps/unix/sysv/linux/kernel-features.h
38142 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
38143 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
38144 kernel-features.h.
38145 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38146 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38147 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
38148 kernel-features.h.
38149 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38150 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38151
918b5606
L
381522012-05-25 H.J. Lu <hongjiu.lu@intel.com>
38153
38154 * configure.in: Define the default includes to being none.
38155 * configure: Regenerated.
38156
3a097cc7
RM
381572012-05-25 Roland McGrath <roland@hack.frob.com>
38158
8422c9a5
RM
38159 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
38160 * sysdeps/x86_64/setjmp.S: Likewise.
38161 * sysdeps/i386/bsd-setjmp.S: Likewise.
38162 * sysdeps/i386/bsd-_setjmp.S: Likewise.
38163 * sysdeps/i386/setjmp.S: Likewise.
38164 * sysdeps/i386/__longjmp.S: Likewise.
38165 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38166 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
38167
3a097cc7
RM
38168 * include/stap-probe.h: New file.
38169 * configure.in: Handle --enable-systemtap.
38170 * configure: Regenerated.
38171 * config.h.in (USE_STAP_PROBE): New #undef.
38172 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
38173 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
38174 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
38175
21708942
JM
381762012-05-25 Joseph Myers <joseph@codesourcery.com>
38177
38178 [BZ #13717]
38179 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38180 to 2.4.0 where earlier.
38181 * sysdeps/unix/sysv/linux/configure: Regenerated.
38182 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
38191 [__ASSUME_32BITUIDS]: Make code unconditional.
38192 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
38193 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
38194 <kernel-features.h>.
38195 [__ASSUME_32BITUIDS]: Make code unconditional.
38196 [!__ASSUME_32BITUIDS]: Remove conditional code.
38197 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
38198 <kernel-features.h>.
38199 [__ASSUME_32BITUIDS]: Make code unconditional.
38200 [!__ASSUME_32BITUIDS]: Remove conditional code.
38201 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
38202 <kernel-features.h>.
38203 [__ASSUME_32BITUIDS]: Make code unconditional.
38204 [!__ASSUME_32BITUIDS]: Remove conditional code.
38205 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
38206 <kernel-features.h>.
38207 [__ASSUME_32BITUIDS]: Make code unconditional.
38208 [!__ASSUME_32BITUIDS]: Remove conditional code.
38209 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38210 <kernel-features.h>.
38211 [__ASSUME_32BITUIDS]: Make code unconditional.
38212 [!__ASSUME_32BITUIDS]: Remove conditional code.
38213 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38214 <kernel-features.h>.
38215 [__ASSUME_32BITUIDS]: Make code unconditional.
38216 [!__ASSUME_32BITUIDS]: Remove conditional code.
38217 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
38218 <kernel-features.h>.
38219 [__ASSUME_32BITUIDS]: Make code unconditional.
38220 [!__ASSUME_32BITUIDS]: Remove conditional code.
38221 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38222 <kernel-features.h>.
38223 [__ASSUME_32BITUIDS]: Make code unconditional.
38224 [!__ASSUME_32BITUIDS]: Remove conditional code.
38225 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38226 <kernel-features.h>.
38227 [__ASSUME_32BITUIDS]: Make code unconditional.
38228 [!__ASSUME_32BITUIDS]: Remove conditional code.
38229 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
38230 <kernel-features.h>.
38231 [__ASSUME_32BITUIDS]: Make code unconditional.
38232 [!__ASSUME_32BITUIDS]: Remove conditional code.
38233 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
38234 <kernel-features.h>.
38235 [__NR_setresgid] (__setresgid): Do not declare.
38236 [__ASSUME_32BITUIDS]: Make code unconditional.
38237 [!__ASSUME_32BITUIDS]: Remove conditional code.
38238 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
38239 <kernel-features.h>.
38240 [__NR_setresuid] (__setresuid): Do not declare.
38241 [__ASSUME_32BITUIDS]: Make code unconditional.
38242 [!__ASSUME_32BITUIDS]: Remove conditional code.
38243 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
38244 <kernel-features.h>.
38245 [__ASSUME_32BITUIDS]: Make code unconditional.
38246 [!__ASSUME_32BITUIDS]: Remove conditional code.
38247 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
38248 <kernel-features.h>.
38249 [__ASSUME_32BITUIDS]: Make code unconditional.
38250 [!__ASSUME_32BITUIDS]: Remove conditional code.
38251 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
38252 <kernel-features.h>.
38253 [__ASSUME_32BITUIDS]: Make code unconditional.
38254 [!__ASSUME_32BITUIDS]: Remove conditional code.
38255 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
38256 <kernel-features.h>.
38257 [__ASSUME_32BITUIDS]: Make code unconditional.
38258 [!__ASSUME_32BITUIDS]: Remove conditional code.
38259 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
38260 <kernel-features.h>.
38261 [__ASSUME_32BITUIDS]: Make code unconditional.
38262 [!__ASSUME_32BITUIDS]: Remove conditional code.
38263 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
38264 <kernel-features.h>.
38265 [__ASSUME_32BITUIDS]: Make code unconditional.
38266 [!__ASSUME_32BITUIDS]: Remove conditional code.
38267 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
38268 <kernel-features.h>.
38269 [__ASSUME_32BITUIDS]: Make code unconditional.
38270 [!__ASSUME_32BITUIDS]: Remove conditional code.
38271 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
38272 <kernel-features.h>.
38273 [__ASSUME_32BITUIDS]: Make code unconditional.
38274 [!__ASSUME_32BITUIDS]: Remove conditional code.
38275 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
38276 <kernel-features.h>.
38277 [__ASSUME_32BITUIDS]: Make code unconditional.
38278 [!__ASSUME_32BITUIDS]: Remove conditional code.
38279 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38280 <kernel-features.h>.
38281 [__ASSUME_32BITUIDS]: Make code unconditional.
38282 [!__ASSUME_32BITUIDS]: Remove conditional code.
38283 * sysdeps/unix/sysv/linux/kernel-features.h
38284 (__ASSUME_SETRESUID_SYSCALL): Remove.
38285 (__ASSUME_SETRESGID_SYSCALL): Likewise.
38286 (__ASSUME_32BITUIDS): Likewise.
38287 (__ASSUME_LDT_WORKS): Likewise.
38288 (__ASSUME_O_DIRECTORY): Likewise.
38289 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
38290 architecture but not kernel version.
38291 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
38292 (__ASSUME_MMAP2_SYSCALL): Likewise.
38293 (__ASSUME_STAT64_SYSCALL): Likewise.
38294 (__ASSUME_IPC64): Likewise.
38295 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
38296 <kernel-features.h>.
38297 [__ASSUME_32BITUIDS]: Make code unconditional.
38298 [!__ASSUME_32BITUIDS]: Remove conditional code.
38299 * sysdeps/unix/sysv/linux/opendir.c: Do not include
38300 <kernel-features.h>.
38301 [__ASSUME_O_DIRECTORY]: Make code unconditional.
38302 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
38303 132096]: Remove conditional code.
38304 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
38305 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38306 <kernel-features.h>.
38307 [__ASSUME_32BITUIDS]: Make code unconditional.
38308 [!__ASSUME_32BITUIDS]: Remove conditional code.
38309 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38310 <kernel-features.h>.
38311 [__ASSUME_32BITUIDS]: Make code unconditional.
38312 [!__ASSUME_32BITUIDS]: Remove conditional code.
38313 * sysdeps/unix/sysv/linux/setegid.c: Do not include
38314 <kernel-features.h>.
38315 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
38316 unconditional.
38317 (__setresgid): Do not declare.
38318 [__ASSUME_32BITUIDS]: Make code unconditional.
38319 [!__ASSUME_32BITUIDS]: Remove conditional code.
38320 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
38321 <kernel-features.h>.
38322 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
38323 unconditional.
38324 (__setresuid): Do not declare.
38325 [__ASSUME_32BITUIDS]: Make code unconditional.
38326 [!__ASSUME_32BITUIDS]: Remove conditional code.
38327 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38328 <kernel-features.h>.
38329 [__ASSUME_32BITUIDS]: Make code unconditional.
38330 [!__ASSUME_32BITUIDS]: Remove conditional code.
38331 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
38332 <kernel-features.h>.
38333 [__ASSUME_32BITUIDS]: Make code unconditional.
38334 [!__ASSUME_32BITUIDS]: Remove conditional code.
38335
a386f1cc
RH
383362012-05-25 Richard Henderson <rth@twiddle.net>
38337
38338 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
38339 dl_hwcap to ifunc resolver.
38340 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
38341 elf_ifunc_invoke.
38342 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
38343 dl_hwcap to ifunc resolver.
38344 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
38345
b6550497
JM
383462012-05-24 Joseph Myers <joseph@codesourcery.com>
38347
38348 [BZ #14153]
38349 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
38350 for |x| <= 2**-26, not 2**-57.
38351 * math/libm-test.inc (acos_test): Do not allow spurious underflow
38352 exception.
38353
b0bc23a1
JL
383542012-05-24 Jeff Law <law@redhat.com>
38355
38356 * stdio-common/Makefile (tests): Add bug25.
38357 * stdio-common/bug25.c: New test.
38358
347c92e9
L
383592012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38360
38361 [BZ #13576]
38362 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
38363 multiple of MALLOC_ALIGNMENT in size.
38364 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
38365
6bcc8b3f
JM
383662012-05-24 Joseph Myers <joseph@codesourcery.com>
38367
38368 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
38369 Require >= 256.
38370 (FILENAME_MAX): Use macro-int-constant.
38371 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
38372 (_IOFBF): Use macro-int-constant.
38373 (_IOLBF): Likewise.
38374 (_IONBF): Likewise.
38375 (SEEK_CUR): Likewise.
38376 (SEEK_END): Likewise.
38377 (SEEK_SET): Likewise.
38378 (TMP_MAX): Likewise.
38379 (EOF): Use macro-int-constant. Require < 0.
38380 (NULL): Use macro-constant. Require == 0.
38381 (stdin): Require type to be FILE *.
38382 (stdout): Likewise.
38383 (stderr): Likewise.
38384 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
38385 macro-int-constant.
38386 (EXIT_SUCCESS): Likewise.
38387 (NULL): Use macro-constant. Require == 0.
38388 (RAND_MAX): Use macro-int-constant.
38389 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
38390 [C99-based standards] (strtof): Require function.
38391 [C99-based standards] (strtold): Likewise.
38392 [C99-based standards] (strtoll): Likewise.
38393 [C99-based standards] (strtoull): Likewise.
38394 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38395 [ISO || ISO99 || ISO11] (limits.h): Likewise.
38396 [ISO || ISO99 || ISO11] (math.h): Likewise.
38397 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
38398 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38399 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38400
d18ea0c5
AS
384012012-05-24 Andreas Schwab <schwab@linux-m68k.org>
38402
38403 [BZ #14132]
56d25bb8
AS
38404 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
38405 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
38406 * intl/dgettext.c (DCGETTEXT): Likewise.
38407 * intl/gettext.c (DCGETTEXT): Likewise.
38408 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
38409 * posix/regex_internal.h (gettext): Likewise.
38410 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
38411 Remove declaration.
38412 * include/argz.h (__argz_count_internal)
38413 (__argz_stringify_internal): Remove declaration.
38414 (__argz_count, __argz_stringify): Declare hidden proto.
38415 * intl/dcgettext.c: Remove use of INTDEF.
38416 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
38417 * string/argz-stringify.c: Likewise.
38418 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38419 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38420 Declare hidden proto.
d18ea0c5
AS
38421 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38422 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38423 Declare hidden proto.
38424 * include/stdio.h (__asprintf_internal): Don't declare.
38425 (__asprintf): Don't define as macro. Declare hidden proto.
38426 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
38427 (__fsetlocking): Declare hidden proto.
38428 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
38429 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
38430 hidden proto.
38431 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
38432 (_IO_setlinebuf): Remove use of INTUSE.
38433 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
38434 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
38435 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
38436 Remove declaration.
38437 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
38438 (_IO_do_flush): Remove use of INTUSE.
38439 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
38440 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
38441 (_IO_adjust_column, _IO_least_wmarker)
38442 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
38443 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
38444 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
38445 (_IO_default_doallocate, _IO_wdefault_doallocate)
38446 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
38447 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
38448 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
38449 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
38450 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
38451 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
38452 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
38453 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
38454 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
38455 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
38456 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
38457 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
38458 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
38459 proto.
38460 (_IO_flush_all_internal, _IO_adjust_column_internal)
38461 (_IO_default_uflow_internal, _IO_default_finish_internal)
38462 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
38463 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
38464 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
38465 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
38466 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
38467 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
38468 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
38469 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
38470 (_IO_file_close_internal, _IO_file_close_it_internal)
38471 (_IO_file_underflow_internal, _IO_file_overflow_internal)
38472 (_IO_file_init_internal, _IO_file_attach_internal)
38473 (_IO_file_fopen_internal, _IO_file_read_internal)
38474 (_IO_file_sync_internal, _IO_file_seek_internal)
38475 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
38476 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
38477 (_IO_str_underflow_internal, _IO_str_overflow_internal)
38478 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
38479 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
38480 (_IO_list_all_internal, _IO_link_in_internal)
38481 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
38482 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
38483 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
38484 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
38485 (_IO_do_write_internal, _IO_padn_internal)
38486 (_IO_getline_info_internal, _IO_getline_internal)
38487 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
38488 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
38489 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
38490 (_IO_vfscanf_internal, _IO_vfprintf_internal)
38491 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
38492 (_IO_init_internal, _IO_un_link_internal): Don't declare.
38493 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
38494 with libc_hidden_ver, remove use of INTUSE.
38495 * libio/genops.c: Likewise.
38496 * libio/freopen.c: Likewise.
38497 * libio/freopen64.c: Likewise.
38498 * libio/iofclose.c: Likewise.
38499 * libio/iofdopen.c: Likewise.
38500 * libio/iofflush.c: Likewise.
38501 * libio/iofflush_u.c: Likewise.
38502 * libio/iofgets.c: Likewise.
38503 * libio/iofgets_u.c: Likewise.
38504 * libio/iofopen.c: Likewise.
38505 * libio/iofopncook.c: Likewise.
38506 * libio/iofread.c: Likewise.
38507 * libio/iofread_u.c: Likewise.
38508 * libio/ioftell.c: Likewise.
38509 * libio/iofwrite.c: Likewise.
38510 * libio/iogetline.c: Likewise.
38511 * libio/iogets.c: Likewise.
38512 * libio/iogetwline.c: Likewise.
38513 * libio/iopadn.c: Likewise.
38514 * libio/iopopen.c: Likewise.
38515 * libio/ioseekoff.c: Likewise.
38516 * libio/ioseekpos.c: Likewise.
38517 * libio/iosetbuffer.c: Likewise.
38518 * libio/iosetvbuf.c: Likewise.
38519 * libio/ioungetc.c: Likewise.
38520 * libio/ioungetwc.c: Likewise.
38521 * libio/iovdprintf.c: Likewise.
38522 * libio/iovsprintf.c: Likewise.
38523 * libio/iovsscanf.c: Likewise.
38524 * libio/memstream.c: Likewise.
38525 * libio/obprintf.c: Likewise.
38526 * libio/oldfileops.c: Likewise.
38527 * libio/oldiofclose.c: Likewise.
38528 * libio/oldiofdopen.c: Likewise.
38529 * libio/oldiofopen.c: Likewise.
38530 * libio/oldiopopen.c: Likewise.
38531 * libio/oldstdfiles.c: Likewise.
38532 * libio/putc.c: Likewise.
38533 * libio/setbuf.c: Likewise.
38534 * libio/setlinebuf.c: Likewise.
38535 * libio/stdfiles.c: Likewise.
38536 * libio/strops.c: Likewise.
38537 * libio/vasprintf.c: Likewise.
38538 * libio/vscanf.c: Likewise.
38539 * libio/vsnprintf.c: Likewise.
38540 * libio/vswprintf.c: Likewise.
38541 * libio/wfiledoalloc.c: Likewise.
38542 * libio/wfileops.c: Likewise.
38543 * libio/wgenops.c: Likewise.
38544 * libio/wmemstream.c: Likewise.
38545 * libio/wstrops.c: Likewise.
38546 * libio/__fpurge.c: Likewise.
38547 * libio/__fsetlocking.c: Likewise.
38548 * assert/assert.c: Likewise.
38549 * debug/fgets_chk.c: Likewise.
38550 * debug/fgets_u_chk.c: Likewise.
38551 * debug/fread_chk.c: Likewise.
38552 * debug/fread_u_chk.c: Likewise.
38553 * debug/gets_chk.c: Likewise.
38554 * debug/obprintf_chk.c: Likewise.
38555 * debug/vasprintf_chk.c: Likewise.
38556 * debug/vdprintf_chk.c: Likewise.
38557 * debug/vsnprintf_chk.c: Likewise.
38558 * debug/vsprintf_chk.c: Likewise.
38559 * malloc/mtrace.c: Likewise.
38560 * misc/error.c: Likewise.
38561 * misc/syslog.c: Likewise.
38562 * stdio-common/asprintf.c: Likewise.
38563 * stdio-common/fxprintf.c: Likewise.
38564 * stdio-common/getw.c: Likewise.
38565 * stdio-common/isoc99_fscanf.c: Likewise.
38566 * stdio-common/isoc99_scanf.c: Likewise.
38567 * stdio-common/isoc99_vfscanf.c: Likewise.
38568 * stdio-common/isoc99_vscanf.c: Likewise.
38569 * stdio-common/isoc99_vsscanf.c: Likewise.
38570 * stdio-common/printf-prs.c: Likewise.
38571 * stdio-common/printf_fp.c: Likewise.
38572 * stdio-common/printf_fphex.c: Likewise.
38573 * stdio-common/printf_size.c: Likewise.
38574 * stdio-common/putw.c: Likewise.
38575 * stdio-common/scanf.c: Likewise.
38576 * stdio-common/sprintf.c: Likewise.
38577 * stdio-common/tmpfile.c: Likewise.
38578 * stdio-common/vfprintf.c: Likewise.
38579 * stdio-common/vfscanf.c: Likewise.
38580 * stdlib/strfmon_l.c: Likewise.
38581 * sunrpc/openchild.c: Likewise.
38582 * sunrpc/xdr_stdio.c: Likewise.
38583 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
38584 * sysdeps/mach/hurd/tmpfile.c: Likewise.
38585
d6c33fda
RM
385862012-05-24 Roland McGrath <roland@hack.frob.com>
38587
c1487492
RM
38588 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38589
38590 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
38591 in the third column, to generate for the shared library an IFUNC
38592 that uses _dl_vdso_vsym.
38593 * Makerules (COMPILE.c, compile-stdin.c): New variables.
38594 * Makeconfig (object-suffixes-noshared): New variable.
38595
38596 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
38597 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
38598 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
38599 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
38600
d6c33fda
RM
38601 [BZ #14132]
38602 * include/sys/time.h (__gettimeofday): Remove macro.
38603 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
38604 * time/gettimeofday.c (__gettimeofday): Remove #undef.
38605 Remove INTDEF.
38606 (__gettimeofday): Add libc_hidden_def.
38607 (gettimeofday): Add libc_hidden_weak.
38608 * sysdeps/mach/gettimeofday.c: Likewise.
38609 * sysdeps/posix/gettimeofday.c: Likewise.
38610 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38611 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
38612 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
38613 (__gettimeofday_internal): Remove strong_alias.
38614 (__gettimeofday): Add libc_hidden_def.
38615 (gettimeofday): Add libc_hidden_weak.
38616 * sysdeps/unix/syscalls.list (gettimeofday):
38617 Remove __gettimeofday_internal alias.
38618
b5a2bbe6
L
386192012-05-24 Daniel Jacobowitz <drow@false.org>
38620 H.J. Lu <hongjiu.lu@intel.com>
38621
38622 [BZ #12495]
38623 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
38624 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
38625 (largebin_index_32_big): New.
38626 (largebin_index): Use it for 16-byte alignment.
38627 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
38628 correction with front_misalign.
38629
cfba4fda
L
386302012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38631
7f907421
L
38632 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
38633 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
38634 Likewise.
38635 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
38636 Likewise.
38637 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38638 Likewise.
38639 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
38640 Likewise.
38641 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
38642 Likewise.
38643 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
38644 Likewise.
38645 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
38646 Likewise.
38647 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38648 Likewise.
38649 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
38650 Likewise.
38651 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
38652 Likewise.
38653 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
38654 Likewise.
38655 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
38656 Likewise.
38657
cfba4fda
L
38658 * scripts/data/c++-types-x32-linux-gnu.data: New file.
38659 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
38660
80bad0cc
JM
386612012-05-24 Joseph Myers <joseph@codesourcery.com>
38662
7a25eb06
JM
38663 [BZ #10846]
38664 [BZ #14036]
38665 * math/libm-test.inc (exp_test): Add test from bug 14036.
38666 (pow_test): Add test from bug 10846.
38667
795405f9
JM
38668 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
38669 and other flags.
38670 (special_function): Do not include flags in test name.
38671 (parse_args): Likewise.
38672 * sysdeps/i386/fpu/libm-test-ulps: Update.
38673 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38674 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38675 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38677
80bad0cc
JM
38678 * math/gen-libm-test.pl (%beautify): Add entries for underflow
38679 exceptions.
38680 * math/libm-test.inc ("Philosophy"): Update comment about
38681 exception testing.
38682 (UNDERFLOW_EXCEPTION): New macro.
38683 (UNDERFLOW_EXCEPTION_OK): Likewise.
38684 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
38685 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
38686 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
38687 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
38688 (INVALID_EXCEPTION_OK): Update value.
38689 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38690 (OVERFLOW_EXCEPTION_OK): Likewise.
38691 (IGNORE_ZERO_INF_SIGN): Likewise.
38692 (test_exceptions): Handle underflow exceptions.
38693 (acos_test): Update for underflow exception expectations.
38694 (cexp_test): Likewise.
38695 (clog_test): Likewise.
38696 (clog10_test): Likewise.
38697 (csqrt_test): Likewise.
38698 (ctan_test): Likewise.
38699 (ctanh_test): Likewise.
38700 (exp_test): Likewise.
38701 (exp10_test): Likewise.
38702 (exp2_test): Likewise.
38703 (expm1_test): Likewise.
38704 (fma_test): Likewise.
38705 (j0_test): Likewise.
38706 (jn_test): Likewise.
38707 (nexttoward_test): Likewise.
38708 (pow_test): Likewise.
38709 (scalbn_test): Likewise.
38710 (scalbln_test): Likewise.
38711 (tan_test): Likewise.
38712 (y1_test): Likewise.
38713 * sysdeps/i386/fpu/libm-test-ulps: Update.
38714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38715
9e0e3d0b
DM
387162012-05-23 David S. Miller <davem@davemloft.net>
38717
38718 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38719 (__libc_sigaction): Remove unused local variables.
38720
ccd0a08f
L
387212012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38722
38723 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
38724
62bdf9a6
PE
387252012-05-23 Paul Eggert <eggert@cs.ucla.edu>
38726
f8591f80
PE
38727 mktime: avoid signed integer overflow
38728 * time/mktime.c (__mktime_internal): Do not mishandle the case
38729 where diff == INT_MIN.
38730
94c7d826
PE
38731 mktime: simplify computation of average
38732 * time/mktime.c (ranged_convert): Use new time_t_avg function
38733 instead of rolling our own (probably-slower) code.
38734
ce73d683
PE
38735 mktime: do not assume signed right shift propagates sign bit
38736 * time/mktime.c (isdst_differ): New static function.
38737 (__mktime_internal): No need to normalize tm_isdst now.
38738 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
38739 tm_isdst values.
38740
72a22e59
PE
38741 mktime: merge another wrapv change from gnulib
38742 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
38743 from some compilers.
38744
68605433
PE
38745 mktime: remove incorrect attempt at unusual arithmetics
38746 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
38747 The code didn't really work on such machines anyway.
38748 (TYPE_MINIMUM): Assume two's complement.
38749 (twos_complement_arithmetic): Verify that long_int and time_t
38750 are two's complement (or unsigned, in the latter case).
38751
03cf7fe3
PE
38752 mktime: check signed shifts on long_int and time_t, too
38753 * time/mktime.c (SHR): Check that shifts work as desired
38754 on the types long_int and time_t too, as SHR is used on
38755 such types.
38756
f04dfbc2
PE
38757 mktime: do not assume 'long' is wide enough
38758 * time/mktime.c (verify): Move decl up.
38759 (long_int): New type.
38760 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
38761 to remove assumption in the code that 'long' is wide enough to
38762 store year values. This assumption is not true on x32 and on
38763 some non-glibc platforms.
38764
62bdf9a6
PE
38765 mktime: merge wrapv change from gnulib
38766 * time/mktime.c (WRAPV): New macro.
38767 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
38768 (guess_time_tm, __mktime_internal): Do not assume that signed
38769 integer overflow wraps around; modern compilers generate code
38770 where this assumption is no longer valid.
38771
5e292e4f
L
387722012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38773
38774 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38775 Replace "jmp L(pseudo_end)" with "ret".
38776 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
38777 Likewise.
38778
8caf8c87
AJ
387792012-05-23 Andreas Jaeger <aj@suse.de>
38780
38781 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
38782 * sysdeps/unix/sysv/linux/poll.c: Remove file.
38783
1a09dc56
AJ
387842012-05-23 Andreas Jaeger <aj@suse.de>
38785 Maximilian Attems <max@stro.at>
38786
38787 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
38788 New macros.
38789
1c87aba0
L
387902012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38791
38792 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
38793 code so that pseudo_end is just ret and the stack pointer is
38794 correct also for static library in error case.
38795
40e45bd5
JM
387962012-05-23 Joseph Myers <joseph@codesourcery.com>
38797
c2670533
JM
38798 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
38799 move to syscalls.list.
38800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38804
40e45bd5
JM
38805 * manual/install.texi (Running make install): Do not mention Linux
38806 kernel version for which pt_chown is not needed.
38807 (Linux): Do not mention problems with nscd with 2.0 kernels.
38808 * INSTALL: Regenerated.
38809
be08eda5
AJ
388102012-05-23 Andreas Jaeger <aj@suse.de>
38811
38812 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
38813 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
38814 macro.
38815 * sysdeps/unix/sysv/linux/s390/bits/mman.h
38816 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38817 * sysdeps/unix/sysv/linux/sh/bits/mman.h
38818 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38819 * sysdeps/unix/sysv/linux/i386/bits/mman.h
38820 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38821 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
38822 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38823 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
38824 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38825 * sysdeps/unix/sysv/linux/bits/in.h
38826 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
38827
a6a056bb
RM
388282012-05-22 Roland McGrath <roland@hack.frob.com>
38829
38830 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
38831 (PREPARE_VERSION): Just use assert instead, it will be elided
38832 under [NDEBUG] anyway.
38833
c9009328
L
388342012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38835
38836 * sysdeps/unix/sysv/linux/Makefile: Include
38837 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 38838 (sysdep_routines): Remove sysctl.
c9009328
L
38839 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
38840 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
38841 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
38842 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
38843 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
38844
73338355
AJ
388452012-05-22 Andreas Jaeger <aj@suse.de>
38846
38847 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
38848 that pseudo_end is just ret and the stack pointer is correct also
38849 for static library in error case.
38850
d44638b0
PP
388512012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
38852
38853 [BZ #14122]
38854 * nss/nsswitch.c (defconfig_entries): New variable.
38855 (__nss_database_lookup): Don't leak defconfig entries.
38856 (nss_parse_service_list): Don't leak on error paths.
38857 (free_database_entries): New function.
38858 (free_defconfig): New function.
38859 (free_mem): Move common code to free_database_entries.
38860
31a39bd8
L
388612012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38862
da0331a8
L
38863 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
38864 Add arch_prctl.
38865 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
38866
31a39bd8
L
38867 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38868 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
38869 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
38870 New macro.
38871 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
38872 (INTERNAL_SYSCALL_TYPES): Likewise.
38873 (LOAD_ARGS_TYPES_[1-6]): Likewise.
38874 (LOAD_REGS_TYPES_[1-6]): Likewise.
38875 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
38876 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
38877
45470df3
AZ
388782012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38879
38880 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
38881 copysignl for GLIBC_2_0.
38882 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
38883 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
38884 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
38885 logbl for GLIBC_2_0.
38886 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
38887 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
38888
98a61bcb
L
388892012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38890
a4f6e481
L
38891 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
38892 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38893
f63d5db6
L
38894 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38895 Use "neg %eax".
38896
98a61bcb
L
38897 * time/mktime.c: Update copyright years.
38898
95770f14
PE
388992012-05-22 Paul Eggert <eggert@cs.ucla.edu>
38900
6226efbd
PE
38901 mktime: merge comment-quoting-style change from gnulib
38902 * time/mktime.c: Quote 'like this' in comments.
38903 The GNU coding standards suggest that we no longer quote `like this',
38904 as "`" and "'" are typically rendered asymmetrically nowadays.
38905 The typical gnulib style is to quote 'like this' when quoting
38906 code, and "like this" when quoting English.
38907
b99e4f78
PE
38908 * time/mktime.c (compile-command): Add "-I.".
38909
643e01e6
PE
38910 mktime: merge mktime-internal.h change from gnulib
38911 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
38912
2554247d
PE
38913 mktime: merge time_r change from gnulib
38914 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
38915
826dd0ab
PE
38916 mktime: merge DEBUG change from gnulib
38917 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
38918 case system <time.h> has a #define.
38919
bd83aabe
PE
38920 mktime: merge <sys/types.h> change from gnulib
38921 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
38922 since <time.t> is now guaranteed to define time_t.
38923
95770f14
PE
38924 mktime: merge HAVE_CONFIG_H change from gnulib
38925 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
38926
5e1a27a9
L
389272012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38928
0e44a77e
L
38929 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38930 Use "neg %eax".
38931
5e1a27a9
L
38932 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
38933 __rlim_t cast.
38934 (struct rusage): Use anonymous union to pad each field to
38935 __syscall_slong_t.
38936
46259bec
DM
389372012-05-21 David S. Miller <davem@davemloft.net>
38938
38939 * Makefules (o-iterator): Remove .s cases.
38940 (compile-command.s): Delete.
38941 (COMPILE.s): Delete.
38942 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
38943
59f0c22e
JM
389442012-05-21 Joseph Myers <joseph@codesourcery.com>
38945
38946 * configure.in (libc_cv_predef_stack_protector): Only consider
38947 "foobar" and "__stack_chk_fail" lines in libc_undefs.
38948 * configure: Regenerated.
38949
20c07380
L
389502012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38951
bbb3154b
L
38952 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38953 New macro. Use R*LP on int and pointer.
38954 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
38955 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
38956 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
38957 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
38958
20c07380
L
38959 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
38960 [__WORDSIZE_TIME64_COMPAT32] instead of
38961 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
38962 (struct utmp): Likewise.
38963 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
38964 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
38965 Renamed to ...
38966 (__WORDSIZE_TIME64_COMPAT32): This.
38967 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
38968 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
38969 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
38970 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
38971 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
38972 (__WORDSIZE_TIME64_COMPAT32): New macro.
38973
d8d1017e
AJ
389742012-05-21 Andreas Jaeger <aj@suse.de>
38975
38976 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
38977 only if [SHARED]. Add prototype for __wcschr_ia32.
38978
6c7fb145
RM
389792012-05-21 Roland McGrath <roland@hack.frob.com>
38980
38981 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
38982 of %rbp unmolested in the jmp_buf while mangling the low bits.
38983 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
38984 unmolested high bits of %rbp while demangling the low bits.
38985 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38986
66274218
AJ
389872012-05-21 Andreas Jaeger <aj@suse.de>
38988
07c58f8f
AJ
38989 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
38990 * sunrpc/svc_simple.c: Use it for registerrpc.
38991 * sunrpc/xcrypt.c: Use it for passwd2des.
38992
66274218
AJ
38993 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
38994
61f65140
L
389952012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38996
38997 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
38998 Don't define if [__SYSCALL_WORDSIZE != 32].
38999 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
39000 New macro.
39001
5fefb436
AJ
390022012-05-21 Bruno Haible <bruno@clisp.org>
39003 Andreas Jaeger <aj@suse.de>
39004
39005 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
39006 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
39007 inptr and inend for must_buffer_ch.
39008 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
39009 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
39010 * stdio-common/Makefile (tests): Remove bug15.
39011 (bug15-ENV): Remove macro.
39012 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
39013 anymore.
39014
d8e272ab
AJ
390152012-05-19 Andreas Jaeger <aj@suse.de>
39016 Roland McGrath <roland@hack.frob.com>
39017
39018 * manual/contrib.texi: Completely rewritten. It contains now an
39019 alphabetical list of contributors and their contributions.
39020
4a56a162
RH
390212012-05-21 Richard Henderson <rth@twiddle.net>
39022
39023 * misc/getauxval.c (__getauxval): Use unsigned long int.
39024 * misc/sys/auxv.h: Include <sys/cdefs.h>.
39025 (getauxval): Use unsigned long int.
39026
d024d23c
L
390272012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39028
39029 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39030
cbc00a03
RM
390312012-05-21 Roland McGrath <roland@hack.frob.com>
39032
39033 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
39034 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
39035 __alignof__ (long double).
39036
478143fa
AZ
390372012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39038
39039 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39040
c7683a6d
RH
390412012-05-20 Richard Henderson <rth@twiddle.net>
39042
39043 * misc/getauxval.c: New file.
39044 * misc/sys/auxv.h: New file.
39045 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
39046 (routines): Add getauxval.
39047 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
39048 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
39049 * elf/dl-sysdep.c (_dl_auxv): Remove.
39050 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
39051 * elf/dl-support.c (_dl_auxv): New variable.
39052 (_dl_aux_init): Initialize it.
39053 * manual/startup.texi (Auxiliary Vector): New node.
39054 * sysdeps/generic/bits/hwcap.h: New file.
39055 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
39056 * sysdeps/powerpc/sysdep.h: ... here. Include it.
39057 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
39058 * sysdeps/sparc/sysdep.h: ... here. Include it.
39059 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
39060 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
39061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39062 Update.
c7683a6d
RH
39063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
39064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
39065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
39066 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
39067 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39068 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
39070 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
39071
a6f1845d
AZ
390722012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39073
39074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39075
cbcbe830
DM
390762012-05-19 David S. Miller <davem@davemloft.net>
39077
39078 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39079
e0b16cc2
JM
390802012-05-19 Joseph Myers <joseph@codesourcery.com>
39081
39082 [BZ #14123]
39083 * math/s_ccosh.c: Include <float.h>
39084 (__ccosh): Avoid internal overflow calculating sinh and cosh
39085 values before multiplying by sin and cos values.
39086 * math/s_ccoshf.c: Likewise.
39087 * math/s_ccoshl.c: Likewise.
39088 * math/s_csin.c: Likewise.
39089 * math/s_csinf.c: Likewise.
39090 * math/s_csinl.c: Likewise.
39091 * math/s_csinh.c: Likewise.
39092 * math/s_csinhf.c: Likewise.
39093 * math/s_csinhl.c: Likewise.
39094 * math/libm-test.inc (ccos_test): Add more tests.
39095 (ccosh_test): Likewise.
39096 (csin_test): Likewise.
39097 (csinh_test): Likewise.
39098 * sysdeps/i386/fpu/libm-test-ulps: Update.
39099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39100
6ad13e08
L
391012012-05-19 H.J. Lu <hongjiu.lu@intel.com>
39102
f66f0ce8
L
39103 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
39104 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
39105
6ad13e08
L
39106 * sysdeps/x86_64/x32/_itoa.h: Add comment.
39107
b1d072a7
JM
391082012-05-19 Joseph Myers <joseph@codesourcery.com>
39109
39110 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
39111 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
39112 * sysdeps/powerpc/soft-fp/Versions: Likewise.
39113 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
39114 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
39115 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
39116 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
39117 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
39118 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
39119 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
39120 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
39121 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
39122 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
39123 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
39124 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
39125 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
39126 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
39127 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
39128 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
39129 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
39130 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
39131 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
39132 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
39133 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
39134 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
39135 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
39136 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
39137 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
39138 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
39139 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
39140 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
39141
9eae47cb
AJ
391422012-05-18 Andreas Jaeger <aj@suse.de>
39143
39144 * csu/.gitignore: Delete.
39145
bb07f69f
L
391462012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39147
39148 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
39149 (timex): Use __syscall_slong_t.
39150
e6bdb741
AJ
391512012-05-18 Andreas Jaeger <aj@suse.de>
39152 Carlos O'Donell <carlos_odonell@mentor.com>
39153
39154 * manual/install.texi (Configuring and compiling): Update
39155 description about files modified in the source directory.
d6c33fda 39156 * INSTALL: Regenerated.
e6bdb741 39157
1b74487e
L
391582012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39159
39160 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
39161 value. Use "or" to set return value to -1.
39162 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
39163 negate return value.
39164
a88b64b9
TMQMF
391652012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39166
57f41c40
AS
39167 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
39168 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
39169 failure if the compiler has Graphite support disabled.
39170 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
39171 Likewise.
57f41c40
AS
39172 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
39173 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
39174 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
39175 Likewise.
39176
3707636e
L
391772012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39178
610b8622
L
39179 * sysdeps/x86_64/x32/_itoa.h: New file.
39180
7cd195df
L
39181 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
39182 getdents system call only if kernel and user dirents have the
39183 same d_ino and d_off.
39184
94b07d20
L
39185 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39186 LLONG_MAX != LONG_MAX.
39187 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39188 (_fitoa_word): Likewise.
39189
18298070
L
39190 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
39191 years.
39192 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
39193 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
39194 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
39195
553c7ea4
L
39196 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
39197 include <bits/wordsize.h>. Check __x86_64__ instead of
39198 __WORDSIZE.
39199 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
39200 if __x86_64__ is defined. Use anonymous union on fpstate.
39201
3707636e
L
39202 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
39203 anonymous union.
39204
b53ef01a
AS
392052012-05-18 Andreas Schwab <schwab@linux-m68k.org>
39206
37fb1dc0
AS
39207 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
39208 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
39209 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
39210 Refer to _rtld_local_ro instead of _rtld_global_ro.
39211 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
39212 Likewise.
39213 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
39214 Likewise.
39215 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
39216 Likewise.
39217 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
39218 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
39219 of _rtld_global, and rtld_progname instead of _dl_argv[0].
39220
b53ef01a
AS
39221 * sysdeps/powerpc/powerpc32/dl-machine.c
39222 (__elf_machine_runtime_setup) [PROF]: Don't reference
39223 _dl_prof_resolve.
39224
7a185db2
AJ
392252012-05-18 Andreas Jaeger <aj@suse.de>
39226
39227 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
39228 function only available for GCCs before 3.4 since GCC 3.4
39229 introduced a builtin.
39230 (lrint): Likewise.
39231 (llrintf): Likewise.
39232 (llrint): Likewise.
39233 (fmaxf): Likewise.
39234 (fmax): Likewise.
39235 (fminf): Likewise.
39236 (fmin): Likewise.
39237 (rint): Likewise.
39238 (rintf): Likewise.
39239 (nearbyint): Likewise.
39240 (nearbyintf): Likewise.
39241 (ceil): Likewise.
39242 (ceilf): Likewise.
39243 (floor): Likewise.
39244 (floorf): Likewise.
39245
3e5aef87
L
392462012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39247
428bd707
L
39248 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
39249 on both fields and cast pointer to __syscall_ulong_t.
39250
3e5aef87
L
39251 * bits/types.h (__fsword_t): New type.
39252 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
39253 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
39254 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39255 (__FSWORD_T_TYPE): Likewise.
39256 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39257 (__FSWORD_T_TYPE): Likewise.
39258 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39259 (__FSWORD_T_TYPE): Likewise.
39260 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
39261 (__FSWORD_T_TYPE): Likewise.
39262 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
39263 __SWORD_TYPE with __fsword_t.
39264 (statfs64): Likewise.
39265
1ba7c3dc
DM
392662012-05-17 David S. Miller <davem@davemloft.net>
39267
39268 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
39269
59910343
AJ
392702012-05-17 Andreas Jaeger <aj@suse.de>
39271
39272 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
39273 warning.
39274
2e4c1e9e
L
392752012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39276
39277 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
39278
de7f5ce7
AJ
392792012-05-17 Andreas Jaeger <aj@suse.de>
39280
39281 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
39282 when it is used.
39283
286abc3d
CM
392842012-05-17 Chris Metcalf <cmetcalf@tilera.com>
39285
39286 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
39287
477cc68e
L
392882012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39289
39290 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
39291 * sysdeps/x86_64/tst-mallocalign1.c: New file.
39292
1a0994f5
CD
392932012-05-17 Andreas Jaeger <aj@suse.de>
39294 Carlos O'Donell <carlos_odonell@mentor.com>
39295
39296 [BZ #14059]
39297 * sysdeps/x86_64/multiarch/init-arch.h
39298 (bit_YMM_Usable): Rename to...
39299 (bit_AVX_Usable): ... this.
39300 (bit_FMA4_Usable): New macro.
39301 (bit_XMM_state): New macro.
39302 (bit_YMM_state): New macro.
39303 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
39304 [__ASSEMBLER__] (index_AVX_Usable): ... this.
39305 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
39306 (CPUID_OSXSAVE): New macro.
39307 (CPUID_AVX): New macro.
39308 (CPUID_FMA4): New macro.
39309 (index_YMM_Usable): Rename to...
39310 (index_AVX_Usable): ... this.
39311 (HAS_AVX): Use HAS_ARCH_FEATURE.
39312 (HAS_FMA4): Likewise.
39313 (HAS_YMM_USABLE): Remove.
39314 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39315 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
39316 are present.
39317 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
39318 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
39319 * sysdeps/x86_64/multiarch/Makefile: Likewise.
39320 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
39321 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
39322
0af797de
CM
393232012-05-17 Chris Metcalf <cmetcalf@tilera.com>
39324
39325 * math/libm-test.c: Support platforms without multiple rounding modes.
39326 * math/bug-nextafter.c: Support platforms without FP exceptions.
39327 * math/bug-nexttoward.c: Likewise.
39328 * math/test-fenv.c: Likewise.
39329 * math/test-misc.c: Likewise.
39330 * stdlib/bug-getcontext.c: Likewise.
39331
e39745ff
AJ
393322012-05-17 Andreas Jaeger <aj@suse.de>
39333
39334 * manual/examples/search.c (critter_cmp): Change signature to
39335 avoid warnings.
39336 * manual/string.texi (Collation Functions): Likewise.
39337
48970aba
L
393382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39339
39340 * bits/types.h: Fold copyright years.
39341 * bits/typesizes.h: Likewise.
39342 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
39343 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39344 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
39345 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
39346 * time/time.h: Likewise.
39347
bedee953
PP
393482012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
39349
39350 [BZ #208]
39351 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
39352 in instead of returning them. Return void.
39353 (__libc_mallinfo): Accumulate over all arenas.
39354 (__malloc_stats): Adjust for change in int_mallinfo interface.
39355
61653dfb
RM
393562012-05-16 Roland McGrath <roland@hack.frob.com>
39357
30b99d79
RM
39358 [BZ #10375]
39359 * configure.in (NM): Add AC_CHECK_TOOL for it.
39360 (libc_extra_cflags): New substituted variable.
39361 Check for -fstack-protector being used implicitly.
39362 * configure: Regenerated.
39363 * config.make.in (config-extra-cflags): New variable,
39364 gets @libc_extra_cflags@.
39365 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
39366
61653dfb
RM
39367 [BZ #10375]
39368 * configure.in: Check for _FORTIFY_SOURCE being predefined.
39369 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
39370 * configure: Regenerated.
39371 * config.make.in (CPPUNDEFS): New substituted variable.
39372 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
39373 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
39374 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
39375
661768bb
L
393762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39377
39378 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
39379 (mq_attr): Use __syscall_slong_t.
39380
d4261567
L
393812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39382
39383 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
39384 Check __x86_64__ instead of __WORDSIZE.
39385 (_STAT_VER_LINUX): Likewise.
39386 (stat): Check __x86_64__ instead of __WORDSIZE. Use
39387 __syscall_ulong_t and __syscall_slong_t.
39388 (stat64): Likewise.
39389
cf3ff365
L
393902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39391
39392 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
39393
76cf3e4d
L
393942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39395
39396 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
39397
a637753a
L
393982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39399
39400 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
39401 __syscall_ulong_t.
39402
d5e05119
L
39403 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
39404 include <bits/wordsize.h>. Check __x86_64__ instead of
39405 __WORDSIZE.
39406 (greg_t): Use "__extension__ long long int" if __x86_64__ is
39407 defined.
39408 (mcontext_t): Replace "unsigned long" with "unsigned long long".
39409
f62ee380
L
39410 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
39411 include <bits/wordsize.h>. Check __x86_64__ instead of
39412 __WORDSIZE.
39413 (user_regs_struct): Use "__extension__ unsigned long long"
39414 instead of "unsigned long" if __x86_64__ is defined.
39415 (user): Likewise. Pad after pointer field if __ILP32__ is
39416 defined.
39417
4e124ced
JM
394182012-05-16 Joseph Myers <joseph@codesourcery.com>
39419
6a3951a0
JM
39420 * configure.in (makeinfo): Require version 4.5 or later. Allow
39421 versions 5 to 9.
39422 * configure: Regenerated.
39423 * manual/install.texi (texinfo): Increase version requirement to
39424 4.5 or later.
39425 * INSTALL: Regenerated.
39426
4e124ced
JM
39427 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
39428
953ca31a
L
394292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39430
39431 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
39432
617aca05
L
39433 * sysdeps/x86_64/x32/ffs.c: New file.
39434
5762f7ae
L
39435 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
39436 __syscall_ulong_t.
39437 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
39438 defined. Use __syscall_ulong_t.
39439 (shminfo): Use __syscall_ulong_t.
39440 (shm_info): Likewise.
39441
a26b6856
L
39442 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
39443 __syscall_ulong_t.
39444
cb2b9ef7
L
39445 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
39446 <bits/wordsize.h>.
39447 (msgqnum_t): Use __syscall_ulong_t.
39448 (msglen_t): Likewise.
39449 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
39450 __syscall_ulong_t.
39451
34683bb0
L
39452 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
39453 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39454
84a68786
L
39455 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
39456
48baa5f1
L
39457 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
39458 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
39459
180be88b
L
39460 * sysvipc/sys/msg.h (msgbuf): Replace long int with
39461 __syscall_slong_t.
39462
5e90c8ad
L
39463 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
39464 include <bits/wordsize.h>. Check __x86_64__ instead of
39465 __WORDSIZE.
39466
23dfb58b
L
39467 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
39468 "unsigned long long int" if __x86_64__ is defined.
39469 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
39470
ce5d54b0
L
39471 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
39472 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39473 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
39474
13dc9eac
L
39475 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
39476 <stdint.h>.
39477 (GET_PC): Cast to uintptr_t first.
39478 (GET_FRAME): Likewise.
39479 (GET_STACK): Likewise.
39480
a7895d15
L
39481 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
39482 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
39483 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
39484 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
39485 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
39486 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
39487 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
39488 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
39489 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
39490 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
39491 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
39492 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
39493 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39494 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
39495 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
39496 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
39497 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
39498 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
39499 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
39500 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
39501 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
39502 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
39503 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
39504 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
39505 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
39506 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
39507 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
39508 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
39509 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
39510
656416c9
AS
395112012-05-16 Andreas Schwab <schwab@linux-m68k.org>
39512
5bd66283
AS
39513 * Makerules (+depfiles): Also collect depfiles from .oS in
39514 $(extra-objs).
39515 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
39516 .oS, $(libnldbl-routines)).
39517
656416c9
AS
39518 * Makerules (native-compile-mkdep-flags): Define.
39519 * sunrpc/Makefile (extra-objs): Add $(addprefix
39520 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
39521 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
39522 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
39523 calling $(make-target-directory).
39524
a46f2169
L
395252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39526
39527 * bits/types.h (__snseconds_t): Removed.
39528 * time/time.h (struct timespec): Replace __snseconds_t with
39529 __syscall_slong_t.
39530 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
39531 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
39532 Likewise.
39533 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39534 (__SNSECONDS_T_TYPE): Likewise.
39535 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39536 (__SNSECONDS_T_TYPE): Likewise.
39537 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39538 (__SNSECONDS_T_TYPE): Likewise.
39539
6af6528b
L
395402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39541
39542 * sysdeps/mach/hurd/bits/typesizes.h
39543 (__SYSCALL_SLONG_TYPE): New macro.
39544 (__SYSCALL_ULONG_TYPE): Likewise.
39545
de986b56
L
395462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39547
39548 * bits/types.h (__syscall_slong_t): New type.
39549 (__syscall_ulong_t): Likewise.
39550
39551 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
39552 (__SYSCALL_ULONG_TYPE): Likewise.
39553 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39554 (__SYSCALL_SLONG_TYPE): Likewise.
39555 (__SYSCALL_ULONG_TYPE): Likewise.
39556 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39557 (__SYSCALL_SLONG_TYPE): Likewise.
39558 (__SYSCALL_ULONG_TYPE): Likewise.
39559 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39560 (__SYSCALL_SLONG_TYPE): Likewise.
39561 (__SYSCALL_ULONG_TYPE): Likewise.
39562
85736dc7
L
395632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39564
39565 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
39566 Add sigaltstack-offsets.sym.
39567 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
39568 <sigaltstack-offsets.h>.
39569 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
39570 longjmp_msg pointer.
39571 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
39572 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
39573 signal stack.
39574 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
39575
cc03b296
JM
395762012-05-15 Joseph Myers <joseph@codesourcery.com>
39577
a9538892
JM
39578 * elf/stackguard-macros.h: Remove file.
39579 * sysdeps/generic/stackguard-macros.h: New file.
39580 * sysdeps/i386/stackguard-macros.h: Likewise.
39581 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39582 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39583 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39584 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39585 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39586 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39587 * sysdeps/x86_64/stackguard-macros.h: Likewise.
39588 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
39589 <elf/stackguard-macros.h>.
39590
cc03b296
JM
39591 [BZ #14109]
39592 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
39593 __aligned__ in attribute.
39594 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
39595 (gregset_t): Likewise.
39596
93171016
L
395972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39598
39599 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
39600 * sysdeps/x86_64/64/Implies-after: Here. New file.
39601 * sysdeps/x86_64/x32/Implies-after: New file.
39602
d86813a0
L
396032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39604
39605 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
39606 and access return value for _dl_profile_fixup. Use R10_LP to
39607 load frame size.
39608
2953ec75
L
396092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39610
39611 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
39612
3b550e9e
L
396132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39614
39615 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
39616 * sysdeps/x86_64/x32/sysdep.h: New file.
39617
eda41706
L
396182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39619
39620 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
39621 * sysdeps/x86_64/setjmp.S: Likewise.
39622
9ea01d93
AZ
396232012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39624
39625 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
39626 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
39627 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
39628 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
39629 remove unused global constant.
39630
02a91938
CM
396312012-05-15 Chris Metcalf <cmetcalf@tilera.com>
39632
39633 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
39634 include of <not-cancel.h>.
39635
6540185f
RM
396362012-05-15 Roland McGrath <roland@hack.frob.com>
39637
39638 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
39639
509072a0
AJ
396402012-05-15 Jeff Law <law@redhat.com>
39641 Andreas Jaeger <aj@suse.de>
39642
39643 [BZ #13594]
39644 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
39645 out from...
39646 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
39647 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
39648 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
39649 code changing __hst_map_handle.map.
39650
ba75122d
RM
396512012-05-15 Roland McGrath <roland@hack.frob.com>
39652
39653 * configure.in (sysnames): Look for Implies-before and Implies-after
39654 files.
39655 * configure: Regenerated.
39656
890d8bd8
L
396572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39658
39659 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
39660 8-byte data alignment with LP_SIZE alignment.
39661
f6ee6623
L
396622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39663
39664 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
39665 into R10_LP.
39666
ea2626f6
L
396672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39668
39669 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
39670
085f715e
L
396712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39672
39673 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
39674 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
39675 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
39676 Likewise.
39677 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39678
be8498fc
L
396792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39680
39681 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
39682 (stackinfo_sub_sp): Likewise.
39683
70bc83b9
L
396842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39685
39686 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
39687 RAX_LP.
39688
9bc0b730
L
396892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39690
39691 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
39692 into R*_LP.
39693
6d2850e7
L
396942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39695
39696 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
39697 sizes into R*_LP.
39698
3cb84561
L
396992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39700
39701 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
39702
54e2ed81
L
397032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39704
39705 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
39706 into R11_LP and load __x86_64_shared_cache_size_half into
39707 R8_LP.
39708
8a17f349
L
397092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39710
39711 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
39712 R8_LP.
39713
777b1eea
AZ
397142012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39715
39716 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
39717 logb for POWER7.
39718 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
39719 logbf for POWER7.
39720 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
39721 logbl for POWER7.
39722 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
39723 powerpc32/power7/fpu/s_logb.c via #include.
39724 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
39725 powerpc32/power7/fpu/s_logbf.c via #include.
39726 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
39727 powerpc32/power7/fpu/s_logbl.c via #include.
39728
d20d4ac2
JM
397292012-05-15 Joseph Myers <joseph@codesourcery.com>
39730
39731 * README.libm: Remove file.
39732
6cdef1ab
L
397332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39734
39735 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
39736 count for x32. Use R*_LP and omit operand-size suffix.
39737
0b254d8f
L
397382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39739
39740 * shlib-versions: Move x86_64-.*-linux.* entries to ...
39741 * sysdeps/x86_64/64/shlib-versions: Here. New file.
39742 * sysdeps/x86_64/x32/shlib-versions: New file.
39743
ceb809dc
RM
397442012-05-14 Roland McGrath <roland@hack.frob.com>
39745
39746 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
39747 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
39748 Use _dl_fatal_printf instead.
39749
37f1abd4
JM
397502012-05-14 Joseph Myers <joseph@codesourcery.com>
39751
39752 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
39753 set if not set by the user. Do not allow for being unset.
39754 * sysdeps/unix/sysv/linux/configure: Regenerated.
39755
11de3a33
L
397562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39757
39758 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
39759 the `q' suffix from lea and replace .quad with ASM_ADDR.
39760
e02f153a
L
397612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39762
39763 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
39764 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
39765 instead of $17.
39766 (PTR_DEMANGLE): Likewise.
39767
520ae0fd
L
397682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39769
39770 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
39771 (LP_OP): Likewise.
39772 (ASM_ADDR): Likewise.
39773 (RAX_LP): Likewise.
39774 (RBP_LP): Likewise.
39775 (RBX_LP): Likewise.
39776 (RCX_LP): Likewise.
39777 (RDI_LP): Likewise.
39778 (RSI_LP): Likewise.
39779 (RSP_LP): Likewise.
39780 (R8_LP): Likewise.
39781 (R9_LP): Likewise.
39782 (R10_LP): Likewise.
39783 (R10_LP): Likewise.
39784 (R11_LP): Likewise.
39785 (R12_LP): Likewise.
39786 (R13_LP): Likewise.
39787 (R14_LP): Likewise.
39788 (R15_LP): Likewise.
39789
b985be81
L
397902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39791
39792 * sysdeps/x86_64/x32/dl-machine.h: New file.
39793
6a4888ff
AJ
397942012-05-14 Andreas Jaeger <aj@suse.de>
39795
39796 * manual/Makefile (subdir): Remove export of subdir.
39797 (all): Remove target.
39798 (.PHONY): Remove all from list.
39799 (mkinstalldirs): Remove.
39800 (.PHONY): Remove installdirs from list.
39801 ($(inst_infodir)/libc.info): Use make-target-directory.
39802 (installdirs): Remove.
39803 (subdir_%): Remove.
39804 (glibc-targets): Remove.
39805 (lib): Remove.
39806 (stubs): Remove.
39807 ($(objpfx)stubs ../po/manual.pot): Remove.
39808 ($(objpfx)stamp%): Remove.
39809 (make-target-directory): Remove.
39810 (subdir_install): Remove.
39811 (routines): Remove.
39812 (aux): Remove.
39813 (sources): Remove.
39814 (objects): Remove.
39815 (headers): Remove.
39816
39817 [BZ #13750]
39818 * manual/.gitignore: Remove, it's not needed anymore.
39819 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
39820 all files in it.
39821 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
39822 directory.
39823 (texis): Renamed to $(objpfx)texis.
39824 (texis-path): New, contains path to generated files.
39825 (chapters.%): Use texis-path for complete path, add extra argument
39826 libc-texinfo.sh.
39827 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
39828 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
39829 (summary,texi, stamp-summary): Use complete path of
39830 files. Generate files in build dir.
39831 (dir-add.texi): Build in build dir.
39832 (libm-err.texi,stamp-libm-err): Likewise.
39833 (version.texi, stamp-version): Likewise.
39834 (.%c.texi): Likewise.
39835 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
39836 (mostlyclean): Remove target.
39837 (realclean): Remove target.
39838 (generated): Add new variable with contents from mostlyclean and
39839 realclean, remove entries duplicated in common-mostlyclean, add
39840 stamp-libm-err and stamp-version.
39841 (generated-dirs): Add libc directory.
39842 ($(inst_infodir)/libc.info): Install files from build dir.
39843
39844 * manual/install.texi (Configuring and compiling): Adjust since
39845 the info files are not part of the tar ball anymore.
39846
7ac77294
AJ
398472012-05-14 Andreas Jaeger <aj@suse.de>
39848
39849 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
39850 variable.
39851
ffb7875d
JM
398522012-05-14 Joseph Myers <joseph@codesourcery.com>
39853
39854 [BZ #13717]
39855 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39856 to 2.2.0 where earlier.
39857 * sysdeps/unix/sysv/linux/configure: Regenerated.
39858 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
39859 Remove conditional code.
39860 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
39861 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
39862 Remove conditional code.
39863 [!__NR_lchown]: Likewise.
39864 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39865 [__NR_lchown]: Likewise.
39866 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
39867 comment referencing __ASSUME_LCHOWN_SYSCALL.
39868 * sysdeps/unix/sysv/linux/i386/sigaction.c
39869 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39870 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39871 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
39872 Remove conditional code.
39873 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
39874 (__protocol_available): Remove #if 0 code.
39875 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
39876 conditional code.
39877 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
39878 * sysdeps/unix/sysv/linux/kernel-features.h
39879 (__ASSUME_GETCWD_SYSCALL): Don't define.
39880 (__ASSUME_REALTIME_SIGNALS): Likewise.
39881 (__ASSUME_PREAD_SYSCALL): Likewise.
39882 (__ASSUME_PWRITE_SYSCALL): Likewise.
39883 (__ASSUME_POLL_SYSCALL): Likewise.
39884 (__ASSUME_LCHOWN_SYSCALL): Likewise.
39885 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
39886 non-SPARC.
39887 (__ASSUME_SIOCGIFNAME): Don't define.
39888 (__ASSUME_MSG_NOSIGNAL): Likewise.
39889 (__ASSUME_SENDFILE): Define unconditionally.
39890 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
39891 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
39892 conditional code.
39893 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
39894 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
39895 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39896 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39897 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
39898 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39899 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
39901 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39902 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
39904 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39905 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
39907 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39908 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
39910 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39911 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
39913 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39914 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
39916 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39917 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
39919 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39920 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
39922 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39923 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39924 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
39925 Remove conditional code.
39926 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39927 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39928 Remove conditional code.
39929 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39930 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
39931 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
39932 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39933 Remove conditional code.
39934 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39935 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
39936 Remove conditional code.
39937 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39938 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
39939 Remove conditional code.
39940 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39941 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39942 Remove conditional code.
39943 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39944 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39945 Remove conditional code.
39946 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39947 * sysdeps/unix/sysv/linux/sh/pwrite64.c
39948 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39949 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39950 * sysdeps/unix/sysv/linux/sigaction.c
39951 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39952 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39953 * sysdeps/unix/sysv/linux/sigpending.c
39954 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39955 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39956 * sysdeps/unix/sysv/linux/sigprocmask.c
39957 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39958 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39959 * sysdeps/unix/sysv/linux/sigsuspend.c
39960 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39961 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39962 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39963 (__libc_missing_rt_sigs): Remove.
39964 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
39965 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
39966 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
39967 Remove conditional code.
39968 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
39969 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
39970 return 1.
39971 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
39972 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
39973 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
39974 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
39975
1bfb7291
AJ
399762012-05-14 Andreas Jaeger <aj@suse.de>
39977
caae5a81
AJ
39978 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
39979 it's not used in glibc.
39980 (__coshm1): Likewise.
39981 (__acosh1p): Likewise.
39982 (__sgn): Likewise.
39983
1bfb7291
AJ
39984 * manual/string.texi (Copying and Concatenation): Add missing
39985 variable in concat example.
39986 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
39987
c044d724
L
399882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39989
144c5467 39990 [BZ #14103]
c044d724
L
39991 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
39992 __builtin_clzl with __builtin_clzll.
39993
2523c62b
L
399942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39995
39996 [BZ #14104]
39997 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
39998 libc_freeres_ptr.
39999
d7bb4c42
LD
400002012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40001
40002 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
40003 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
40004 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
40005 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
40006
9dc4e1fb
MF
400072012-05-14 Mike Frysinger <vapier@gentoo.org>
40008
40009 * NEWS: Update ia64 info.
40010
c7df0112
AS
400112012-05-12 Andreas Schwab <schwab@linux-m68k.org>
40012
40013 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
40014 used as bcopy.
40015
dc70356c
TS
400162012-05-12 Thomas Schwinge <thomas@codesourcery.com>
40017
40018 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
40019 * sysdeps/unix/syscalls.list (dup3): Likewise.
40020 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
40021 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
40022
9fb1a21f
L
400232012-05-11 H.J. Lu <hongjiu.lu@intel.com>
40024
40025 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
40026 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
40027
4822a2a5
L
400282012-05-11 H.J. Lu <hongjiu.lu@intel.com>
40029
40030 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
40031 thread pointer.
40032 (TLS_IE): Use mov/add instead of movq/addq to load thread
40033 pointer.
40034 (TLS_GD_PREFIX): New.
40035 (TLS_GD): Use it.
40036
842b81d6
DM
400372012-05-11 David S. Miller <davem@davemloft.net>
40038
40039 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
40040 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
40041 (_FPU_SETCW): Likewise.
40042
1cf463cd
L
400432012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40044
40045 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
40046 is 32-byte aligned.
40047
60cc4a18
AS
400482012-05-11 Andreas Schwab <schwab@linux-m68k.org>
40049
40050 [BZ #11837]
40051 * iconvdata/gb18030.c: Update tables.
40052 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
40053 characters specially.
40054 (BODY for TO_LOOP): Add encoding of missing ranges.
40055
febb44a4
TS
400562012-05-11 Thomas Schwinge <thomas@codesourcery.com>
40057
40058 [BZ #13673]
40059 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
40060 * sysdeps/mach/hurd/dup3.c: Likewise.
40061 * sysdeps/mach/hurd/readlinkat.c: Likewise.
40062 * sysdeps/powerpc/memmove.c:: Likewise.
40063
0a10fb9e
L
400642012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40065
40066 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
40067 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
40068
df8a552f
L
400692012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40070
40071 * elf/elf.h (R_X86_64_RELATIVE64): New.
40072 (R_X86_64_NUM): Updated.
40073 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40074 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
40075 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
40076 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
40077 tst-quad1pie tst-quad2pie
40078 (modules-names): Add tst-quadmod1 tst-quadmod2.
40079 ($(objpfx)tst-quad1): New dependency.
40080 ($(objpfx)tst-quad2): Likewise.
40081 ($(objpfx)tst-quad1pie): Likewise.
40082 ($(objpfx)tst-quad2pie): Likewise.
40083 * sysdeps/x86_64/tst-quad1.c: New file.
40084 * sysdeps/x86_64/tst-quad1pie.c: New file.
40085 * sysdeps/x86_64/tst-quad2.c: Likewise.
40086 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
40087 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
40088 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
40089 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
40090 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
40091
f34d6f84
ST
400922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40093
f42d41d1
ST
40094 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
40095 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
40096 * streams/stropts.h (t_scalar_t): Define type.
40097
3c3571fc
ST
40098 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
40099 (_PATH_PRESERVE): Set to "/var/lib".
40100 (_PATH_RWHODIR): Set to "/var/spool/rwho".
40101
61f06bd3
ST
40102 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
40103 instead of int.
40104
918d4d71
ST
40105 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
40106 if __dir_mkfile succeeded.
40107
f34d6f84
ST
40108 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
40109 checking for _hurd_dtablesize. Unlock it right after having
40110 finished _hurd_dtable allocation.
40111
10589b4a
TS
401122012-05-10 Thomas Schwinge <thomas@schwinge.name>
40113
674cdbc7
TS
40114 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
40115 * sysdeps/mach/hurd/configure: Regenerated.
40116 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
40117 special-casing to...
40118 * sysdeps/gnu/configure.in: ... this new file.
40119 * sysdeps/unix/sysv/linux/configure: Regenerated.
40120 * sysdeps/gnu/configure: New generated file.
40121
8e41b99f
TS
40122 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
40123 for Linux: use nsec instead of usec, as well as:
40124 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
40125 members of type struct timespec.
40126 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
40127 New macros.
40128 (struct stat64): Likewise.
40129 (_STATBUF_ST_NSEC): New macro.
40130 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
40131
10589b4a
TS
40132 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40133 __strtoul_internal rather than strtoul.
40134
63643c85
PT
401352012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40136
40137 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
40138 and reject them.
40139
3faebe6a
ST
401402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40141
40142 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
40143 which preserves existing values.
40144 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
40145
c6474b07
PT
401462012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40147
40148 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
40149 TIMEOUT values. Return EINVAL for NFDS values either negative or
40150 greater than FD_SETSIZE.
40151
1043890b
ST
401522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40153
40154 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
40155 allocated, call __vm_protect to finish enabling the existing space, and
40156 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
40157 allocate the remainder.
40158
37ed8b9b
PT
401592012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40160
40161 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
40162 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
40163
db653660
ST
401642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40165
37ed8b9b
PT
40166 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
40167 sysdeps/mach/hurd/readlink.c.
b29d4053 40168
db653660
ST
40169 * posix/tst-sysconf.c (posix_options): Only use
40170 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
40171 _POSIX_SYNCHRONIZED_IO when they are defined
40172 * sysdeps/mach/hurd/bits/posix_opt.h:
40173 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
40174 (_XOPEN_REALTIME): Undefine macro.
40175 (_XOPEN_REALTIME_THREADS): Undefine macro.
40176 (_XOPEN_SHM): Undefine macro.
40177 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
40178 macro to -1.
40179 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
40180 macro to -1.
40181 (_POSIX_ASYNC_IO): Undefine macro.
40182 (_POSIX_PRIORITIZED_IO): Undefine macro.
40183 (_POSIX_SPIN_LOCKS): Define macro to -1.
40184
ee16e894
ST
40185 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
40186 SA_NODEFER, SA_RESETHAND.
40187 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
40188 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
40189 F_DUPFD_CLOEXEC.
40190
6103ae3b
TS
401912012-05-10 Thomas Schwinge <thomas@schwinge.name>
40192
40193 * elf/Makefile (pldd-modules): Define unconditionally.
40194
80b4e5f3
TS
401952012-05-10 Thomas Schwinge <thomas@schwinge.name>
40196
40197 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
40198
edadcbd6
ST
401992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40200
40201 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
40202 Return ENOENT when name is empty.
40203 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
40204
80694780
TS
402052012-05-10 Thomas Schwinge <thomas@schwinge.name>
40206
1792c087
TS
40207 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
40208
80694780
TS
40209 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
40210
6b645f0d
ST
402112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40212
80694780
TS
40213 Fix mlock in all cases except non-readable pages.
40214 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
40215 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 40216
6b645f0d
ST
40217 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
40218 (__mkdir): When path is `/', just fail with EEXIST.
40219 * sysdeps/mach/hurd/mkdirat.c: Likewise.
40220
e468f8a3
TS
402212012-05-10 Thomas Schwinge <thomas@schwinge.name>
40222
40223 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
40224 <sys/uio.h> (for writev).
40225 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
40226 and <sys/param.h> (for MIN).
40227
a4186cff
PT
402282012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40229
40230 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
40231 REQUESTED_TIME. Properly set the remaining time and return EINTR
40232 if interrupted.
40233
510bbf14
TS
402342012-05-10 Thomas Schwinge <thomas@schwinge.name>
40235
40236 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
40237 Depend on against $(link-rpcuserlibs).
40238
5d5722e8
ST
402392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40240
a4186cff
PT
40241 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
40242 (__libc_stack_end): Do not use attribute_relro.
40243 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
40244 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 40245 to libthread-provided value.
a4186cff
PT
40246 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
40247 attribute_relro.
5d5722e8 40248
37233df9
TS
402492012-05-10 Thomas Schwinge <thomas@schwinge.name>
40250
be971a2b
TS
40251 [BZ #3748]
40252 * bits/libc-lock.h (__libc_once_get): New macro.
40253 * sysdeps/mach/bits/libc-lock.h: Likewise.
40254 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
40255 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
40256 instead of using implementation details.
40257
37233df9
TS
40258 * libio/fileops.c: Unconditionally include <kernel-features.h>.
40259 * libio/freopen.c: Likewise.
40260 * libio/freopen64.c: Likewise.
40261 * misc/syslog.c: Likewise.
40262 * nscd/connections.c: Likewise.
40263 * nscd/netgroupcache.c: Likewise.
40264 * sysdeps/posix/getcwd.c: Likewise.
40265
38de94a5
RM
402662012-05-10 Roland McGrath <roland@hack.frob.com>
40267
40268 * math/w_ilogbf.c: Add #include <limits.h>.
40269
67530489
ST
402702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40271
a4186cff 40272 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
40273 path instead of returning without unlocking.
40274
67530489
ST
40275 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
40276 immediate-write ioctls.
40277 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
40278
5aa3a74a
TS
402792012-05-10 Thomas Schwinge <thomas@schwinge.name>
40280
18bad2ae
TS
40281 * sysdeps/mach/hurd/i386/init-first.c (init): Use
40282 __builtin_frame_address instead of making assumptions about the
40283 location of the return address relative to DATA. Force early load of
40284 the return address.
40285 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
40286 __builtin_frame_address.
40287
5aa3a74a
TS
40288 dup3 for GNU Hurd.
40289 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
40290 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
40291 implement dup3 and do some further code clean-ups.
40292 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
40293 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
40294
ecd0de9a
ST
402952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40296
cd9fa985
ST
40297 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
40298
a4186cff
PT
40299 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
40300 HURD_CRITICAL_END around holding _hurd_dtable_lock.
40301 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
40302 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
40303 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
40304 d->port.lock.
802ca5a5 40305
a4186cff
PT
40306 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
40307 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
40308 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 40309
bcf55240
TS
403102012-05-10 Thomas Schwinge <thomas@schwinge.name>
40311
6960eb42
TS
40312 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
40313 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
40314 definitions.
40315
eb43375f
TS
40316 accept4 for GNU Hurd.
40317 * include/sys/socket.h (__libc_accept4): New prototype.
40318 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
40319 to implement __libc_accept4.
40320 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
40321 __libc_accept4.
40322 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
40323
bcf55240
TS
40324 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
40325 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
40326 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
40327 signal-defines.sym.
40328
6178c55b
ST
403292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40330
a4186cff 40331 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 40332
6f080c2f
TS
403332012-05-10 Thomas Schwinge <thomas@schwinge.name>
40334
40335 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
40336 assertion on O_CLOEXEC flag.
40337 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
40338 * hurd/intern-fd.c: Likewise.
40339 * hurd/port2fd.c: Likewise.
40340
bcfe3a54
ST
403412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40342
40343 [BZ #3906]
40344 * bits/in.h (IPV6_PKTINFO): Define new macro.
40345 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
40346
89c9aa49
AZ
403472012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40348
40349 [BZ #13954]
40350 [BZ #13955]
40351 [BZ #13956]
40352 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
40353 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40354 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
40355 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40356 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40357 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40358 * math/libm-test.inc (logb_test) : Additional logb tests.
40359
021db4be
AJ
403602012-05-09 Andreas Schwab <schwab@linux-m68k.org>
40361 Andreas Jaeger <aj@suse.de>
40362
40363 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
40364 * configure: Regenerated.
40365 * config.h.in (LINK_OBSOLETE_RPC): New macro.
40366 * config.make.in (link-obsolete-rpc): New substituted variable.
40367 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
40368 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
40369 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40370 (shared-only-routines): Don't set it under [link-obsolete-rpc],
40371 so that libc.a contains the symbols.
40372 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40373 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
40374 * sunrpc/auth_none.c: Likewise.
40375 * sunrpc/auth_unix.c: Likewise.
40376 * sunrpc/authdes_prot.c: Likewise.
40377 * sunrpc/authuxprot.c: Likewise.
40378 * sunrpc/clnt_gen.c: Likewise.
40379 * sunrpc/clnt_perr.c: Likewise.
40380 * sunrpc/clnt_raw.c: Likewise.
40381 * sunrpc/clnt_simp.c: Likewise.
40382 * sunrpc/clnt_tcp.c: Likewise.
40383 * sunrpc/clnt_udp.c: Likewise.
40384 * sunrpc/clnt_unix.c: Likewise.
40385 * sunrpc/des_crypt.c: Likewise.
40386 * sunrpc/des_soft.c: Likewise.
40387 * sunrpc/get_myaddr.c: Likewise.
40388 * sunrpc/key_call.c: Likewise.
40389 * sunrpc/key_prot.c: Likewise.
40390 * sunrpc/netname.c: Likewise.
40391 * sunrpc/pm_getmaps.c: Likewise.
40392 * sunrpc/pm_getport.c: Likewise.
40393 * sunrpc/pmap_clnt.c: Likewise.
40394 * sunrpc/pmap_prot.c: Likewise.
40395 * sunrpc/pmap_prot2.c: Likewise.
40396 * sunrpc/pmap_rmt.c: Likewise.
40397 * sunrpc/publickey.c: Likewise.
40398 * sunrpc/rpc_cmsg.c: Likewise.
40399 * sunrpc/rpc_common.c: Likewise.
40400 * sunrpc/rpc_dtable.c: Likewise.
40401 * sunrpc/rpc_prot.c: Likewise.
40402 * sunrpc/rpc_thread.c: Likewise.
40403 * sunrpc/rtime.c: Likewise.
40404 * sunrpc/svc.c: Likewise.
40405 * sunrpc/svc_auth.c: Likewise.
40406 * sunrpc/svc_raw.c: Likewise.
40407 * sunrpc/svc_run.c: Likewise.
40408 * sunrpc/svc_tcp.c: Likewise.
40409 * sunrpc/svc_udp.c: Likewise.
40410 * sunrpc/svc_unix.c: Likewise.
40411 * sunrpc/svcauth_des.c: Likewise.
40412 * sunrpc/xcrypt.c: Likewise.
40413 * sunrpc/xdr.c: Likewise.
40414 * sunrpc/xdr_array.c: Likewise.
40415 * sunrpc/xdr_float.c: Likewise.
40416 * sunrpc/xdr_intXX_t.c: Likewise.
40417 * sunrpc/xdr_mem.c: Likewise.
40418 * sunrpc/xdr_rec.c: Likewise.
40419 * sunrpc/xdr_ref.c: Likewise.
40420 * sunrpc/xdr_sizeof.c: Likewise.
40421 * sunrpc/xdr_stdio.c: Likewise.
40422
b5c086a2
RM
404232012-05-10 Roland McGrath <roland@hack.frob.com>
40424
40425 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
40426 change. Update copyright years.
40427
6d74dd09
JM
404282012-05-10 Joseph Myers <joseph@codesourcery.com>
40429
40430 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
40431
28e72501
MK
404322012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
40433 Joseph Myers <joseph@codesourcery.com>
40434 Paul Pluzhnikov <ppluzhnikov@google.com>
40435
40436 [BZ #14012]
40437 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
40438 requiring rpcgen.
40439 [cross-compiling] (extra-libs): Likewise.
40440 [cross-compiling] (extra-libs-others): Likewise.
40441 [cross-compiling] (librpcsvc-routines): Likewise.
40442 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
40443 [cross-compiling] (omit-deps): Likewise.
40444 (sunrpc-CPPFLAGS): New variable.
40445 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
40446 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
40447 (cross-rpcgen-objs): New variable.
40448 (extra-objs): Append $(cross-rpcgen-objs).
40449 ($(cross-rpcgen-objs)): New rule.
40450 ($(objpfx)cross-rpcgen): Likewise.
40451 (rpcgen-cmd): Define to use $(built-program-file). Expand
40452 comment.
40453 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
40454 ($(objpfx)x%.stmp): Likewise.
40455 * sunrpc/proto.h [IS_IN_build] (_): Define.
40456 [IS_IN_build] (_libc_intl_domainname): Likewise.
40457
c8c59454
L
404582012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40459
40460 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
40461 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
40462 and R_X86_64_TPOFF64.
40463
6f27cd16
JM
404642012-05-10 Joseph Myers <joseph@codesourcery.com>
40465
40466 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
40467 sysdeps/unix/sysv/syscalls.list.
40468 (stime): Likewise.
40469 (utime): Likewise.
40470 * sysdeps/unix/sysv/syscalls.list: Remove file.
40471
02467e1c
PE
404722012-05-10 Paul Eggert <eggert@cs.ucla.edu>
40473
40474 [BZ #3440]
40475 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
40476 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
40477 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
40478 (__LC_IDENTIFICATION): Make these macros useful in #if
40479 expressions, as required by C99.
40480
da392631
AS
404812012-05-10 Andreas Schwab <schwab@linux-m68k.org>
40482
40483 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
40484 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
40485 after this.
40486
8115f29b
L
404872012-05-09 H.J. Lu <hongjiu.lu@intel.com>
40488
40489 * stdlib/longlong.h: Updated from GCC.
40490
bdd74070
AJ
404912012-05-09 Andreas Jaeger <aj@suse.de>
40492
edfe0dbe
AJ
40493 * nscd/nscd.c (run_modes): Make named enum, reorder so that
40494 default is first entry.
40495 (run_mode): Set type.
40496 (main): Remove informal message about syslog.
40497 (options): Fix typo.
40498
bcfe3a54
ST
40499 [BZ #14053]
40500 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 40501 to asm.
bcfe3a54
ST
40502 (lrint): Likewise.
40503 (llrintf): Likewise.
40504 (llrint): Likewise.
40505 (rint): Likewise.
40506 (rintf): Likewise.
40507 (nearbyint): Likewise.
40508 (nearbyintf): Likewise.
bdd74070 40509
91d8d69e
AJ
405102012-05-09 Andreas Jaeger <aj@suse.de>
40511 Pedro Alves <palves@redhat.com>
40512
40513 * nscd/nscd.c (run_mode): Use enum.
40514 (main): Cleanup coding style issue.
40515
bb90b80b
AJ
405162012-05-09 Alexandre Oliva <aoliva@redhat.com>
40517 Andreas Jaeger <aj@suse.de>
40518
bcfe3a54
ST
40519 * nscd/nscd.c (go_background): Replaced with...
40520 (run_mode): ... this.
bb90b80b 40521 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
40522 (options): Add -F --foreground.
40523 (main): Implement it.
40524 (parse_opt): Parse it.
bb90b80b 40525
1a4b75a1
AJ
405262012-05-09 Andreas Jaeger <aj@suse.de>
40527
40528 [BZ #14083]
40529 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
40530 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
40531 -Wconversion warning.
40532 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
40533 Likewise.
40534
b1cc2472
JM
405352012-05-09 Joseph Myers <joseph@codesourcery.com>
40536
40537 * conform/data/locale.h-data (NULL): Use macro-constant. Require
40538 == 0.
40539 (LC_ALL): Use macro-int-constant.
40540 (LC_COLLATE): Likewise.
40541 (LC_CTYPE): Likewise.
40542 (LC_MESSAGES): Likewise.
40543 (LC_MONETARY): Likewise.
40544 (LC_NUMERIC): Likewise.
40545 (LC_TIME): Likewise.
40546 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
40547 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40548 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40549 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
40550 Specify type.
40551 [C99-based standards] (float_t): Expect type.
40552 [C99-based standards] (double_t): Expect type.
40553 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
40554 type.
40555 [C99-based standards] (HUGE_VALL): Likewise.
40556 [C99-based standards] (INFINITY): Likewise.
40557 [C99-based standards] (NAN): Likewise.
40558 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
40559 [C99-based standards] (FP_NAN): Likewise.
40560 [C99-based standards] (FP_NORMAL): Likewise.
40561 [C99-based standards] (FP_SUBNORMAL): Likewise.
40562 [C99-based standards] (FP_ZERO): Likewise.
40563 [C99-based standards] (FP_FAST_FMA): Use
40564 optional-macro-int-constant. Specify type. Require == 1.
40565 [C99-based standards] (FP_FAST_FMAF): Likewise.
40566 [C99-based standards] (FP_FAST_FMAL): Likewise.
40567 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
40568 [C99-based standards] (FP_ILOGBNAN): Likewise.
40569 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
40570 Specify type.
40571 [C99-based standards] (MATH_ERREXCEPT): Likewise.
40572 [C99-based standards] (math_errhandling): Specify type.
40573 [ISO99 || ISO11] (signgam): Do not allow.
40574 [non-C99-based standards] (copysignf): Do not allow.
40575 [non-C99-based standards] (exp2f): Likewise.
40576 [non-C99-based standards] (log2f): Likewise.
40577 [non-C99-based standards] (modff): Allow.
40578 [non-C99-based standards] (erff): Do not allow.
40579 [non-C99-based standards] (erfcf): Likewise.
40580 [non-C99-based standards] (gammaf): Likewise.
40581 [non-C99-based standards] (hypotf): Likewise.
40582 [non-C99-based standards] (j0f): Likewise.
40583 [non-C99-based standards] (j1f): Likewise.
40584 [non-C99-based standards] (jnf): Likewise.
40585 [non-C99-based standards] (lgammaf): Likewise.
40586 [non-C99-based standards] (tgammaf): Likewise.
40587 [non-C99-based standards] (y0f): Likewise.
40588 [non-C99-based standards] (y1f): Likewise.
40589 [non-C99-based standards] (ynf): Likewise.
40590 [non-C99-based standards] (isnanf): Likewise.
40591 [non-C99-based standards] (acoshf): Likewise.
40592 [non-C99-based standards] (asinhf): Likewise.
40593 [non-C99-based standards] (atanhf): Likewise.
40594 [non-C99-based standards] (cbrtf): Likewise.
40595 [non-C99-based standards] (expm1f): Likewise.
40596 [non-C99-based standards] (ilogbf): Likewise.
40597 [non-C99-based standards] (log1pf): Likewise.
40598 [non-C99-based standards] (logbf): Likewise.
40599 [non-C99-based standards] (nextafterf): Likewise.
40600 [non-C99-based standards] (remainderf): Likewise.
40601 [non-C99-based standards] (rintf): Likewise.
40602 [non-C99-based standards] (scalbf): Likewise.
40603 [non-C99-based standards] (copysignl): Likewise.
40604 [non-C99-based standards] (exp2l): Likewise.
40605 [non-C99-based standards] (log2l): Likewise.
40606 [non-C99-based standards] (modfl): Allow.
40607 [non-C99-based standards] (erfl): Do not allow.
40608 [non-C99-based standards] (erfcl): Likewise.
40609 [non-C99-based standards] (gammal): Likewise.
40610 [non-C99-based standards] (hypotl): Likewise.
40611 [non-C99-based standards] (j0l): Likewise.
40612 [non-C99-based standards] (j1l): Likewise.
40613 [non-C99-based standards] (jnl): Likewise.
40614 [non-C99-based standards] (lgammal): Likewise.
40615 [non-C99-based standards] (tgammal): Likewise.
40616 [non-C99-based standards] (y0l): Likewise.
40617 [non-C99-based standards] (y1l): Likewise.
40618 [non-C99-based standards] (ynl): Likewise.
40619 [non-C99-based standards] (isnanl): Likewise.
40620 [non-C99-based standards] (acoshl): Likewise.
40621 [non-C99-based standards] (asinhl): Likewise.
40622 [non-C99-based standards] (atanhl): Likewise.
40623 [non-C99-based standards] (cbrtl): Likewise.
40624 [non-C99-based standards] (expm1l): Likewise.
40625 [non-C99-based standards] (ilogbl): Likewise.
40626 [non-C99-based standards] (log1pl): Likewise.
40627 [non-C99-based standards] (logbl): Likewise.
40628 [non-C99-based standards] (nextafterl): Likewise.
40629 [non-C99-based standards] (remainderl): Likewise.
40630 [non-C99-based standards] (rintl): Likewise.
40631 [non-C99-based standards] (scalbl): Likewise.
40632 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40633 [non-C99-based standards] (FP_*): Do not allow.
40634 [C99-based standards] (FP_*): Change to
40635 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40636 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40637 allow.
40638 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
40639 (SIG_ERR): Likewise.
40640 [X/Open-based standards] (SIG_HOLD): Likewise.
40641 (SIG_IGN): Likewise.
40642 (SIGABRT): Use macro-int-constant. Specify type. Require
40643 positive value.
40644 (SIGFPE): Likewise.
40645 (SIGILL): Likewise.
40646 (SIGINT): Likewise.
40647 (SIGSEGV): Likewise.
40648 (SIGTER): Likewise.
40649 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
40650 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
40651 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
40652 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
40653 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
40654 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
40655 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
40656 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
40657 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
40658 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
40659 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
40660 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
40661 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
40662 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
40663 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
40664 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
40665 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
40666 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
40667 [X/Open-based standards] (SIGTRAP): Likewise.
40668 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
40669 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
40670 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
40671 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
40672 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40673 allow.
40674
b9f1922d
IW
406752012-05-08 Ian Wienand <ianw@vmware.com>
40676
40677 [BZ #14080]
40678 * time/tzset.c (__tzset_parse_tz): Update default rules for
40679 daylight time changes in the Energy Policy Act of 2005.
40680
1db86e88
AJ
406812012-05-09 Andreas Jaeger <aj@suse.de>
40682
40683 [BZ #13983]
40684 * elf/ldconfig.c (parse_conf): Change string to make clear that
40685 ldconfig only issued a warning if ld.so.conf does not exist.
40686
dee4a4e3
DM
406872012-05-08 David S. Miller <davem@davemloft.net>
40688
ee0db190
DM
40689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
40690 movxtod instead of popping the value on the stack.
40691
dee4a4e3
DM
40692 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40693
6a43ec98
CD
406942012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
40695
40696 * config.h.in: Add HAVE_ARM_PCS_VFP.
40697
05c2c961
RMG
406982012-05-08 Roland Mc Grath <roland@hack.frob.com>
40699
bcfe3a54
ST
40700 [BZ #13979]
40701 * include/features.h: Warn if user requests __FORTIFY_SOURCE
40702 checking but the checks are disabled for any reason.
05c2c961 40703
4b30f61a
L
407042012-05-08 H.J. Lu <hongjiu.lu@intel.com>
40705
40706 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
40707 and ELF64_R_TYPE with ELFW(R_TYPE).
40708
eee2bc67
JM
407092012-05-08 Joseph Myers <joseph@codesourcery.com>
40710
7ea5391a
JM
40711 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
40712 (ulimit): Likewise.
40713
eee2bc67
JM
40714 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
40715 (settimeofday): Likewise.
40716
abb66a67
MF
407172012-05-08 Mike Frysinger <vapier@gentoo.org>
40718
40719 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
40720 a struct th_u2 inside the union, and move tu_block/tu_code into
40721 a new th_u3 union of tu_block/tu_code inside of that. Move
40722 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
40723 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
40724 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
40725 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
40726 (th_stuff): Change to th_u1.tu_stuff.
40727 (th_data): Define.
40728 (th_msg): Change to th_u1.th_u2.tu_data.
40729
7f18b530
DM
407302012-05-07 David S. Miller <davem@davemloft.net>
40731
05760585
DM
40732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40733
7f18b530
DM
40734 [BZ #14074]
40735 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
40736 (SETUP_PIC_REG): Use it.
40737 (SETUP_PIC_REG_LEAF): Use it.
40738
495fd99f
JM
407392012-05-07 Joseph Myers <joseph@codesourcery.com>
40740
40741 [BZ #13885]
40742 [BZ #13923]
40743 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40744 USE_AS_EXPM1L.
40745 (EXPL_FINITE): Likewise.
40746 (FLDLOG): Likewise.
40747 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40748 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40749 e_expl.S.
40750 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40751 USE_AS_EXPM1L.
40752 (EXPL_FINITE): Likewise.
40753 (FLDLOG): Likewise.
40754 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40755 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40756 e_expl.S.
40757 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
40758 test of -max_value argument for long double.
40759 * sysdeps/i386/fpu/libm-test-ulps: Update.
40760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40761
6693d694
DM
407622012-05-06 David S. Miller <davem@davemloft.net>
40763
40764 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
40765 quad soft-float symbols whose references which are compiler
40766 generated.
40767 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40768
6c23e11c
JM
407692012-05-06 Joseph Myers <joseph@codesourcery.com>
40770
d8b82cad
JM
40771 [BZ #13884]
40772 [BZ #13914]
40773 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40774 USE_AS_EXP10L.
40775 (EXPL_FINITE): Likewise.
40776 (FLDLOG): Likewise.
40777 (c0): Likewise.
40778 (c1): Likewise.
40779 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
40780 Adjust comments for base varying.
40781 (__expl_finite): Change alias to EXPL_FINITE.
40782 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
40783 e_expl.S.
40784 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
40785 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
40786 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40787 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
40788 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40789 USE_AS_EXP10L.
40790 (EXPL_FINITE): Likewise.
40791 (FLDLOG): Likewise.
40792 (c0): Likewise.
40793 (c1): Likewise.
40794 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
40795 Adjust comments for base varying.
40796 (__expl_finite): Change alias to EXPL_FINITE.
40797 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
40798 tests for bugs.
40799 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40800
6c23e11c
JM
40801 [BZ #14064]
40802 * math/libm-test.inc (check_float_internal): Correct ulp
40803 calculation for subnormal expected results.
40804
29ba805c
AJ
408052012-05-06 Andreas Jaeger <aj@suse.de>
40806
40807 * Makeconfig (+math-flags): New, set to -frounding-math.
40808 (+cflags): Add +math-flags so that all of glibc gets compiled with
40809 it.
40810
40811 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
40812
7b17aeda
JM
408132012-05-05 Joseph Myers <joseph@codesourcery.com>
40814
5779f134
JM
40815 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
40816 Disable one test.
40817
41498f4d
JM
40818 [BZ #13787]
40819 [BZ #13922]
40820 [BZ #14036]
40821 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
40822 (__ieee754_expl): Allow for and saturate large arguments.
40823 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
40824 (u_threshold): Likewise.
40825 (__exp): Call __ieee754_exp before checking for overflow and
40826 underflow.
40827 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
40828 (u_threshold): Likewise.
40829 (__expf): Call __ieee754_expf before checking for overflow and
40830 underflow.
40831 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
40832 (u_threshold): Likewise.
40833 (__expl): Call __ieee754_expl before checking for overflow and
40834 underflow.
40835 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
40836 (__ieee754_expl): Allow for and saturate large arguments.
40837 * math/libm-test.inc (exp_test): Add another test. Do not allow
40838 missing overflow exception on overflow.
40839 (expm1_test): Do not allow missing overflow exception on overflow.
40840
6698b8bf
JM
40841 * sysdeps/i386/fpu/e_expl.c: Move to ...
40842 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
40843 rather than using inline asm.
40844 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
40845 * sysdeps/x86_64/fpu/e_expl.S: Copy from
40846 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
40847
7b17aeda
JM
40848 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
40849 (nice): Likewise.
40850 (poll): Likewise.
40851 (signal): Likewise.
40852 (time): Likewise.
40853 (times): Likewise.
40854
f7c85819
JM
408552012-05-04 Joseph Myers <joseph@codesourcery.com>
40856
40857 * sysdeps/unix/syscalls.list (adjtime): Add entry from
40858 sysdeps/unix/common/syscalls.list.
40859 (fchmod): Likewise.
40860 (fchown): Likewise.
40861 (ftruncate): Likewise.
40862 (getrusage): Likewise.
40863 (gettimeofday): Likewise.
40864 (setpgid): Likewise.
40865 (setregid): Likewise.
40866 (setreuid): Likewise.
40867 (sigaction): Likewise.
40868 (truncate): Likewise.
40869 (vhangup): Likewise.
40870 * sysdeps/unix/common/syscalls.list: Remove file.
40871 * sysdeps/unix/bsd/Implies: Don't include unix/common.
40872 * sysdeps/unix/sysv/linux/Implies: Likewise.
40873
336270d0
L
408742012-05-04 H.J. Lu <hongjiu.lu@intel.com>
40875
40876 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
40877 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
40878 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
40879 Moved to ...
40880 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
40881 Here.
40882 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
40883 to ...
40884 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
40885 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
40886 to ...
40887 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
40888 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
40889 to ...
40890 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
40891 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
40892 to ...
40893 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
40894 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
40895 to ...
40896 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
40897 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
40898 to ...
40899 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
40900 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
40901 to ...
40902 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
40903 Here.
40904 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
40905 to ...
40906 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
40907 Here.
40908 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
40909 to ...
40910 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
40911 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
40912 Moved to ...
40913 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
40914 Here.
40915 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
40916 to ...
40917 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
40918
d128e450
JM
409192012-05-04 Joseph Myers <joseph@codesourcery.com>
40920
fa8ee516
JM
40921 * sysdeps/unix/common/bits/dirent.h: Remove file.
40922 * sysdeps/unix/common/bits/fcntl.h: Likewise.
40923
d128e450
JM
40924 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
40925 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
40926 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
40927 * sysdeps/unix/bsd/isatty.c: Likewise.
40928 * sysdeps/unix/bsd/tcdrain.c: Likewise.
40929 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
40930 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
40931
ff8faaf0 409322012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 40933
62881be4 40934 [BZ #13563]
31dc8730
AZ
40935 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
40936 long double comparison inaccuracies.
40937 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
40938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40939
6fef930c
AS
409402012-05-04 Andreas Schwab <schwab@linux-m68k.org>
40941
40942 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
40943 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
40944
8f203e6c
JM
409452012-05-04 Joseph Myers <joseph@codesourcery.com>
40946
40947 [BZ #14049]
40948 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
40949 nonzero digits before rounding a hex value.
40950 * stdlib/tst-strtod.c (tests): Add another test.
40951
5197d9c2
AK
409522012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40953
40954 * sysdeps/s390/fpu/libm-test-ulps: Update.
40955
f0c1dedf
AJ
409562012-05-03 Andreas Jaeger <aj@suse.de>
40957
40958 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
40959 does not get optimized out.
40960 (malloc_opt_barrier): New.
40961
a65ef2ae 409622012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 40963 Roland McGrath <roland@hack.frob.com>
a65ef2ae 40964
2b942cb7 40965 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 40966 intermediate file deletion.
2b942cb7 40967 (generated): Add .symlist files.
a65ef2ae 40968
54b71e02
JM
409692012-05-03 Joseph Myers <joseph@codesourcery.com>
40970
40971 [BZ #13775]
40972 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
40973 Redirect under this condition.
40974 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40975 [__USE_GNU] (__dprintf_chk): Not under this condition.
40976 [__USE_GNU] (__vdprintf_chk): Likewise.
40977 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
40978 under this condition.
40979 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40980 [__USE_XOPEN2K8] (dprintf): Define under this condition.
40981 [__USE_XOPEN2K8] (vdprintf): Likewise.
40982 [__USE_GNU] (__dprintf_chk): Not under this condition.
40983 [__USE_GNU] (__vdprintf_chk): Likewise.
40984 [__USE_GNU] (dprintf): Likewise.
40985 [__USE_GNU] (vdprintf): Likewise.
40986
d3dfcc41
RM
409872012-05-03 Roland McGrath <roland@hack.frob.com>
40988
40989 * elf/Makefile (common-generated): Set this instead of generated for
40990 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
40991 $(all-built-dso)-derived lists.
40992
7ac30cc5
AJ
409932012-05-03 Andreas Jaeger <aj@suse.de>
40994
0c51e550
AJ
40995 * sysdeps/i386/fpu/libm-test-ulps: Update.
40996
7ac30cc5
AJ
40997 * FAQ: Removed.
40998 * FAQ.in: Likewise.
40999 * scripts/gen-FAQ.pl: Likewise.
41000 * manual/install.texi (Installation): Point to online location of
41001 FAQ.
41002 * Makefile (files-for-dist): Remove FAQ.
41003 (FAQ): Remove.
41004
d4c2917f
AM
410052012-05-02 Allan McRae <allan@archlinux.org>
41006
41007 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
41008 (LDFLAGS-reldepmod5.so): Likewise.
41009 (LDFLAGS-reldep6mod1.so): Likewise.
41010 (LDFLAGS-reldep6mod4.so): Likewise.
41011 (LDFLAGS-reldep8mod3.so): Likewise.
41012 (LDFLAGS-unload4mod1.so): Likewise.
41013 (LDFLAGS-unload4mod2.so): Likewise.
41014 (LDFLAGS-tst-initorder): Likewise.
41015 (LDFLAGS-tst-initordera2.so): Likewise.
41016 (LDFLAGS-tst-initordera3.so): Likewise.
41017 (LDFLAGS-tst-initordera4.so): Likewise.
41018 (LDFLAGS-tst-initorderb2.so): Likewise.
41019 (LDFLAGS-noload): Likewise.
41020 (LDFLAGS-next): Likewise.
41021 (LDFLAGS-order2mod1.so): Likewise.
41022 (LDFLAGS-order2mod2.so): Likewise.
41023 (LDFLAGS-tst-initorder2): Likewise.
41024 (LDFLAGS-tst-initorder2a.so): Likewise.
41025 (LDFLAGS-tst-initorder2b.so): Likewise.
41026 (LDFLAGS-tst-initorder2c.so): Likewise.
41027 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
41028
d77f993f
DM
410292012-05-02 David S. Miller <davem@davemloft.net>
41030
41031 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41032
171a70b4
PP
410332012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
41034
41035 [BZ #14055]
41036 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
41037
0be196ad
AJ
410382012-05-02 Andreas Jaeger <aj@suse.de>
41039
41040 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
41041 since we manipulate rounding mode.
41042 (CPPFLAGS-test-idouble.c): Likewise.
41043 (CPPFLAGS-test-ifloat.c): Likewise.
41044 (CFLAGS-test-ldouble.c): Likewise.
41045 (CFLAGS-test-double.c): Likewise.
41046 (CFLAGS-test-float.c): Likewise.
41047 (CFLAGS-test-misc.c): Likewise.
41048 (CFLAGS-test-test-fenv.c): Likewise.
41049
4f9d04aa
AZ
410502012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41051
2b942cb7
RM
41052 [BZ #2550]
41053 [BZ #2570]
41054 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
41055 comparisons to determine direction to adjust input.
4f9d04aa 41056
82a79e7d
RM
410572012-05-01 Roland McGrath <roland@hack.frob.com>
41058
f5a01ca9
RM
41059 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
41060 output to the target.
41061
90fe4186
RM
41062 * scripts/localplt.awk: New file.
41063 * elf/Makefile ($(objpfx)check-localplt): Target removed.
41064 (check-localplt-CFLAGS): Variable removed.
41065 ($(all-built-dso:=.jmprel)): New static pattern rule.
41066 (generated): Add those targets.
41067 (localplt-built-dso): New variable.
41068 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
41069
41070 * elf/check-localplt.c: File removed.
41071
82397ed6
RM
41072 * scripts/check-execstack.awk: New file.
41073 * elf/Makefile ($(objpfx)check-execstack): Target removed.
41074 (check-execstack-CFLAGS): Variable removed.
41075 ($(objpfx)check-execstack.h): Target removed.
41076 ($(objpfx)execstack-default): New target.
41077 (generated): Add that instead of check-execstack.h.
41078 ($(all-built-dso:=.phdr)): New static pattern rule.
41079 (generated): Add those targets.
41080 * elf/check-execstack.c: File removed.
41081
82a79e7d
RM
41082 * scripts/check-textrel.awk: New file.
41083 * elf/Makefile ($(objpfx)check-textrel): Target removed.
41084 (check-textrel-CFLAGS): Variable removed.
41085 (all-built-dso): Use := to define.o
41086 ($(all-built-dso:=.dyn)): New static pattern rule.
41087 (generated): Add those targets.
41088 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
41089 * config.make.in (READELF): New substituted variable.
41090 * elf/check-textrel.c: File removed.
41091
62fde54f 410922012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 41093
615605c9
JM
41094 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41095 allow.
41096 * conform/data/ctype.h-data [C99-based standards] (isblank):
41097 Expect function.
41098 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
41099 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
41100 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41101 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
41102 Specify type. Require positive value.
41103 (EILSEQ): Likewise.
41104 (ERANGE): Likewise.
41105 [ISO || POSIX] (EILSEQ): Do not expect.
41106 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
41107 Specify type. Require positive value.
41108 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
41109 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
41110 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
41111 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
41112 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
41113 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
41114 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
41115 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
41116 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
41117 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
41118 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
41119 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
41120 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
41121 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
41122 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
41123 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
41124 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
41125 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
41126 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
41127 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
41128 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
41129 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
41130 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
41131 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
41132 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
41133 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
41134 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
41135 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
41136 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
41137 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
41138 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
41139 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
41140 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
41141 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
41142 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
41143 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
41144 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
41145 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
41146 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
41147 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
41148 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
41149 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
41150 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
41151 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
41152 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
41153 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
41154 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
41155 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
41156 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
41157 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
41158 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
41159 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
41160 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
41161 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
41162 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
41163 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
41164 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
41165 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
41166 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
41167 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
41168 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
41169 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
41170 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
41171 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
41172 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
41173 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
41174 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
41175 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
41176 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
41177 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
41178 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
41179 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
41180 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
41181 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
41182 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
41183 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
41184 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
41185 Require >= 2.
41186 (FLT_ROUNDS): Expect as macro, not constant.
41187 (FLT_MANT_DIG): Use macro-int-constant.
41188 (DBL_MANT_DIG): Likewise.
41189 (LDBL_MANT_DIG): Likewise.
41190 (FLT_DIG): Likewise.
41191 (DBL_DIG): Likewise.
41192 (LDBL_DIG): Likewise.
41193 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
41194 (DBL_MIN_EXP): Likewise.
41195 (LDBL_MIN_EXP): Likewise.
41196 (FLT_MAX_EXP): Use macro-int-constant.
41197 (DBL_MAX_EXP): Likewise.
41198 (LDBL_MAX_EXP): Likewise.
41199 (FLT_MAX_10_EXP): Likewise.
41200 (DBL_MAX_10_EXP): Likewise.
41201 (LDBL_MAX_10_EXP): Likewise.
41202 (FLT_MAX): Use macro-constant.
41203 (DBL_MAX): Likewise.
41204 (LDBL_MAX): Likewise.
41205 (FLT_EPSILON): Use macro-constant. Give upper bound.
41206 (DBL_EPSILON): Likewise.
41207 (LDBL_EPSILON): Likewise.
41208 (FLT_MIN): Likewise.
41209 (DBL_MIN): Likewise.
41210 (LDBL_MIN): Likewise.
41211 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
41212 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
41213 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
41214 [ISO11] (FLT_HAS_SUBNORM): Likewise.
41215 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
41216 [ISO11] (DBL_DECIMAL_DIG): Likewise.
41217 [ISO11] (FLT_DECIMAL_DIG): Likewise.
41218 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
41219 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
41220 [ISO11] (FLT_TRUE_MIN): Likewise.
41221 [ISO11] (LDBL_TRUE_MIN): Likewise.
41222 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41223 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
41224 (SCHAR_MIN): Use macro-int-constant. Specify type.
41225 (SCHAR_MAX): Likewise.
41226 (UCHAR_MAX): Likewise.
41227 (CHAR_MIN): Likewise.
41228 (CHAR_MAX): Likewise.
41229 (MB_LEN_MAX): Use macro-int-constant.
41230 (SHRT_MIN): Use macro-int-constant. Specify type.
41231 (SHRT_MAX): Likewise.
41232 (USHRT_MAX): Likewise.
41233 (INT_MAX): Likewise.
41234 (INT_MIN): Use macro-int-constant. Specify type. Make upper
41235 bound negative.
41236 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
41237 bound with "U".
41238 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
41239 bound with "L".
41240 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
41241 bound negative. Suffix upper bound with "L".
41242 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
41243 bound with "UL".
41244 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
41245 Specify type.
41246 [C99-based standards] (LLONG_MAX): Likewise.
41247 [C99-based standards] (ULLONG_MAX): Likewise.
41248 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
41249 == 0.
41250 [ISO11] (max_align_t): Require type.
41251 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41252
c9140a62
JM
41253 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
41254 from $CFLAGS, without defining away __attribute__ calls.
41255 (checknamespace): Use $CFLAGS_namespace.
41256
9af0bf29
JM
41257 * conform/conformtest.pl (@keywords): Only include C99 keywords
41258 for standards based on C99 or C11.
41259
343222a2
JM
41260 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
41261 Disable tests.
41262 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
41263 UNIX98]: Likewise.
41264
661f8cf0
JM
41265 * conform/conformtest.pl: Handle "macro-int-constant" and test for
41266 usability of symbols in #if.
41267
ee74b9cb
JM
41268 * conform/conformtest.pl: If macro or constant types start
41269 "promoted:", expect the symbol to be of the following type
41270 promoted by the integer promotions.
62fde54f 41271
aafc49b3
JM
41272 * conform/conformtest.pl: Parse all "constant" and "macro" lines
41273 in one place. Also handle "macro-constant".
41274
fefdf574
JM
41275 * conform/conformtest.pl: Only accept expected macro values with
41276 "==". Parse all "macro" lines in one place.
41277 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
41278
f2d922fe
JM
41279 * conform/conformtest.pl: Handle braced types on "constant" lines
41280 instead of handling "typed-constant".
41281 * conform/data/signal.h-data: Use "constant" instead of
41282 "typed-constant".
41283
d22956c9
JM
41284 * conform/conformtest.pl: Handle "optional-" at start of lines in
41285 one place rather than duplicating several cases. Handle each
41286 format of "macro" line with initial "optional-".
41287
028e2e38
JM
41288 * conform/conformtest.pl: Only accept expected constant or
41289 optional-constant values with "==". Parse all "constant" lines in
41290 one place. Parse all "optional-constant" lines in one place.
41291 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
41292 * conform/data/fmtmsg.h-data: Likewise.
41293 * conform/data/netinet/in.h-data: Likewise.
41294 * conform/data/tar.h-data: Likewise.
41295 * conform/data/limits.h-data: Use "==" form on "constant" and
41296 "optional-constant" lines.
41297
1b8f2850
JM
41298 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
41299 Use -std=c99 for XOPEN2K.
41300 (@knownproblems): Remove.
41301 (newtoken): Don't check %isknown.
41302
a05a144b
JM
41303 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
41304 Do not expect macro.
41305 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
41306 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
41307 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
41308 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
41309 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
41310 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
41311 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
41312 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
41313 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
41314 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
41315 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
41316 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
41317 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
41318 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
41319 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
41320 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
41321 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
41322 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
41323 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
41324 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
41325 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
41326 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
41327 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
41328 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
41329 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
41330 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
41331 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
41332 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
41333 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
41334 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
41335 [XPG3] (acosh): Likewise.
41336 [XPG3] (asinh): Likewise.
41337 [XPG3] (atanh): Likewise.
41338 [XPG3] (cbrt): Likewise.
41339 [XPG3] (expm1): Likewise.
41340 [XPG3] (ilogb): Likewise.
41341 [XPG3] (log1p): Likewise.
41342 [XPG3] (logb): Likewise.
41343 [XPG3] (nextafter): Likewise.
41344 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
41345 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
41346 [XPG3] (remainder): Likewise.
41347 [XPG3] (rint): Likewise.
41348 [XPG3 || XPG4 || UNIX98] (round): Likewise.
41349 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
41350 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
41351 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
41352 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
41353 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
41354 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
41355 [UNIX98 || XOPEN2K] (scalb): Expect.
41356 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
41357 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
41358 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
41359 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
41360 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
41361 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
41362 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
41363 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
41364 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
41365 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
41366 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
41367 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
41368 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
41369 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
41370 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
41371 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
41372 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
41373 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
41374 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
41375 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
41376 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
41377 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
41378 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
41379 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
41380 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
41381 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
41382 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
41383 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
41384 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
41385 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
41386 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
41387 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
41388 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
41389 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
41390 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
41391 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
41392 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
41393 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
41394 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
41395 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
41396 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
41397 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
41398 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
41399 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
41400 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
41401 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
41402 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
41403 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
41404 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
41405 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
41406 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
41407 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
41408 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
41409 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
41410 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
41411 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
41412 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
41413 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
41414 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
41415 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
41416 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
41417 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
41418 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
41419 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
41420 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
41421 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
41422 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
41423 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
41424 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
41425 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
41426 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
41427 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
41428 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
41429 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
41430 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
41431 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
41432 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
41433 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
41434 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
41435 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
41436 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
41437 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
41438 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
41439 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
41440 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
41441 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
41442 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
41443 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
41444 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
41445 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
41446 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
41447 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
41448 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
41449 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
41450 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
41451 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
41452 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
41453 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
41454 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
41455 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
41456 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
41457 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
41458 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
41459 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
41460 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
41461 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
41462 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
41463 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
41464 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
41465 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
41466 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
41467 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
41468 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
41469 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
41470 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
41471 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
41472 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
41473 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
41474 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
41475 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
41476 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
41477 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
41478 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
41479 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
41480 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
41481 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
41482 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
41483 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
41484 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
41485 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
41486 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
41487 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
41488 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
41489 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
41490 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
41491 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
41492 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
41493
73c5ebe3
JM
41494 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
41495 _XOPEN_SOURCE_EXTENDED for XPG4.
41496
39c33b6c
JM
41497 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
41498
62fde54f
JM
41499 * Makeconfig (localtime): Remove variable.
41500 (inst_localtime-file): Likewise.
41501
0741d64c
AS
415022012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41503
41504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
41505 Update.
41506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41507 Update.
41508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
41509 Update.
41510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41511 Update.
41512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
41513 Update.
41514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
41515 Update.
41516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41517 Update.
41518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
41519 Update.
41520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41521 Update.
41522
7cb029ee
JM
415232012-05-01 Joseph Myers <joseph@codesourcery.com>
41524
41525 [BZ #2550]
41526 [BZ #2570]
41527 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
41528 comparisons to determine direction to adjust input.
41529 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
41530 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
41531 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
41532 Likewise.
41533 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
41534 Likewise.
41535 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
41536 Likewise.
41537 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
41538 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
41539 Likewise.
41540 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
41541 Likewise.
41542 * math/libm-test.inc (nexttoward_test): Add more tests.
41543
412bd966
AS
415442012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41545
41546 [BZ #14040]
41547 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
41548 in version GLIBC_2.1, not GLIBC_2.0.
41549 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
41550 Likewise.
41551
9568c0c2
JM
415522012-04-30 Joseph Myers <joseph@codesourcery.com>
41553
adfbc8ac
JM
41554 [BZ #13942]
41555 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
41556 (1 - x) * (1 + x).
41557 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41558 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
41559 * math/libm-test.inc (acos_test): Add more tests.
41560 (asin_test): Likewise.
41561 * sysdeps/i386/fpu/libm-test-ulps: Update.
41562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41563
5ba3cc69
JM
41564 [BZ #14034]
41565 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
41566 of square root.
41567 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
41568 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41569 * math/libm-test.inc (acos_test_tonearest): New function.
41570 (acos_test_towardzero): Likewise.
41571 (acos_test_downward): Likewise.
41572 (acos_test_upward): Likewise.
41573 (asin_test_tonearest): Likewise.
41574 (asin_test_towardzero): Likewise.
41575 (asin_test_downward): Likewise.
41576 (asin_test_upward): Likewise.
41577 (main): Call the new functions.
41578 * sysdeps/i386/fpu/libm-test-ulps: Update.
41579 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41580
9568c0c2
JM
41581 [BZ #13884]
41582 [BZ #13924]
41583 * math/e_exp10.c: Include <float.h>.
41584 (__ieee754_exp10): Handle underflow here rather than multiplying
41585 large negative argument by M_LN10.
41586 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
41587 of __ieee754_expf.
41588 * math/e_exp10l.c: Include <float.h>.
41589 (__ieee754_exp10l): Handle underflow here rather than multiplying
41590 large negative argument by M_LN10l.
41591 * math/libm-test.inc (exp10_test): Add another test. Do not allow
41592 spurious overflow exception on underflow.
41593
5ac3ea17
MP
415942012-04-29 Marek Polacek <polacek@redhat.com>
41595
41596 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
41597 (__fortify_function): New macro.
41598 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
41599 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
41600 __extern_always_inline.
41601 * libio/bits/stdio2.h: Likewise.
41602 * libio/bits/stdio.h: Likewise.
41603 * string/string.h: Likewise.
41604 * string/bits/string3.h: Likewise.
41605 * include/stdio.h: Likewise.
41606 * stdlib/bits/stdlib.h: Likewise.
41607 * stdlib/stdlib.h: Likewise.
41608 * rt/bits/mqueue2.h: Likewise.
41609 * rt/mqueue.h: Likewise.
41610 * posix/bits/unistd.h: Likewise.
41611 * posix/unistd.h: Likewise.
41612 * io/bits/poll2.h: Likewise.
41613 * io/bits/fcntl2.h: Likewise.
41614 * io/fcntl.h: Likewise.
41615 * io/sys/poll.h: Likewise.
41616 * misc/bits/syslog.h: Likewise.
41617 * misc/bits/syslog-ldbl.h: Likewise.
41618 * misc/sys/syslog.h: Likewise.
41619 * socket/bits/socket2.h: Likewise.
41620 * socket/sys/socket.h: Likewise.
41621 * debug/tst-chk1.c: Likewise.
41622 * wcsmbs/bits/wchar2.h: Likewise.
41623 * wcsmbs/bits/wchar-ldbl.h: Likewise.
41624 * wcsmbs/wchar.h: Likewise.
41625
ecf0ebfb
AJ
416262012-04-29 Andreas Jaeger <aj@suse.de>
41627
41628 * Makerules (tests): Remove enable-check-abi protection.
41629 (check-abi-warn): Remove.
41630 (check-abi-%): Remove check-abi-warn usage.
41631
41632 * configure.in: Remove check-abi configure option.
41633 * configure: Regenerated.
41634 * config.make.in (enable-check-abi): Remove.
41635
6d5c57fa
AS
416362012-04-28 Andreas Schwab <schwab@linux-m68k.org>
41637
24c5d07e 41638 [BZ #14033]
ded5180a
AS
41639 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
41640 double functions to double *_finite functions.
41641
7e0d315d
AS
41642 [BZ #13941]
41643 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
41644 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
41645 LDBL_MIN_EXP.
41646 * stdio-common/Makefile (tests): Add tst-sprintf3.
41647 * stdio-common/tst-sprintf3.c: New file.
41648
6d5c57fa
AS
41649 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
41650 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
41651
0749ff8b
JM
416522012-04-28 Joseph Myers <joseph@codesourcery.com>
41653
41654 * conform/conformtest.pl: Remove duplicate typed-constant
41655 handling.
41656
8dbd5d7b
DM
416572012-04-28 David S. Miller <davem@davemloft.net>
41658
41659 * Makerules (%.abilist): Add vpath on sysdep_dirs.
41660 (check-abi-%): Remove AWK script prerequisite and explicit
41661 abilist directory.
41662 (check-abi): Rewrite to just diff the symlist with the abilist.
41663 (config-tls, config-abi-config): Delete, no longer used.
41664 (update-abi-%): Remove AWK script and explicit abilist directory.
41665 (update-abi): Rewrite to simply compare and conditionally copy the
41666 symlist and the sysdep abilist file. Remove update-abi-config
41667 checks.
41668 * abilist/ld.abilist: Remove.
41669 * abilist/libBrokenLocale.abilist: Remove.
41670 * abilist/libanl.abilist: Remove.
41671 * abilist/libcrypt.abilist: Remove.
41672 * abilist/libdl.abilist: Remove.
41673 * abilist/librt.abilist: Remove.
41674 * abilist/libthread_db.abilist: Remove.
41675 * abilist/libutil.abilist: Remove.
41676 * scripts/extract-abilist.awk: Remove.
41677 * scripts/merge-abilist.awk: Remove.
41678 * sysdeps/generic/libcidn.abilist: New file.
41679 * sysdeps/generic/libnss_compat.abilist: New file.
41680 * sysdeps/generic/libnss_db.abilist: New file.
41681 * sysdeps/generic/libnss_dns.abilist: New file.
41682 * sysdeps/generic/libnss_files.abilist: New file.
41683 * sysdeps/generic/libnss_hesiod.abilist: New file.
41684 * sysdeps/generic/libnss_nis.abilist: New file.
41685 * sysdeps/generic/libnss_nisplus.abilist: New file.
41686 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
41687 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
41688 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
41689 file.
41690 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
41691 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
41692 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
41693 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
41694 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
41695 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
41696 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
41697 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
41698 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
41699 file.
41700 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
41701 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
41702 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
41703 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
41704 file.
41705 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
41706 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
41707 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
41708 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
41709 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
41710 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
41711 file.
41712 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
41713 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
41714 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
41715 file.
41716 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
41717 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
41718 New file.
41719 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
41720 New file.
41721 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
41722 New file.
41723 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
41724 New file.
41725 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
41726 New file.
41727 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
41728 New file.
41729 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
41730 New file.
41731 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
41732 New file.
41733 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
41734 New file.
41735 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
41736 New file.
41737 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
41738 New file.
41739 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
41740 New file.
41741 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
41742 New file.
41743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
41744 file.
41745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
41746 New file.
41747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
41748 New file.
41749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
41750 file.
41751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
41752 New file.
41753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
41754 New file.
41755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
41756 file.
41757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
41758 New file.
41759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41760 New file.
41761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
41762 New file.
41763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
41764 New file.
41765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
41766 New file.
41767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
41768 New file.
41769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
41770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
41771 file.
41772 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41773 New file.
41774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
41775 file.
41776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
41777 file.
41778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
41779 file.
41780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
41781 file.
41782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
41783 file.
41784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41785 New file.
41786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
41787 file.
41788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
41789 file.
41790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41791 New file.
41792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
41793 file.
41794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
41795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
41796 file.
41797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
41798 New file.
41799 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
41800 file.
41801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
41802 file.
41803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
41804 file.
41805 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
41806 file.
41807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
41808 file.
41809 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41810 New file.
41811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
41812 file.
41813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
41814 file.
41815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
41816 New file.
41817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
41818 file.
41819 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41820 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
41821 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
41822 file.
41823 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
41824 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
41825 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
41826 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
41827 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
41828 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
41829 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
41830 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
41831 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
41832 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
41833 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
41834 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
41835 file.
41836 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
41837 New file.
41838 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
41839 file.
41840 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
41841 file.
41842 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
41843 file.
41844 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
41845 file.
41846 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
41847 file.
41848 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41849 New file.
41850 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
41851 New file.
41852 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
41853 file.
41854 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
41855 New file.
41856 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
41857 file.
41858 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
41859 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
41860 file.
41861 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
41862 New file.
41863 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
41864 file.
41865 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
41866 file.
41867 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
41868 file.
41869 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
41870 file.
41871 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
41872 file.
41873 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41874 New file.
41875 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
41876 New file.
41877 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
41878 file.
41879 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
41880 New file.
41881 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
41882 file.
41883
41d73a1b
JM
418842012-04-28 Joseph Myers <joseph@codesourcery.com>
41885
41886 * conform/conformtest.pl: Fix typo in handling typed-constant from
41887 allow-header.
41888
28aeeda4
JM
418892012-04-27 Joseph Myers <joseph@codesourcery.com>
41890
adae8f5e
JM
41891 * README: Cut down references to pre-2.6 Linux kernels and
41892 Linuxthreads. Update lists of configurations in libc and ports
41893 and sort alphabetically. Say "or newer" with Linux kernel version
41894 requirements.
41895
28aeeda4
JM
41896 * config.h.in [IS_IN_build]: Allow compiling without optimization.
41897
a462cb63
RA
418982012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41899
41900 [BZ #887]
41901 * math/libm-test.inc (logb_test_downward): New test to expose
41902 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
41903 rounding mode.
41904
6ad3493e
JM
419052012-04-27 Joseph Myers <joseph@codesourcery.com>
41906
41907 [BZ #14027]
41908 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
41909 to be done.
41910 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
41911 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
41912
2ce4f015
JM
419132012-04-26 Joseph Myers <joseph@codesourcery.com>
41914
5aeb141a
JM
41915 * sysdeps/unix/i386/brk.S: Remove file.
41916 * sysdeps/unix/i386/dl-brk.S: Likewise.
41917 * sysdeps/unix/i386/pipe.S: Likewise.
41918 * sysdeps/unix/i386/sigreturn.S: Likewise.
41919 * sysdeps/unix/i386/syscall.S: Likewise.
41920 * sysdeps/unix/i386/vfork.S: Likewise.
41921 * sysdeps/unix/i386/wait.S: Likewise.
41922
7143acae
JM
41923 * sysdeps/unix/common/tcsendbrk.c: Move to ...
41924 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
41925
2ce4f015
JM
41926 * configure.in (arm*-none*): Do not allow without
41927 --enable-hacker-mode.
41928 (netbsd*): Remove case setting base_os.
41929 (386bsd*): Likewise.
41930 (freebsd*): Likewise.
41931 (bsdi*): Likewise.
41932 (osf*): Likewise.
41933 (sunos*): Likewise.
41934 (ultrix*): Likewise.
41935 (newsos*): Likewise.
41936 (dynix*): Likewise.
41937 (*bsd*): Likewise.
41938 (sysv*): Likewise.
41939 (isc*): Likewise.
41940 (esix*): Likewise.
41941 (sco*): Likewise.
41942 (minix*): Likewise.
41943 (irix4*): Likewise.
41944 (irix6*): Likewise.
41945 (solaris[2-9]*): Likewise.
41946 (none): Likewise.
41947 * configure: Regenerated.
41948
0ac229c8
AZ
419492012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41950
41951 [BZ #11521]
41952 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
41953 overflow or cancellation in calculating denominator.
41954 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
41955 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
41956 down expression to avoid unexpected rounding in newer GCCs.
41957 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
41958
33f244f4
DM
419592012-04-26 David S. Miller <davem@davemloft.net>
41960
41961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
41962 long-double compat symbols.
41963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
41967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
41969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
41970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
41971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
41972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
41973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
41974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
41975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41976
cfa1f3e8
DM
419772012-04-25 David S. Miller <davem@davemloft.net>
41978
41979 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
41980 HWCAP_* values only after the memory barriers have been defined.
41981 (atomic_full_barrier): Define.
41982 (atomic_read_barrier): Define.
41983 (atomic_write_barrier): Define.
41984
6e236b92
SP
419852012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41986
41987 * shlib-versions: Add libgcc_s version information.
41988 * sysdeps/generic/libgcc_s.h: Remove.
41989 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
41990 libgcc_s.h.
41991 * sysdeps/gnu/unwind-resume.c: Likewise.
41992 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
41993
aab39a09
DM
419942012-04-25 David S. Miller <davem@davemloft.net>
41995
41996 * sysdeps/unix/sparc/brk.S: Delete.
41997 * sysdeps/unix/sparc/dl-brk.S: Delete.
41998 * sysdeps/unix/sparc/pipe.S: Delete.
41999 * sysdeps/unix/sparc/sysdep.S: Delete.
42000 * sysdeps/unix/sparc/sysdep.h: Delete.
42001 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
42002 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
42003 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
42004 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
42005 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
42006 (JUMPTARGET): Remove.
42007 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
42008 sysdeps/unix/sparc/sysdep.h
42009 (ENTRY, END): Remove.
42010 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42011
a3cc4f48
JM
420122012-04-25 Joseph Myers <joseph@codesourcery.com>
42013
2ed8cda2
JM
42014 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
42015 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
42016 -DIS_IN_build.
42017
35d76d59
JM
42018 * timezone/README: Update upstream location and email address for
42019 tzcode and tzdata.
42020 * timezone/zdump.c: Update from tzcode 2012b.
42021 * timezone/zic.c: Likewise.
42022
a3cc4f48
JM
42023 * configure.in (libc_cv_as_needed): Remove test.
42024 * configure: Regenerated.
42025 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
42026 conditional definition.
42027 [$(have-as-needed) != yes] (no-as-needed): Likewise.
42028 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
42029 * config.make.in (have-as-needed): Remove variable.
42030
ceab42c3
SP
420312012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42032 Paul Pluzhnikov <ppluzhnikov@google.com>
42033
42034 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
42035 strings correctly.
42036
3ce2865f
CLT
420372012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
42038
42039 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
42040 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
42041 * sysdeps/sh/strlen.S: Likewise.
42042
f37e0d68
JM
420432012-04-24 Joseph Myers <joseph@codesourcery.com>
42044
ae186e9a
JM
42045 * sysdeps/unix/fork.S: Remove file.
42046 * sysdeps/unix/i386/fork.S: Likewise.
42047 * sysdeps/unix/sparc/fork.S: Likewise.
42048
b96914af
JM
42049 * sysdeps/unix/system.c: Remove file.
42050 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
42051
f37e0d68
JM
42052 * sysdeps/unix/getegid.S: Remove file.
42053 * sysdeps/unix/geteuid.S: Likewise.
42054
87ef29ca
RM
420552012-04-24 Roland McGrath <roland@hack.frob.com>
42056
83bcd236
RM
42057 * scripts/check-localplt.awk: New file.
42058 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
42059 of diff.
42060 * scripts/data/localplt-generic.data: Add a comment.
42061
87ef29ca
RM
42062 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
42063 NODE when __dir_mkfile failed.
42064 * sysdeps/mach/hurd/symlinkat.c: Likewise.
42065 Reported by Ludovic Courtès <ludo@gnu.org>.
42066
e5a6e567
AJ
420672012-04-24 Andreas Jaeger <aj@suse.de>
42068
42069 * Makerules (common-clean): Also remove gen-as-const-headers
42070 files.
42071
c1820385
JM
420722012-04-24 Joseph Myers <joseph@codesourcery.com>
42073
42074 * Makerules (native-compile): Do not change working directory for
42075 build. Use $(OUTPUT_OPTION) in command.
42076 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
42077
94e02fc4
AZ
420782012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42079
42080 [BZ #13886]
42081 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
42082 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
42083 * math/libm-test.inc (floor_test): Add more tests.
42084 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
42085
3a533ca3
JM
420862012-04-24 Joseph Myers <joseph@codesourcery.com>
42087
940ab4b3
JM
42088 * sysdeps/unix/getdents.c: Remove file.
42089 * sysdeps/unix/sysv/getdents.c: Likewise.
42090 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
42091
90e037bd
JM
42092 * sysdeps/unix/syscalls.list (madvise): Add syscall from
42093 sysdeps/unix/mman/syscalls.list.
42094 (mmap): Likewise.
42095 (mprotect): Likewise.
42096 (msync): Likewise.
42097 (munmap): Likewise.
42098 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
42099 * sysdeps/unix/mman/syscalls.list: Remove.
42100 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
42101
3a533ca3
JM
42102 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
42103 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
42104 * configure: Regenerated.
42105 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
42106 $(libgcc_s_suffix).
42107 * config.make.in (libgcc_s_suffix): Remove variable.
42108
1ad743de
JM
421092012-04-23 Joseph Myers <joseph@codesourcery.com>
42110
4ad451e2
JM
42111 * sysdeps/unix/sysv/gethostname.c: Move to ...
42112 * sysdeps/posix/gethostname.c: ... here.
42113
5e37ce39
JM
42114 * sysdeps/unix/execve.S: Remove file.
42115
1ad743de
JM
42116 * sysdeps/unix/_exit.S: Remove file.
42117
4e681b5b
AJ
421182012-04-23 Andreas Jaeger <aj@suse.de>
42119
42120 [BZ #13739]
42121 * manual/Makefile: Remove make dist support, there's no
42122 need for a stand-alone documentation tar ball.
42123 (TEXI2DVI): Define always, it's not in Makeconfig.
42124 (dist): Removed.
42125 (tar-it): Removed.
42126 (edition): Removed.
42127 (glibc-doc-$(edition).tar): Removed
42128 (%.Z): Removed.
42129 (%.gz): Removed.
42130 (%.uu): Removed.
42131 (ETAGS): Remove, it's in Makeconfig.
42132 (move-if-change): Remove, it's in Makeconfig.
42133
38686a03 421342012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
42135
42136 [BZ #13970]
42137 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
42138 (strtod, strtof, strtold, strtol, strtoul, strtoq)
42139 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
42140 (strtod_l, strtof_l, strtold_l): Remove __wur.
42141 It is not necessarily an error to ignore strtol's return value.
42142 One can reliably look at the stored endptr to decide whether
42143 the number had valid syntax.
42144
7c0616fa
AJ
421452012-04-21 Andreas Jaeger <aj@suse.de>
42146
803cb6b7 42147 [BZ #13739]
7c0616fa
AJ
42148 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
42149
b0fe253f
JM
421502012-04-21 Joseph Myers <joseph@codesourcery.com>
42151
42152 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
42153 * sysdeps/unix/sysv/Versions: Remove file.
42154
8280f22d
MT
421552012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
42156
42157 [BZ #13927]
42158 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42159
75ce411f 421602012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
42161
42162 [BZ #7064]
42163 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
42164 version from __vm86.
42165
097d59fa
JM
421662012-04-20 Joseph Myers <joseph@codesourcery.com>
42167
a90f3bcb
JM
42168 * sysdeps/unix/common/lxstat.c: Remove file.
42169 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
42170
edc7ea78
JM
42171 * sysdeps/unix/sysv/Makefile: Remove file.
42172
cb78c221
JM
42173 * sysdeps/unix/sysv/direct.h: Remove file.
42174
efa6a45f
JM
42175 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
42176 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
42177 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
42178 * sysdeps/unix/sysv/bits/signum.h: Likewise.
42179 * sysdeps/unix/sysv/bits/stat.h: Likewise.
42180 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
42181 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
42182
9c9f2d0c
JM
42183 * sysdeps/unix/sysv/setrlimit.c: Remove file.
42184
4541c83b
JM
42185 * sysdeps/unix/xmknod.c: Remove file.
42186 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
42187
f5d153a0
JM
42188 * sysdeps/unix/sysv/settimeofday.c: Remove file.
42189
aa746595
JM
42190 * sysdeps/unix/sysv/i386/time.S: Remove file.
42191
cce5905e
JM
42192 * sysdeps/unix/fxstat.c: Remove file.
42193 * sysdeps/unix/xstat.c: Likewise.
42194 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
42195
37fa3841
JM
42196 * sysdeps/unix/sysv/sigaction.c: Remove file.
42197
ff1962a3
JM
42198 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
42199 (sysdep_headers): Remove variable.
42200 [termio.h not in sysdep_headers] (generated): Likewise.
42201 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
42202 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
42203 * sysdeps/unix/sysv/tcdrain.c: Likewise.
42204 * sysdeps/unix/sysv/tcflow.c: Likewise.
42205 * sysdeps/unix/sysv/tcflush.c: Likewise.
42206 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
42207 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
42208 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
42209 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
42210 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
42211
e7740d31
JM
42212 * sysdeps/unix/siglist.c: Remove file.
42213
ee06f18b
JM
42214 * sysdeps/unix/getppid.S: Remove file.
42215
097d59fa
JM
42216 * sysdeps/unix/mkdir.c: Remove file.
42217 * sysdeps/unix/rmdir.c: Likewise.
42218
ff3d51ec
AS
422192012-04-19 Andreas Schwab <schwab@linux-m68k.org>
42220
42221 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
42222 ERR_MAX value.
42223 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
42224 errlist-compat value.
42225
50f81fd7
DM
422262012-04-18 David S. Miller <davem@davemloft.net>
42227
42228 * sysdeps/generic/memcopy.h (reg_char): Delete.
42229 * debug/strcat_chk.c: Use char, not reg_char.
42230 * debug/strcpy_chk.c: Likewise.
42231 * debug/strncat_chk.c: Likewise.
42232 * debug/strncpy_chk.c: Likewise.
42233 * string/memchr.c: Likewise.
42234 * string/memrchr.c: Likewise.
42235 * string/rawmemchr.c: Likewise.
42236 * string/strcat.c: Likewise.
42237 * string/strchr.c: Likewise.
42238 * string/strchrnul.c: Likewise.
42239 * string/strcmp.c: Likewise.
42240 * string/strcpy.c: Likewise.
42241 * string/strncat.c: Likewise.
42242 * string/strncmp.c: Likewise.
42243 * string/strncpy.c: Likewise.
42244
8ff41c46
WS
422452012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42246
42247 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
42248 __builtin_memcopy is called when src and dest ranges are known to not
42249 overlap.
42250
6b652f46
WS
422512012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42252
42253 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
42254 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
42255 fwd_align_merge macro call.
42256 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
42257 bwd_align_merge macro call.
42258 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42259
b282631e
WS
422602012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42261
42262 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
42263 bwd_align_merge macros.
42264 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
42265 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
42266 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42267
95aa737c
DM
422682012-04-18 David S. Miller <davem@davemloft.net>
42269
42270 * sysdeps/sparc/sparc64/memcopy.h: Delete.
42271
7a99a614
AJ
422722012-04-18 Andreas Jaeger <aj@suse.de>
42273
42274 [BZ# 6794]
42275 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
42276 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
42277 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42278
42279 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
42280 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
42281 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42282
42283 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
42284 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
42285 Adjust for changed ldbl-128 files.
42286
42287 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
42288 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
42289 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42290
e5270c23
DM
422912012-04-17 David S. Miller <davem@davemloft.net>
42292
42293 * sysdeps/sparc/sparc32/memcopy.h: Delete.
42294
fb5e92c9
AS
422952012-04-17 Andreas Schwab <schwab@linux-m68k.org>
42296
42297 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
42298 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
42299 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
42300 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
42301 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42302 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
42303
76da7265
AZ
423042012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42305
42306 [BZ #6794]
42307 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
42308 * math/libm-test.inc: Add ilogb errno and exception tests.
42309 * math/w_ilogb.c: New file: ilogb wrapper.
42310 * math/w_ilogbf.c: New file: ilogbf wrapper.
42311 * math/w_ilogbl.c: New file: ilogbl wrapper.
42312 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
42313 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
42314 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
42315 exception being thrown with 0.0 as argument.
42316 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
42317 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
42318 exception being thrown with 0.0 as argument.
42319 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
42320 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42321 exception being thrown with 0.0 as argument.
42322 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
42323 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42324 exception being thrown with 0.0 as argument.
42325 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
42326 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 42327 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
42328 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
42329 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
42330 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
42331 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
42332 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
42333 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
42334
0396e69d
PB
423352012-04-17 Petr Baudis <pasky@ucw.cz>
42336
42337 * include/sys/uio.h: Change __vector to __iovec to avoid clash
42338 with altivec.
42339
750b5926
MP
423402012-04-16 Marek Polacek <polacek@redhat.com>
42341
42342 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
42343
751728a1
MP
423442012-04-16 Marek Polacek <polacek@redhat.com>
42345
42346 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
42347 operands of fdivp instruction.
42348
34a27407
L
423492012-04-13 H.J. Lu <hongjiu.lu@intel.com>
42350
42351 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
42352 * elf/tst-auditmod3b.c: Likewise.
42353 * elf/tst-auditmod4b.c: Likewise.
42354 * elf/tst-auditmod5b.c: Likewise.
42355 * elf/tst-auditmod6b.c: Likewise.
42356 * elf/tst-auditmod6c.c: Likewise.
42357 * elf/tst-auditmod7b.c: Likewise.
42358 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
42359 * sysdeps/x86_64/preconfigure.in: Likewise.
42360 * sysdeps/x86_64/preconfigure: Regenerated.
42361
7e73e17d
L
423622012-04-13 H.J. Lu <hongjiu.lu@intel.com>
42363
42364 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
42365 __ILP32__.
42366
c7a6ab72
AB
423672012-04-13 Antoine Balestrat <merkil33@gmail.com>
42368
42369 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42370 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
42371
a9e8e0e0
CL
423722012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
42373
42374 [BZ #13973]
42375 * locale/iso-639.def: Fix gl language name. Spotted by
42376 Yaron Shahrabani.
42377
ec98af7d
RM
423782012-04-12 Roland McGrath <roland@hack.frob.com>
42379
42380 [BZ #2074]
42381 * libio/libio.h (__io_write_fn): Update comment.
42382
247c3ede
PB
423832012-04-12 Petr Baudis <pasky@ucw.cz>
42384
42385 [BZ #2074]
42386 * stdio.texi (Hook Functions): The user provided writer function
42387 is not allowed to return -1.
42388
55939d6d
DM
423892012-04-11 David S. Miller <davem@davemloft.net>
42390
42391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42392
90020f5a
MF
423932012-04-11 Mike Frysinger <vapier@gentoo.org>
42394
42395 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
42396 Add a leading slash to rtkaio.
42397
288f9098
JM
423982012-04-11 Jim Meyering <meyering@redhat.com>
42399
90020f5a
MF
42400 [BZ #11959]
42401 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
42402 It is not necessarily an error to ignore fwrite's return
42403 value. One can reliably use ferror to test for errors after
42404 the fact.
288f9098 42405
4be2b570
L
424062012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42407
42408 * bits/types.h (__snseconds_t): New type.
42409 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
42410
42411 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
42412 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42413 (__SNSECONDS_T_TYPE): Likewise.
42414 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42415 (__SNSECONDS_T_TYPE): Likewise.
42416 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42417 (__SNSECONDS_T_TYPE): Likewise.
42418
288f9098 424192012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
42420
42421 [BZ #2636]
42422 * manual/time.texi (Processor Time): Return type of times is
42423 elapsed real time since an arbitrary point in the past.
42424 (CPU Time): Move CLK_TCK from here...
42425 (Processor Time): ...to here. Correct description.
42426 * manual/conf.texi (Constants for Sysconf): Correct description of
42427 _SC_CLK_TCK.
42428
d7dd4413
DM
424292012-04-10 David S. Miller <davem@davemloft.net>
42430
42431 [BZ #13967]
42432 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
42433 where the is a gap between DT_REL(A) and DT_JMPREL.
42434
b46068fc
L
424352012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42436
42437 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
42438 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42439 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42440
73d65cc3
SP
424412012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
42442
42443 * elf/dl-support.c (_dl_inhibit_cache): New variable.
42444 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
42445 (dl_main): Handle --inhibit-cache.
42446 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
42447 _dl_inhibit_cache.
42448 * elf/dl-load.c (_dl_map_object): Use it.
42449 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
42450
bcc8d661
JM
424512012-04-09 Joseph Myers <joseph@codesourcery.com>
42452
8f9a2fae
JM
42453 [BZ #13872]
42454 * sysdeps/i386/fpu/e_powl.S (p78): New object.
42455 (__ieee754_powl): Saturate large exponents rather than testing for
42456 overflow of y*log2(x).
42457 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42458 * math/libm-test.inc (pow_test): Do not permit spurious overflow
42459 exceptions.
42460
bcc8d661
JM
42461 [BZ #11521]
42462 * math/s_ctan.c: Include <float.h>.
42463 (__ctan): Avoid internal overflow or cancellation in calculating
42464 denominator.
42465 * math/s_ctanf.c: Likewise.
42466 * math/s_ctanl.c: Likewise.
42467 * math/s_ctanh.c: Likewise.
42468 * math/s_ctanhf.c: Likewise.
42469 * math/s_ctanhl.c: Likewise.
42470 * math/libm-test.inc (ctan_test): Add more tests.
42471 (ctanh_test): Likewise.
42472 * sysdeps/i386/fpu/libm-test-ulps: Update.
42473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42474
823fbbb4
AJ
424752012-04-09 Andreas Jaeger <aj@suse.de>
42476
03879793
AJ
42477 [BZ #6894]
42478 * manual/filesys.texi (Directory Entries): Mention that d_namlen
42479 is an optional BSD extension.
42480
823fbbb4
AJ
42481 [BZ #10254]
42482 * manual/stdio.texi (Opening Streams): Document additional fopen
42483 parameters.
42484
8de131cb
RM
424852012-04-09 Roland McGrath <roland@hack.frob.com>
42486
42487 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
42488 %eax without telling the compiler.
42489
c0ed9d7d
CD
424902012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
42491
42492 [BZ # 13963]
42493 * manual/install.texi: Use sourceware.org.
42494
c483f6b4
JM
424952012-04-09 Joseph Myers <joseph@codesourcery.com>
42496
d7dd9453
JM
42497 [BZ #13873]
42498 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
42499 (__ieee754_pow): Generate overflow and underflow using huge*huge
42500 and tiny*tiny rather than just returning constant infinity or zero
42501 for large exponents.
42502 * math/libm-test.inc (pow_test): Require overflow exceptions for
42503 applicable cases of large exponents.
42504
c483f6b4
JM
42505 [BZ #706]
42506 * sysdeps/i386/fpu/e_pow.S (p10): New object.
42507 (__ieee754_pow): Use iterative multiplication algorithm only for
42508 integer exponents with absolute value below 1024. Check for odd
42509 integer exponents when using algorithm for real exponents.
42510 * math/libm-test.inc (pow_test): Add more tests.
42511 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42512
d2de7579
JM
425132012-04-08 Joseph Myers <joseph@codesourcery.com>
42514
42515 [BZ #13705]
42516 * math/libm-test.inc (exp_test): Do not allow overflow exception
42517 on underflow test.
42518
f77f1232
AJ
425192012-04-08 Aurelien Jarno <aurelien@aurel32.net>
42520
42521 [BZ #13705]
42522 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
42523 instead of __kernel_standard_f.
42524
3884932b
MF
425252012-04-08 Mike Frysinger <vapier@gentoo.org>
42526
42527 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
42528 * sysdeps/x86_64/memset_chk.S: Likewise.
42529
54472e9c
AJ
425302012-04-08 Andreas Jaeger <aj@suse.de>
42531
6ab0fbfc
AJ
42532 [BZ #10153]
42533 * manual/startup.texi (Environment Access): Describe return value
42534 for putenv and setenv.
42535
61efba8c
AJ
42536 [BZ #6895]
42537 * manual/filesys.texi (Directory Entries): Add description for
42538 DT_LNK.
42539
95c3f29a
AJ
42540 [BZ #6890]
42541 * manual/filesys.texi (Directory Entries): Clarify that it's file
42542 system not operating system in the description of DT_UNKNOWN.
42543
54472e9c
AJ
42544 [BZ #6578]
42545 * manual/syslog.texi (closelog): Fix reference, it's openlog.
42546
624254b1
SC
425472012-04-08 Stephen Compall <s11@member.fsf.org>
42548
42549 [BZ #6649]
42550 * manual/llio.texi (Opening and Closing Files): Add cross
42551 reference to explain mode argument.
42552
1e4920e0
MF
425532012-04-07 Mike Frysinger <vapier@gentoo.org>
42554
42555 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
42556 * sysdeps/x86_64/memset_chk.S: Likewise.
42557
5ed848f3
DM
425582012-04-07 David S. Miller <davem@davemloft.net>
42559
42560 * elf/elf.h (R_SPARC_WDISP10): Define.
42561 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
42562 R_SPARC_SIZE32.
42563 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
42564 R_SPARC_SIZE64 and R_SPARC_H34.
42565
96154cd8
CD
425662012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
42567
42568 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
42569 conditions and remove no longer applicable assertion.
42570
9904dc47
L
425712012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42572
42573 * bits/byteswap.h: Include <features.h>.
42574 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42575 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42576
f8887d0a
L
425772012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42578
42579 * bits/byteswap.h (__bswap_16): Removed.
42580 Include <bits/byteswap-16.h> to get __bswap_16.
42581 * sysdeps/i386/bits/byteswap.h: Likewise.
42582 * sysdeps/s390/bits/byteswap.h: Likewise.
42583 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42584 * bits/byteswap-16.h: New file.
42585 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42586 * sysdeps/s390/bits/byteswap-16.h: Likewise.
42587 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
42588 * string/Makefile (headers): Add bits/byteswap-16.h.
42589
62470f60
PP
425902012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42591
42592 [BZ #13895]
42593 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
42594 extra indirection.
42595 * nss/Makefile (tests-static, tests): Add tst-nss-static.
42596 * nss/tst-nss-static.c: New.
42597
4dad7bab
RM
425982012-04-06 Robert Millan <rmh@gnu.org>
42599
42600 [BZ #6486]
42601 * manual/llio.texi (File Position Primitive): lseek
42602 refers to WHENCE when it really means OFFSET.
42603
e9142a17
AJ
426042012-04-06 Andreas Jaeger <aj@suse.de>
42605
2c040eff
AJ
42606 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
42607 strncmp declarations.
42608
e9142a17
AJ
42609 * abilist/libc.abilist: Add __poll and __ppoll.
42610
ff9f1c5f
DM
426112012-04-05 David S. Miller <davem@davemloft.net>
42612
dcd2ae90
DM
42613 * scripts/check-local-headers.sh: Accept a host triplet in the
42614 path matched by the exclude regexp.
42615
993eb054
DM
42616 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
42617 definition.
42618 * sysdeps/powerpc/powerpc32/dl-machine.h
42619 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
42620 * sysdeps/s390/s390-32/dl-machine.h
42621 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42622 * sysdeps/sparc/sparc32/dl-machine.h
42623 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42624 * sysdeps/sparc/sparc64/dl-machine.h
42625 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42626
ff9f1c5f
DM
42627 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
42628 lazy binding.
48e2e132 42629 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
42630 undefined symbol errors.
42631
48e2e132 42632 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
42633 DT_NEEDED entries.
42634
e80d6f94
MM
426352012-04-05 Michael Matz <matz@suse.de>
42636
42637 [BZ #13592]
42638 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
42639
349fa79f
AJ
426402012-04-05 Andreas Jaeger <aj@suse.de>
42641
42642 [BZ #13908]
42643 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
42644 comment.
42645
f402708f
KK
426462012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42647
42648 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
42649 which ROUND is no valid rounding mode.
42650
2ecccfc9
KK
426512012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42652
42653 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
42654 read again.
42655 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
42656
8a53f50f
KK
426572012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42658
42659 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
42660 an exception using FPU order intentionally.
42661
426622012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42663
42664 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
42665 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
42666 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
42667 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
42668
d653abb7
SJ
426692012-04-05 Simon Josefsson <simon@josefsson.org>
42670
42671 [BZ #12340]
42672 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
42673 EINVAL when BUFLEN is too smal.
42674
c3b1bf7d
TS
426752012-04-05 Thomas Schwinge <thomas@codesourcery.com>
42676
42677 [BZ #13553]
42678 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
42679 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
42680
b1aa60f3
AJ
426812012-04-03 Andreas Jaeger <aj@suse.de>
42682
c3b1bf7d 42683 [BZ #13938]
67f60a26
AJ
42684 * manual/setjmp.texi (System V contexts): Fix sentence.
42685
b1aa60f3
AJ
42686 [BZ #13926]
42687 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
42688 New macro for this case.
42689 [!__GNUC__] (__bswap_64): New inline function for this case.
42690 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42691 * bits/byteswap.h: Likewise.
42692 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
42693 ull, guard with __GLIBC_HAVE_LONG_LONG.
42694
42695 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
42696 __GLIBC_HAVE_LONG_LONG.
42697
42698 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
42699 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
42700
39c59c35
TMQMF
427012012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42702
42703 [BZ #13691]
42704 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
42705 inptr and inend, rather than using last_ch.
42706
135ffda8
DM
427072012-04-02 David S. Miller <davem@davemloft.net>
42708
42709 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
42710 * stdio-common/printf-parse.h (read_int): Change return type to
42711 'int', return -1 on INT_MAX overflow.
42712 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
42713 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
42714 overflows INT_MAX. Check for overflow of in-format-string precision
42715 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
42716 SIZE_MAX not INT_MAX for integer overflow test.
42717 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
42718 skip the construct in the format string but do not record anything.
42719 * stdio-common/bug22.c: Adjust to test both width/prevision
42720 INT_MAX overflow as well as total length INT_MAX overflow. Check
42721 explicitly for proper errno values.
42722
228c019e
TS
427232012-04-02 Thomas Schwinge <thomas@codesourcery.com>
42724
302cadd3
TS
42725 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
42726 CHAR_MAX.
42727 * string/test-strcmp.c [! WIDE]: Likewise.
42728 * time/tst-mktime2.c: Likewise for INT_MAX.
42729 * string/test-string.h: #include <sys/param.h> for MIN.
42730
228c019e
TS
42731 * csu/init-first.c (__libc_init_first): Call __ctype_init.
42732 * sysdeps/i386/init-first.c (init): Likewise.
42733 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
42734 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
42735 * sysdeps/sh/init-first.c (init): Likewise.
42736
cfa633f5
UD
427372012-04-01 Ulrich Drepper <drepper@gmail.com>
42738
42739 * po/ru.po: Update from translation team.
d1635ef8 42740 * po/vi.po: Likewise.
cfa633f5 42741
6cd0a5ea
SP
427422012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
42743
42744 * resolv/nss_dns/dns-host.c: Merge copyright years.
42745
4b43400f
LD
427462012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42747
42748 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42749 Optimize memcpy with prefetch if
42750 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
42751 src, dst pointers have unequal 16 byte alignments.
42752
48c41d04
SP
427532012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42754
42755 [BZ #13928]
42756 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
42757 from a CNAME entry and return the minimum ttl for the query.
42758 (gaih_getanswer_slice): Likewise.
42759
b8dc394d
JL
427602012-03-30 Jeff Law <law@redhat.com>
42761
42762 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
42763 due to long keys.
42764 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
42765 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
42766
2f5a5ed0
JL
42767 * resolv/nss_dns/dns-host.c: Update copyright year.
42768
1d39e359
UD
427692012-03-30 Ulrich Drepper <drepper@gmail.com>
42770
c030f70c 42771 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 42772 requests to save a system call. Fix check that all bytes are sent.
c030f70c 42773
1d39e359
UD
42774 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
42775 comments for sendmmsg.
42776
427772012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
42778
42779 [BZ #13691]
42780 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
42781 with only 1 character between 0x0041 and 0x01b0.
42782 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
42783 * wcsmbs/tst-mbsnrtowcs.c: New file.
42784
20fde227
DM
427852012-03-29 David S. Miller <davem@davemloft.net>
42786
42787 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
42788 small copies by hand.
42789
984a4237
JL
427902012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42791
42792 [BZ #13761]
57f41c40
AS
42793 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
42794 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
42795 group memberships.
984a4237 42796
18c9d62b
DM
427972012-03-28 David S. Miller <davem@davemloft.net>
42798
88d85d4f
DM
42799 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
42800 that branches into memcpy.
42801 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42802 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
42803 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42804 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
42805 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
42806 bits.
42807 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
42808 implementation too.
42809 * sysdeps/sparc/mempcpy.S: New file.
42810
e5aa83e1
DM
42811 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
42812 the IFUNC routine in the libc case.
42813 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42814
88570753
DM
42815 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
42816 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
42817 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
42818 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
42819 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
42820 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
42821 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
42822 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
42823
249d7567
DM
42824 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
42825 loop to 256 bytes instead of 64 bytes and fix test signedness.
42826
18c9d62b
DM
42827 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
42828 * sysdeps/sparc/sparc32/Makefile: rather than here...
42829 * sysdeps/sparc/sparc64/Makefile: and here.
42830
05f3d1f6
UD
428312012-03-28 Ulrich Drepper <drepper@gmail.com>
42832
42833 * malloc/mallocbug.c: Avoid warnings about unused variables.
42834
86ae07a8
JL
428352012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
42836
42837 [BZ #13760]
42838 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
42839 in the right place. Discard and retry query if response is
42840 larger than input buffer size.
42841
41bf21a1
JM
428422012-03-28 Joseph Myers <joseph@codesourcery.com>
42843
d6270972
JM
42844 [BZ #369]
42845 [BZ #2678]
42846 [BZ #3866]
42847 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
42848 x for large integer exponent.
42849 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42850 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
42851 sign of result as needed afterwards.
42852 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42853 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
42854 result for underflowing pow the same as for overflow.
42855 (__kernel_standard_l): Handle powl overflow and underflow here
42856 rather than calling __kernel_standard.
42857 * math/libm-test.inc (pow_test): Add more tests.
42858
414fca03 42859 [BZ #3868]
41bf21a1
JM
42860 [BZ #13879]
42861 [BZ #13910]
42862 [BZ #13911]
42863 [BZ #13912]
42864 [BZ #13913]
42865 [BZ #13915]
42866 [BZ #13916]
42867 [BZ #13917]
42868 [BZ #13918]
42869 [BZ #13919]
42870 [BZ #13920]
42871 [BZ #13921]
42872 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
42873 * sysdeps/ieee754/k_standard.c: Include <float.h>.
42874 (__kernel_standard_l): New function.
42875 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
42876 __kernel_standard.
42877 * math/w_acosl.c (__acosl): Likewise.
42878 * math/w_asinl.c (__asinl): Likewise.
42879 * math/w_atan2l.c (__atan2l): Likewise.
42880 * math/w_atanhl.c (__atanhl): Likewise.
42881 * math/w_coshl.c (__coshl): Likewise.
42882 * math/w_exp10l.c (__exp10l): Likewise.
42883 * math/w_exp2l.c (__exp2l): Likewise.
42884 * math/w_fmodl.c (__fmodl): Likewise.
42885 * math/w_hypotl.c (__hypotl): Likewise.
42886 * math/w_j0l.c (__j0l, __y0l): Likewise.
42887 * math/w_j1l.c (__j1l, __y1l): Likewise.
42888 * math/w_jnl.c (__jnl, __ynl): Likewise.
42889 * math/w_lgammal.c (__lgammal): Likewise.
42890 * math/w_log10l.c (__log10l): Likewise.
42891 * math/w_log2l.c (__log2l): Likewise.
42892 * math/w_logl.c (__logl): Likewise.
42893 * math/w_powl.c (__powl): Likewise.
42894 * math/w_remainderl.c (__remainderl): Likewise.
42895 * math/w_scalbl.c (sysv_scalbl): Likewise.
42896 * math/w_sinhl.c (__sinhl): Likewise.
42897 * math/w_sqrtl.c (__sqrtl): Likewise.
42898 * math/w_tgammal.c (__tgammal): Likewise.
42899 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
42900 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
42901 * math/libm-test.inc (acos_test): Add more tests.
42902 (acosh_test): Likewise.
42903 (asin_test): Likewise.
42904 (atanh_test): Likewise.
42905 (exp_test): Likewise.
42906 (exp10_test): Likewise.
42907 (exp2_test): Likewise.
42908 (expm1_test): Likewise.
42909 (lgamma_test): Likewise.
42910 (log_test): Likewise.
42911 (log10_test): Likewise.
42912 (log1p_test): Likewise.
42913 (log2_test): Likewise.
42914 (pow_test): Do not allow some spurious overflow exceptions.
42915 (sqrt_test): Add more tests.
42916 (tgamma_test): Likewise.
42917 (y0_test): Likewise.
42918 (y1_test): Likewise.
42919 (yn_test): Likewise.
42920
dd62fda6
AB
429212012-03-27 Anton Blanchard <anton@samba.org>
42922
42923 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
42924 MAP_HUGETLB.
42925 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42926 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42927 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42928
1e3cdfda
AJ
429292012-03-27 David S. Miller <davem@davemloft.net>
42930
b855ab85
DM
42931 * conform/Makefile: Run run-conformtest.sh using $(BASH).
42932
1e3cdfda
AJ
42933 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
42934 have-as-vis3 check.
42935
429362012-03-27 Andreas Jaeger <aj@suse.de>
42937
42938 * sysdeps/x86_64/elf/configure.in: Moved to ...
42939 * sysdeps/x86_64/configure.in: ... here.
42940 * sysdeps/x86_64/elf/start.S: Moved to ...
42941 * sysdeps/x86_64/start.S: ... here.
42942 * sysdeps/x86_64/elf/configure: Delete.
42943
42944 * sysdeps/x86_64/configure.in: Merge contents from
42945 sysdeps/i386/configure.in (without i686 check).
42946
42947 * sysdeps/i386/elf/Versions: Merge into ...
42948 * sysdeps/i386/Versions: ... this.
42949 * sysdeps/i386/elf/Versions: Delete file.
42950 * sysdeps/i386/elf/start.S: Moved to ...
42951 * sysdeps/i386/start.S: ...here.
42952 * sysdeps/i386/elf/configure.in: Merge into...
42953 * sysdeps/i386/configure.in: ...here.
42954 * sysdeps/i386/elf/configure.in: Delete file.
42955 * sysdeps/i386/elf/configure: Delete file.
42956
42957 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
42958 * debug/backtracesyms.c: ... here.
42959 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
42960 * debug/backtracesymsfd.c: ... here.
42961 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
42962 * sysdeps/generic/ifunc-sel.h: ... here.
42963
42964 * sysdeps/unix/i386/start.c: Delete file.
42965 * sysdeps/unix/sparc/start.c: Delete file.
42966 * sysdeps/unix/start.c: Delete file.
42967
42968 * sysdeps/sh/elf/configure.in: Moved to ...
42969 * sysdeps/sh/configure.in: ... here.
42970 * sysdeps/sh/elf/start.S: Moved to ...
42971 * sysdeps/sh/start.S: ... here.
42972 * sysdeps/sh/elf/configure: Delete file.
42973
42974 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
42975 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
42976 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
42977 * sysdeps/powerpc/powerpc64/entry.h: ... here.
42978 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
42979 * sysdeps/powerpc/powerpc64/start.S: here.
42980 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
42981 * sysdeps/powerpc/powerpc64/Makefile: ... this.
42982 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
42983 * sysdeps/powerpc/powerpc64/configure.in: ... this.
42984 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
42985
42986 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
42987 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
42988 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
42989 * sysdeps/powerpc/powerpc32/start.S: ... here.
42990 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
42991 * sysdeps/powerpc/powerpc32/configure.in: ... this.
42992 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
42993
42994 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
42995 * sysdeps/powerpc/ifunc-sel.h: ... here.
42996 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
42997 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
42998
42999 * sysdeps/sparc/elf/configure.in: Moved to ...
43000 * sysdeps/sparc/configure.in: ... here.
43001 * sysdeps/sparc/elf/configure: Delete file.
43002 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
43003 * sysdeps/sparc/sparc32/start.S: ... here.
43004 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
43005 * sysdeps/sparc/sparc64/start.S: ... here.
43006 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
43007 * sysdeps/sparc/sparc32/Makefile: ... this.
43008 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
43009 * sysdeps/sparc/sparc64/Makefile: ... this.
43010
43011 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
43012 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
43013 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
43014 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
43015 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
43016 * sysdeps/s390/s390-32/setjmp.S: ... here.
43017 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
43018 * sysdeps/s390/s390-32/configure.in: ... here.
43019 * sysdeps/s390/s390-32/elf/configure: Delete file.
43020 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
43021 * sysdeps/s390/s390-32/start.S: ... here.
43022
43023 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
43024 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
43025 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
43026 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
43027 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
43028 * sysdeps/s390/s390-64/setjmp.S: ... here.
43029 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
43030 * sysdeps/s390/s390-64/configure.in: ... here
43031 * sysdeps/s390/s390-64/elf/configure: Delete file.
43032 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
43033 * sysdeps/s390/s390-64/start.S: ... here.
43034 * sysdeps/s390/s390-64/elf/configure: Delete.
43035
43036 * configure.in: Remove support for elf directories in sysdeps.
43037
43038 * configure: Regenerated.
43039 * sysdeps/i386/configure: Regenerated.
43040 * sysdeps/powerpc/powerpc32/configure: Regenerated.
43041 * sysdeps/powerpc/powerpc64/configure: Regenerated.
43042 * sysdeps/s390/s390-32/configure: Regenerated.
43043 * sysdeps/s390/s390-64/configure: Regenerated.
43044 * sysdeps/sh/configure: Regenerated.
43045 * sysdeps/sparc/configure: Regenerated.
43046 * sysdeps/x86_64/configure: Regenerated.
43047
a3f61311
AS
430482012-03-26 Andreas Schwab <schwab@linux-m68k.org>
43049
c876e002
AS
43050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43051
a3f61311
AS
43052 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
43053 denormal result into account.
43054
ac4c54f0
RM
430552012-03-25 Roland McGrath <roland@hack.frob.com>
43056
43057 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
43058 Reported by Allan McRae <allan@archlinux.org>.
43059
6a9b9c02
JL
430602012-03-23 Jeff Law <law@redhat.com>
43061
43062 * nss/getnssent.c (__nss_getent): Fix typo.
43063
4c42a0c1
DM
430642012-03-23 David S. Miller <davem@davemloft.net>
43065
43066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43067
1532c7ac
L
430682012-03-23 H.J. Lu <hongjiu.lu@intel.com>
43069
43070 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
43071 to pad to uint64_t for each field.
43072 (dl_tls_index): Replace unsigned long with uint64_t.
43073
3ff42526
PP
430742012-03-23 Daniel Jacobowitz <dmj@google.com>
43075 Paul Pluzhnikov <ppluzhnikov@google.com>
43076
43077 [BZ #6528]
43078 * grp/Makefile (otherlibs): Don't set it.
43079 * inet/Makefile (otherlibs): Likewise.
43080 * login/Makefile (otherlibs): Likewise.
43081 * nscd/Makefile (otherlibs): Likewise.
43082 * posix/Makefile (otherlibs): Likewise.
43083 * pwd/Makefile (otherlibs): Likewise.
43084 * rt/Makefile (otherlibs): Likewise.
43085 * sunrpc/Makefile (otherlibs): Likewise.
43086 * nss/Makefile (otherlibs): Likewise.
43087 Add libnss_files to routines and static-only-routines.
43088 ($(objpfx)getent): Remove rule.
43089 * resolv/Makefile: Add libnss_dns and libresolv to routines and
43090 static-only-routines.
43091
7c69cd14
JM
430922012-03-22 Joseph Myers <joseph@codesourcery.com>
43093
43094 [BZ #13892]
43095 * math/s_cexp.c: Include <float.h>.
43096 (__cexp): Handle exp result overflowing not necessarily
43097 overflowing both real and imaginary parts of result.
43098 * math/s_cexpf.c: Likewise.
43099 * math/s_cexpl.c: Likewise.
43100 * math/libm-test.inc (cexp_test): Add more tests.
43101 * sysdeps/i386/fpu/libm-test-ulps: Update.
43102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43103
81b035fe
L
431042012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43105
43106 * include/link.h (ELFW): New macro.
43107 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
43108 Replace ELF64_R_TYPE with ELFW(R_TYPE).
43109
1da7940c
L
431102012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43111
43112 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
43113 with uint64_t.
43114
b749dbb9
L
431152012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43116
43117 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
43118 declaration.
43119 (struct La_x32_retval): Likewise.
43120
2ff87f3f
L
431212012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43122
43123 * sysdeps/x86_64/preconfigure.in: New file.
43124 * sysdeps/x86_64/preconfigure: New generated file.
43125
c0df8e69
JM
431262012-03-22 Joseph Myers <joseph@codesourcery.com>
43127
48e44791
JM
43128 [BZ #13824]
43129 * math/e_exp2l.c: Include <float.h>.
43130 (__ieee754_exp2l): Handle overflow and underflow cases
43131 separately. Only pass fractional part of argument to
43132 __ieee754_expl.
43133 * math/libm-test.inc (exp2_test): Add more tests.
43134
c0df8e69
JM
43135 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
43136 negating x to take absolute value.
43137 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
43138 Likewise.
43139 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43140 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
43141 Likewise.
43142 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
43143 computing low part if x was negated.
43144 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43145
c8e43ba7
L
431462012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43147
43148 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
43149 la_x32_gnu_pltexit.
43150 (pltexit): Cast int_retval to ptrdiff_t.
43151 * elf/tst-auditmod3b.c: Likewise.
43152 * elf/tst-auditmod4b.c: Likewise.
43153 * elf/tst-auditmod5b.c: Likewise.
43154 * elf/tst-auditmod6b.c: Likewise.
43155 * elf/tst-auditmod6c.c: Likewise.
43156 * elf/tst-auditmod7b.c: Likewise.
43157
43158 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
43159 and x32_gnu_pltexit.
43160
43161 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
43162 __ELF_NATIVE_CLASS.
43163 (La_x32_regs): New macro.
43164 (La_x32_retval): Likewise.
43165 (la_x32_gnu_pltenter): New function prototype.
43166 (la_x32_gnu_pltexit): Likewise.
43167
7998fa78
AS
431682012-03-21 Andreas Schwab <schwab@linux-m68k.org>
43169
dcb33988
AS
43170 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
43171 exponent.
43172
233fc563
AS
43173 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43174
7998fa78
AS
43175 * configure.in (libc_cv_cc_nofma): Check for option to disable
43176 generation of FMA instructions.
43177 * configure: Regenerate.
43178 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
43179 * sysdeps/ieee754/dbl-64/Makefile: New file.
43180 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
43181 Remove brandred-fma4.
43182 (CFLAGS-brandred-fma4.c): Remove.
43183 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
43184 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
43185 define.
43186 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
43187 define.
43188
8e95c99a
L
431892012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43190
43191 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43192 LLONG_MAX != LONG_MAX.
43193 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43194 (_fitoa_word): Likewise.
43195 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
43196 LLONG_MAX != LONG_MAX.
43197 * stdio-common/_itowa.h: Include <_itoa.h>.
43198 (_itowa_word): Use _ITOA_WORD_TYPE on value.
43199 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
43200 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
43201 only if not defined.
43202 (_ITOA_WORD_TYPE): Likewise.
43203 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43204 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
43205
6f4db457
DM
432062012-03-21 David S. Miller <davem@davemloft.net>
43207
43208 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43209
7785fe5a
L
432102012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43211
43212 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
43213 of x86_64 when setting libc_cv_slibdir, libdir and
43214 libc_cv_localedir.
43215 * sysdeps/unix/sysv/linux/configure: Regenerated.
43216
4535cd55
JM
432172012-03-21 Joseph Myers <joseph@codesourcery.com>
43218
43219 * manual/lang.texi (Old Varargs): Remove section.
43220 (How Variadic): Update menu.
43221 (va_start): Do not mention varargs.h.
43222
17228132
TS
432232012-03-21 Thomas Schwinge <thomas@codesourcery.com>
43224 Joseph Myers <joseph@codesourcery.com>
43225
43226 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
43227 link test.
43228 * configure: Regenerated.
43229
8149f976
TS
432302012-03-21 Thomas Schwinge <thomas@codesourcery.com>
43231
05f3d1f6
UD
43232 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
43233 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
43234 conformtest.pl
8149f976 43235
1a4ac776
JM
432362012-03-21 Joseph Myers <joseph@codesourcery.com>
43237
be22ce65
JM
43238 * NOTES: Remove.
43239 * Makefile (files-for-dist): Remove NOTES.
43240 (NOTES): Remove rule.
43241 * README: Don't refer to NOTES.
43242 * manual/creature.texi: Don't include macros.texi.
43243 * manual/intro.texi (creature.texi): Remove comment referring to
43244 NOTES.
43245
40b601fb
JM
43246 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
43247 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
43248 * configure: Regenerated.
43249 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
43250 LIBC_TRY_CC_OPTION.
43251 (libc_cv_as_i686): Likewise.
43252 (libc_cv_cc_avx): Likewise.
43253 (libc_cv_cc_sse2avx): Likewise.
43254 (libc_cv_cc_fma4): Likewise.
43255 (libc_cv_cc_novzeroupper): Likewise.
43256 * sysdeps/i386/configure: Regenerated.
43257
1a4ac776
JM
43258 [BZ #13883]
43259 * sysdeps/i386/fpu/s_cexp.S: Remove.
43260 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43261 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43262 * math/libm-test.inc (cexp_test): Add more tests.
43263 * sysdeps/i386/fpu/libm-test-ulps: Update.
43264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43265
a458e7fe
AM
432662012-03-21 Allan McRae <allan@archlinux.org>
43267
43268 * timezone/Makefile: Do not install iso3166.tab and zone.tab
43269
0cb7efc5
JM
432702012-03-21 Joseph Myers <joseph@codesourcery.com>
43271
43272 [BZ #13871]
43273 * math/w_exp2.c: Do not include <float.h>.
43274 (o_threshold, u_threshold): Remove.
43275 (__exp2): Calculate result before checking finiteness and calling
43276 __kernel_standard.
43277 * math/w_exp2f.c: Likewise.
43278 * math/w_exp2l.c: Likewise.
43279 * math/libm-test.inc (exp2_test): Require overflow exception for
43280 1e6 input.
2460d3aa
JM
43281
43282 [BZ #3866]
43283 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
43284 range of signed 64-bit integers before using fistpll. Remove
43285 checks for whether integers fit in mantissa bits.
43286 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
43287 the range of signed 32-bit integers before using fistpl. Remove
43288 checks for whether integers fit in mantissa bits.
43289 * sysdeps/i386/fpu/e_powl.S (p64): New object.
43290 (__ieee754_powl): Test for y outside the range of signed 64-bit
43291 integers before using fistpll. Reduce 64-bit values to 63-bit
43292 ones as needed.
43293 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
43294 divide-by-zero is raised for zero to large negative powers.
43295 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
43296 (__ieee754_powl): Test for y outside the range of signed 64-bit
43297 integers before using fistpll. Reduce 64-bit values to 63-bit
43298 ones as needed.
43299 * math/libm-test.inc (pow_test): Add more tests.
43300
eb96ffb0
L
433012012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43302
43303 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
43304 <stdio-common/_itoa.h>.
43305 * debug/segfault.c: Likewise.
43306 * elf/dl-cache.c: Likewise.
43307 * elf/dl-minimal.c: Likewise.
43308 * elf/dl-misc.c: Likewise.
43309 * elf/dl-sysdep.c: Likewise.
43310 * elf/dl-version.c: Likewise.
43311 * elf/rtld.c: Likewise.
43312 * hurd/hurdsock.c: Likewise.
43313 * hurd/lookup-retry.c: Likewise.
43314 * malloc/malloc.c: Likewise.
43315 * malloc/mtrace.c: Likewise.
43316 * nscd/nscd_getgr_r.c: Likewise.
43317 * nscd/nscd_getpw_r.c: Likewise.
43318 * nscd/nscd_getserv_r.c: Likewise.
43319 * posix/getopt_init.c: Likewise.
43320 * posix/wordexp.c: Likewise.
43321 * stdio-common/_itoa.c: Likewise.
43322 * stdio-common/printf_fphex.c: Likewise.
43323 * stdio-common/vfprintf.c: Likewise.
43324 * string/_strerror.c: Likewise.
43325 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
43326 * sysdeps/i386/i686/hp-timing.h: Likewise.
43327 * sysdeps/mach/_strerror.c: Likewise.
43328 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
43329 * sysdeps/mach/hurd/sethostid.c: Likewise.
43330 * sysdeps/mach/hurd/xmknodat.c: Likewise.
43331 * sysdeps/mach/xpg-strerror.c: Likewise.
43332 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
43333 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
43334 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
43335 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
43336 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
43337 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
43338 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
43339 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
43340 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
43341 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
43342 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
43343 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43344 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
43345 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
43346 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
43347 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
43348 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
43349 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
43350 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
43351 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
43352 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
43353
43354 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
43355
43356 * stdio-common/_itoa.h: Moved to ...
43357 * sysdeps/generic/_itoa.h: Here.
43358
43359 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
43360
43361 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
43362 instead of "_itoa.h" and "_itowa.h".
43363 * stdio-common/vfprintf.: Likewise.
43364
d1af992d
L
433652012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43366
43367 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
43368 <bits/wordsize.h>.
43369 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
43370 (__signbit): Likwise.
43371 (llrintf): Likwise.
43372 (llrint): Likwise.
43373
114883e0
L
433742012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43375
43376 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
43377 __WORDSIZE != 64.
43378
c135cc1b
JM
433792012-03-20 Joseph Myers <joseph@codesourcery.com>
43380
43381 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
43382 OVERFLOW_EXCEPTION_OK.
43383 * math/libm-test.inc ("Philosophy"): Update comment about
43384 exception testing.
43385 (OVERFLOW_EXCEPTION): Define.
43386 (OVERFLOW_EXCEPTION_OK): Likewise.
43387 (INVALID_EXCEPTION_OK): Renumber.
43388 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43389 (IGNORE_ZERO_INF_SIGN): Likewise.
43390 (test_exceptions): Handle FE_OVERFLOW.
43391 (exp10_test): Expect overflow exceptions.
43392 (exp2_test): Likewise.
43393 (expm1_test): Likewise.
43394 (nextafter_test): Likewise.
43395 (pow_test): Likewise.
43396 (scalbn_test): Likewise.
43397 (scalbln_test): Likewise.
43398
95443d88
L
433992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43400
43401 * sysdeps/x86_64/bits/atomic.h
43402 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
43403 64bit integer.
43404 (atomic_exchange_acq): Likewise.
43405 (__arch_exchange_and_add_body): Likewise.
43406 (__arch_add_body): Likewise.
43407 (atomic_add_negative): Likewise.
43408 (atomic_add_zero): Likewise.
43409
490df6c4
L
434102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43411
c2722551 43412 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
43413 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
43414
5e52b189
L
434152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43416
43417 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
43418 Check __x86_64__ instead of __WORDSIZE.
43419
a9879d4c
L
434202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43421
43422 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
43423
5df98260
DM
434242012-03-19 David S. Miller <davem@davemloft.net>
43425
e1497744
DM
43426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43427
5df98260
DM
43428 * sysdeps/sparc/fpu/fenv_private.h: New file.
43429 * sysdeps/sparc/fpu/math_private.h: Use it.
43430 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
43431 Remove.
57f41c40 43432 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
43433 (libc_feholdexcept_setroundl): Remove.
43434 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
43435 Remove.
43436 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
43437 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
43438
b4c35121
L
434392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43440
43441 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
43442 int64_t instead of long int.
43443 (INSERT_WORDS64): Likwise.
43444
56965fd7
L
434452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43446
43447 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
43448 _Unwind_GetCFA return to _Unwind_Ptr first.
43449
83d1aec8
JM
434502012-03-19 Joseph Myers <joseph@codesourcery.com>
43451
1897ad44
JM
43452 [BZ #13629]
43453 * math/s_clog.c: Include <float.h>.
43454 (__clog): Scale large or subnormal inputs.
43455 * math/s_clogf.c: Likewise.
43456 * math/s_clogl.c: Likewise.
43457 * math/s_clog10.c: Include <float.h>.
43458 (M_LOG10_2): Define.
43459 (__clog10): Scale large or subnormal inputs.
43460 * math/s_clog10f.c: Likewise.
43461 * math/s_clog10l.c: Likewise.
43462 * math/libm-test.inc (clog_test): Add more tests.
43463 (clog10_test): Likewise.
43464 * sysdeps/i386/fpu/libm-test-ulps: Update.
43465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43466
7726d6a9
JM
43467 [BZ #11451]
43468 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
43469 x and y.
43470 * math/libm-test.inc (atan2_test): Add another test.
43471
83d1aec8
JM
43472 * Makerules (common-objdir-compile): Remove.
43473 * sysdeps/unix/Makefile (config-generated): Do not add
43474 $(unix-generated) to variable.
43475 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
43476 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
43477 Remove rule.
43478 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
43479 Likewise.
43480 [generic bits/local_lim.h] (before-compile): Do not append to
43481 variable.
43482 [generic bits/local_lim.h] (common-generated): Likewise.
43483 [generic sys/param.h] (before-compile): Do not append to variable.
43484 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
43485 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
43486 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
43487 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
43488 include.
43489 [generic sys/param.h] (sys/param.h-includes): Remove variable.
43490 [generic sys/param.h] (sys/param.h-includes): Remove rule.
43491 [generic sys/param.h] ($(addprefix
43492 $(common-objpfx),$(sys/param.h-includes))): Likewise.
43493 [generic sys/param.h] (common-generated): Do not append to
43494 variable.
43495 [generic sys/param.h] (sysdep_headers): Likewise.
43496 [generic bits/errno.h] (before-compile): Do not append to
43497 variable.
43498 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
43499 rule.
43500 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
43501 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
43502 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
43503 [generic bits/errno.h] (common-generated): Do not append to
43504 variable.
43505 [generic bits/ioctls.h] (before-compile): Do not append to
43506 variable.
43507 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
43508 rule.
43509 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
43510 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
43511 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
43512 rule.
43513 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
43514 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
43515 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
43516 [generic bits/ioctls.h] (common-generated): Do not append to
43517 variable.
43518 [generic sys/syscall.h] (syscall.h): Remove variable.
43519 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
43520 rule.
43521 [generic sys/syscall.h] (before-compile): Do not append to
43522 variable.
43523 [generic sys/syscall.h] (common-generated): Likewise.
43524 * sysdeps/unix/errnos-tmpl.c: Remove file.
43525 * sysdeps/unix/errnos.awk: Likewise.
43526 * sysdeps/unix/ioctls-tmpl.c: Likewise.
43527 * sysdeps/unix/ioctls.awk: Likewise.
43528 * sysdeps/unix/mk-local_lim.c: Likewise.
43529 * sysdeps/unix/snarf-ioctls: Likewise.
43530
4851a949
RH
435312012-03-19 Richard Henderson <rth@twiddle.net>
43532
bd37f2ee
RH
43533 * sysdeps/i386/fpu/fenv_private.h: New file.
43534 * sysdeps/i386/fpu/math_private.h: Use it.
43535 (math_opt_barrier, math_force_eval): Remove.
43536 (libc_feholdexcept_setround_53bit): Remove.
43537 (libc_feupdateenv_53bit): Remove.
43538 * sysdeps/x86_64/fpu/math_private.h: Likewise.
43539 (math_opt_barrier, math_force_eval): Remove.
43540 (libc_feholdexcept): Remove.
43541 (libc_feholdexcept_setround): Remove.
43542 (libc_fetestexcept, libc_fesetenv): Remove.
43543 (libc_feupdateenv_test): Remove.
43544 (libc_feupdateenv, libc_feholdsetround): Remove.
43545 (libc_feresetround): Remove.
43546
d0adc922
RH
43547 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
43548 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
43549
0fe0f1f8
RH
43550 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
43551 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
43552 (libc_feupdateenv_testl): New.
43553 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
43554 (libc_feupdateenv_testf): New.
43555 (libc_feupdateenv): Use libc_feupdateenv_test.
43556 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
43557 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
43558
eb92c487
RH
43559 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
43560 (libc_feholdsetroundf, libc_feholdsetroundl): New.
43561 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
43562 (libc_feresetround_noex): New.
43563 (libc_feresetround_noexf): New.
43564 (libc_feresetround_noexl): New.
43565 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
43566 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
43567 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
43568 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
43569 SET_RESTORE_ROUND.
43570 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43571 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
43572 (__cos): Likewise.
43573 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
43574 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
43575 SET_RESTORE_ROUND_NOEX.
43576 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
43577 SET_RESTORE_ROUND_NOEXF.
43578 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
43579 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
43580 (libc_feholdsetroundf): New.
43581 (libc_feresetround, libc_feresetroundf): New.
43582
7d2e8012
RH
43583 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
43584 (libc_feholdexcept_setround_53bit): Convert from macro to function.
43585 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
43586
b4dabbb4
RH
43587 * sysdeps/generic/math_private.h: Include <fenv.h>.
43588 (default_libc_feholdexcept): New.
43589 (default_libc_feholdexcept_setround): New.
43590 (default_libc_fesetenv, default_libc_feupdateenv): New.
43591 (libc_feholdexcept): Only define if undefined.
43592 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
43593 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
43594 (libc_feholdexcept_setroundl): Likewise.
43595 (libc_feholdexcept_setround_53bit): Likewise.
43596 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
43597 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
43598 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
43599 (libc_feupdateenv_53bit): Likewise.
43600 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
43601 (libc_feholdexcept): Convert from macro to inline function.
43602 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
43603 (libc_fesetenv, libc_feupdateenv): Likewise.
43604
4851a949
RH
43605 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
43606 not previously defined.
43607 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
43608 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
43609 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
43610 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
43611 * sysdeps/ieee754/flt-32/math_private.h: New file.
43612 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
43613 math_private.h below SET_FLOAT_WORD.
43614 (__isnan, __isinf_ns, __finite): Remove.
43615 (__isnanf, __isinf_nsf, __finitef): Remove.
43616
e79d442e
AS
436172012-03-18 Andreas Schwab <schwab@linux-m68k.org>
43618
43619 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43620
90b80344
DM
436212012-03-17 David S. Miller <davem@davemloft.net>
43622
43623 [BZ #6471]
43624 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
43625 for 2.16.
43626
edc21804
DM
436272012-03-16 David S. Miller <davem@davemloft.net>
43628
77e927af
DM
43629 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
43630 warnings.
43631
374976dd
DM
43632 [BZ #6471]
43633 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
43634 properly.
43635 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
43636 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
43637 sysdep_routines when subdir is sysvipc.
43638 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
43639 __getshmlba helper.
43640
edc21804
DM
43641 * sysdeps/sparc/fpu/libm-test/ulps: Update.
43642
473c3ef3
L
436432012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43644
43645 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
43646 [__LP64__].
43647
eb0f39b6
L
436482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43649
43650 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
43651 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
43652 (__lround): Renamed to ...
43653 (__llround): This. Replace long int with long long int.
43654 Define lround functions as aliases of llround functions.
43655 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
43656
6b6cd74b
L
436572012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43658
43659 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
43660 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
43661 adresses to uintptr_t. Replace "long int" and "unsigned long
43662 int" with "greg_t" on va_arg.
43663
f1a77b01
L
436642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43665
43666 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
43667 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
43668
43669 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
43670 Move e_machine check before EI_CLASS check. Handle x32
43671 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
43672 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
43673 SKIP_EM_IA_64 and include
43674 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
43675
43676 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
43677 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
43678 (add_system_dir): New macro.
43679
43680 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
43681 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
43682
11b90b9f
JM
436832012-03-16 Joseph Myers <joseph@codesourcery.com>
43684
c36e1d23
JM
43685 [BZ #2551]
43686 [BZ #2552]
43687 [BZ #2553]
43688 [BZ #2554]
43689 [BZ #2562]
43690 [BZ #2563]
43691 [BZ #2565]
43692 [BZ #2566]
43693 [BZ #2576]
43694 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
43695 (y0): Likewise.
43696 * math/w_j0f.c (j0f): Likewise.
43697 (y0f): Likewise.
43698 * math/w_j0l.c (__j0l): Likewise.
43699 (__y0l): Likewise.
43700 * math/w_j1.c (j1): Likewise.
43701 (y1): Likewise.
43702 * math/w_j1f.c (j1f): Likewise.
43703 (y1f): Likewise.
43704 * math/w_j1l.c (__j1l): Likewise.
43705 (__y1l): Likewise.
43706 * math/w_jn.c (jn): Likewise.
43707 (yn): Likewise.
43708 * math/w_jnf.c (jnf): Likewise.
43709 (ynf): Likewise.
43710 * math/w_jnl.c (__jnl): Likewise.
43711 (__ynl): Likewise.
43712 * math/libm-test.inc (j0_test): Add more tests.
43713 (j1_test): Likewise.
43714 (jn_test): Likewise. Add trailing semicolon to existing test.
43715 (y0_test): Likewise.
43716 (y1_test): Likewise.
43717 * sysdeps/i386/fpu/libm-test-ulps: Update.
43718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43719
11b90b9f
JM
43720 [BZ #13851]
43721 [BZ #13854]
43722 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
43723 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
43724 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
43725 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
43726 (__tanl): Set errno for infinite argument.
43727 * sysdeps/i386/fpu/mptan.c: Remove.
43728 * sysdeps/i386/fpu/s_tan.S: Likewise.
43729 * sysdeps/i386/fpu/s_tanl.S: Likewise.
43730 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
43731 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
43732 * math/libm-test.inc (tan_test): Add more tests and enable more
43733 tests for double and long double.
43734 * sysdeps/i386/fpu/libm-test-ulps: Update.
43735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43736
6a1bd2a1
JK
437372012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
43738
43739 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
43740 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
43741
10a803e0
RM
437422012-03-16 Roland McGrath <roland@hack.frob.com>
43743
43744 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
43745 * configure.in: Use it for both main tree and add-ons.
43746 * configure: Regenerated.
43747
f196c7f7
L
437482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43749
43750 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
43751
8848d99d
JM
437522012-03-16 Joseph Myers <joseph@codesourcery.com>
43753
96cbe7f4
JM
43754 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
43755 in comment.
43756
8848d99d
JM
43757 [BZ #13851]
43758 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
43759 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
43760 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
43761 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
43762 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
43763 infinite argument.
43764 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
43765 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
43766 != 0 for prec == 2.
43767 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
43768 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
43769 * sysdeps/i386/fpu/s_cosl.S: Likewise.
43770 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
43771 * sysdeps/i386/fpu/s_sinl.S: Likewise.
43772 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
43773 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
43774 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
43775 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
43776 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
43777 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
43778 * math/libm-test.inc (cos_test): Add more tests and enable more
43779 tests for long double.
43780 (sin_test): Likewise.
43781 (sincos_test): Likewise.
43782 * sysdeps/i386/fpu/libm-test-ulps: Update.
43783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43784
dd7f4703
DM
437852012-03-16 David S. Miller <davem@davemloft.net>
43786
43787 * sysdeps/sparc/fpu/math_private.h: New file.
43788
006f1daa
DM
437892012-03-15 David S. Miller <davem@davemloft.net>
43790
c0c83bc8
DM
43791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
43792 file.
e6a62e18 43793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
43794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
43795 file.
e6a62e18
DM
43796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
43797 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
43798 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
43799 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
43800 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
43801 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
43802 sysdep routines.
43803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43804
88cb87d9
DM
43805 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
43806 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
43807
006f1daa 43808 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
43809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
43810 sparc-ifunc.h
006f1daa 43811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
43812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
43813 Likewise.
43814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
43815 Likewise.
006f1daa
DM
43816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
43817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
43818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
43819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
43820 Likewise.
006f1daa
DM
43821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
43823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
43825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
43826 Likewise.
43827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
43828 Likewise.
006f1daa
DM
43829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
43831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
43832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
43833 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
43834 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
43835 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
43836 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
43837 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
43838 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
43839 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
43840 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
43841 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
43842 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
43843 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
43844 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
43845 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
43846 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
43847 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
43848 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
43849 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
43850 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
43851 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
43852 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
43853
11e0098e
AS
438542012-03-15 Andreas Schwab <schwab@linux-m68k.org>
43855
43856 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
43857 scaling.
43858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43859
e85b09d0
AJ
438602012-03-15 Andreas Jaeger <aj@suse.de>
43861
43862 [BZ #13852]
43863 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
43864 ieee754/flt-32 implementation for sin, cos and sincos.
43865 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
43866 * sysdeps/i386/fpu/s_cosf.S: Likewise.
43867 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
43868 * sysdeps/i386/fpu/s_sinf.S: Likewise.
43869 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
43870 ieee754/flt-32 implementation for tan.
43871
43872 * math/libm-test.inc (cos_test): Enable some large input tests for
43873 float as well
43874 (sin_test): Likewise.
43875 (sincos_test): Likewise.
43876 (tan_test): Add tests for large input.
43877
43878 * sysdeps/i386/fpu/libm-test-ulps: Update.
43879
81c64153
AJ
438802012-03-15 Andreas Jaeger <aj@suse.de>
43881
43882 [BZ #13658]
43883 * math/libm-test.inc (cos_test): Add more test cases.
43884 (sin_test): Likewise.
43885 (sincos_test): Likewise.
43886
7bbfa5c6
AJ
438872012-03-15 Andreas Jaeger <aj@suse.de>
43888
43889 [BZ #13837]
43890 * math/libm-test.inc (cos_test): Add a test case for large input
43891 value.
43892 (sin_test): Likewise.
43893 (sincos_test): Likewise.
43894
57f41c40
AS
438952012-03-15 Andreas Jaeger <aj@suse.de>
43896 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
43897
43898 [BZ #13658]
0671f479 43899 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
43900 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
43901 * sysdeps/i386/fpu/branred.c: Likewise.
43902 * sysdeps/i386/fpu/dosincos.c: Likewise.
43903 * sysdeps/i386/fpu/mpa.c: Likewise.
43904 * sysdeps/i386/fpu/s_cos.S: Likewise.
43905 * sysdeps/i386/fpu/s_sin.S: Likewise.
43906 * sysdeps/i386/fpu/s_sincos.S: Likewise.
43907 * sysdeps/i386/fpu/sincos32.c: Likewise.
43908
43909 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
43910 Define.
43911 (libc_feupdateenv_53bit): Define.
43912 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
43913 Define.
43914 (libc_feupdateenv_53bit): Define.
43915
43916 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
43917 53 bit (without extend i386 double precision).
43918
43919 * math/libm-test.inc (sincos_test): Add tests for large input.
43920 (sin): Likewise.
43921 (cos): Likewise.
43922
43923 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43924
9cad04ea
AS
439252012-03-15 Andreas Schwab <schwab@linux-m68k.org>
43926
43927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43928
f7062b9a
DM
439292012-03-15 David S. Miller <davem@davemloft.net>
43930
43931 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
43932 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
43933 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
43934 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
43935 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
43936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
43937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
43938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
43939 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
43940 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
43941 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
43942 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
43943 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
43944 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
43945 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
43946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
43947 file.
f7062b9a 43948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
43949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
43950 file.
f7062b9a 43951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
43952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
43953 file.
f7062b9a 43954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
43955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
43956 file.
f7062b9a
DM
43957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
43958 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
43959 fmin/fmax sysdep routines.
43960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43961
7bd951ff
DM
439622012-03-14 David S. Miller <davem@davemloft.net>
43963
559398ab
DM
43964 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
43965 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
43966 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
43967 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
43968 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
43969 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
43970 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
43971 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
43972 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
43973 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
43974 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
43975 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
43976 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
43977 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
43978 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
43979 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
43980 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
43981 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
43982 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
43983 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
43984 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
43985 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
43986 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
43987 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
43988 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
43989 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
43990 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
43991 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
43992 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
43993 routines.
43994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
43995 file.
559398ab 43996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
43997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
43998 file.
559398ab 43999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
44000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
44001 file.
559398ab 44002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
44003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
44004 file.
559398ab 44005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
44006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
44007 file.
559398ab 44008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
44009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
44010 file.
44011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
44012 file.
44013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
44014 file.
44015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
44016 file.
44017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
44018 New file.
44019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
44020 file.
44021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
44022 file.
559398ab 44023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
44024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
44025 file.
559398ab 44026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
44027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
44028 file.
559398ab 44029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
44030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
44031 file.
559398ab 44032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
44033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
44034 VIS3 routines.
559398ab
DM
44035
44036 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
44037 New file.
44038
5a1c1e32
DM
44039 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44040
eae47a36
DM
44041 * sysdeps/sparc/configure.in: New file.
44042 * sysdeps/sparc/configure: Generate.
44043 * configure.in (libc_cv_sparc_as_vis3): Substitute.
44044 * configure: Regenerate.
44045 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
44046 * config.make.in (have-as-vis3): New.
44047 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
44048 available use -Av9d instead of -Av9a.
44049 * sysdeps/sparc/sparc64/Makefile: Likewise.
44050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
44051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
44052 New file.
44053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
44054 file.
44055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
44056 New file.
44057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
44058 file.
eae47a36
DM
44059 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
44060 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
44061 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
44062 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
44063 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
44064
c0c83bc8
DM
44065 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
44066 fzeros/fnegs to load 0x80000000 into a float register instead of
44067 using the stack.
7bd951ff
DM
44068 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
44069
bd951ccb
JM
440702012-03-14 Joseph Myers <joseph@codesourcery.com>
44071
44072 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44073 bits/syscall.h.
44074 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
44075 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
44076 ($(inst_includedir)/bits/syscall.h): Remove rule.
44077 ($(objpfx)bits/syscall.d): Include instead of
44078 $(objpfx)syscall-list.d.
44079 (generated): Change syscall-list.h and syscall-list.d to
44080 bits/syscall.h and bits/syscall.d.
44081
bb4e6db2
RM
440822012-03-14 Roland McGrath <roland@hack.frob.com>
44083
44084 [BZ #13846]
44085 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
44086
aa4a2ae1
JM
440872012-03-14 Joseph Myers <joseph@codesourcery.com>
44088
e456826d
JM
44089 [BZ #13841]
44090 * math/s_csqrt.c: Include <float.h>.
44091 (__csqrt): Scale large or subnormal inputs.
44092 * math/s_csqrtf.c: Likewise.
44093 * math/s_csqrtl.c: Likewise.
44094 * math/libm-test.inc (csqrt_test): Add more tests.
44095 * sysdeps/i386/fpu/libm-test-ulps: Update.
44096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44097
aa4a2ae1
JM
44098 [BZ #13840]
44099 * math/libm-test.inc (hypot_test): Add more tests.
44100
7c10fd35
DM
441012012-03-13 David S. Miller <davem@davemloft.net>
44102
44103 [BZ #13840]
44104 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
44105 double-precision for the calculation instead of scaling.
44106
f453b98b
JM
441072012-03-13 Joseph Myers <joseph@codesourcery.com>
44108
44109 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
44110 manipulate bits before adding and subtracting TWO52[sx].
44111 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
44112 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
44113 Likewise.
44114 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
44115
09a3453f
DM
441162012-03-13 David S. Miller <davem@davemloft.net>
44117
8e59da90
DM
44118 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
44119 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
44120 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
44121 rtld-global-offsets.h
44122 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44123
2a8ab7f2
DM
44124 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
44125 large parameters.
44126
10f62770
DM
44127 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
44128
5f0bdb18
DM
44129 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
44130 'err' in the ifdef scope in which it is actually used.
44131
09a3453f
DM
44132 * nss/nss_db/db-init.c: Include string.h
44133
b4b2eb5e
DM
441342012-03-12 David S. Miller <davem@davemloft.net>
44135
98bb2f1c
DM
44136 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44137 masking out of the most significant byte of random value used.
44138 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44139 Fix coding style in previous change.
44140
b4b2eb5e
DM
44141 * sysdeps/unix/sysv/linux/kernel-features.h
44142 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
44143 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
44144 expression.
44145 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
44146 later.
44147
6e226b09
DM
441482012-03-11 David S. Miller <davem@davemloft.net>
44149
a1bcbd40
DM
44150 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44151 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
44152 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
44153 for 'resultvar' otherwise things get truncated on 64-bit.
44154
cb9d6174
DM
44155 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44156 Fix masking out of the most significant byte of random value used.
44157
6e226b09
DM
44158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44159
058c132d
AS
441602012-03-10 Andreas Schwab <schwab@linux-m68k.org>
44161
44162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44163
2d2cd515
DM
441642012-03-09 David S. Miller <davem@davemloft.net>
44165
44166 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
44167 variables with appropriate CPP guards.
57f41c40
AS
44168 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
44169 from the frame pointer, not the stack pointer. Correct layout
44170 comments. Fix test on resulting framesize and the management of
44171 the outregs buffer for pltexit. Preserve floating point return
44172 values across _dl_call_pltexit call.
2d2cd515
DM
44173 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
44174 framesize and the management of the outregs buffer for pltexit.
44175 Preserve floating point return values across _dl_call_pltexit
44176 call.
57f41c40
AS
44177 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
44178 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
44179 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
44180 (print_exit): Fix format string for return register value.
44181
9a07f9d0
JM
441822012-03-10 Joseph Myers <joseph@codesourcery.com>
44183
44184 * sunrpc/Makefile (others): Add rpcgen.
44185 ($(objpfx)rpcgen): Remove special build rule and dependency on
44186 libc.
44187 * sunrpc/rpcgen.c: New file.
44188
547b5e30
PE
441892012-03-09 Paul Eggert <eggert@cs.ucla.edu>
44190
c524201a
PE
44191 [BZ #13673]
44192 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
44193 * stdio-common/bug-vfprintf-nargs.c: Likewise.
44194 * sysdeps/i386/crti.S: Likewise.
44195 * sysdeps/i386/crtn.S: Likewise.
44196 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
44197 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
44198 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
44199 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
44200 * sysdeps/sh/crti.S: Likewise.
44201 * sysdeps/sh/crtn.S: Likewise.
44202 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44203
7b6235f2
PE
44204 [BZ #13673]
44205 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
44206 with URL.
44207 * locale/programs/locfile-kw.gperf: Likewise.
44208 * locale/programs/charmap-kw.h: Regenerated.
44209 * locale/programs/locfile-kw.h: Likewise.
44210
547b5e30
PE
44211 [BZ #13673]
44212 * intl/plural.y: Replace FSF snail mail address with URL.
44213 * intl/plural.c: Regenerated.
44214
5f0a5dae
RH
442152012-03-09 Richard Henderson <rth@twiddle.net>
44216
44217 * include/math_private.h: Remove file.
44218 * math/math_private.h: Move file ...
44219 * sysdeps/generic/math_private.h: ... here.
44220
b8c03620
RH
44221 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
44222 * sysdeps/powerpc/fpu/math_private.h: Likewise.
44223 * sysdeps/x86_64/fpu/math_private.h: Likewise.
44224
4e234f5d 44225 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
44226 and <math_private.h>.
44227 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44228 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44229 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44230 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44231 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44232 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
44233 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44234 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44235 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44236 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44237 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44238 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44239 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44240 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44241 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44242 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44243 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44244 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44245 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44246 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44247 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44248 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44249 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44250 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44251 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44252 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44253 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44254 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44255 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44256 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44257 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44258 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44259 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44260 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44261 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44262 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44263 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44264 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44265 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44266 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44267 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
44268 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44269 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44270 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44271 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44272 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44273 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
44274 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44275 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44276 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44277 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44278 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
44279 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44280 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44281 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44282 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44283 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44284 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44285 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44286 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
44287 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44288 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44289 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44290 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44291 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
44292 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44293 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44294 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44295 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
44296 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
44297 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44298 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44299 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44300 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44301 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
44302 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
44303 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
44304 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44305 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
44306 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
44307 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44308 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
44309 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44310 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44311 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44312 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
44313 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
44314 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
44315 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44316 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44317 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44318 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44319 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44320 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44321 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44322 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44323 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44324 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44325 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44326 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44327 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44328 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44329 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44330 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44331 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44332 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44333 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44334 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44335 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44336 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44337 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44338 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44339 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44340 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44341 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
44342 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44343 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44344 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44345 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44346 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44347 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44348 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44349 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44350 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
44351 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44352 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44353 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44354 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
44355 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44356 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
44357 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
44358 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44359 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44360 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
44361 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
44362 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44363 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44364 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44365 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
44366 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44367 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44368 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44369 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44370 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
44371 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
44372 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44373 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44374 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44375 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
44376 * sysdeps/ieee754/k_standard.c: Likewise.
44377 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44378 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44379 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44380 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44381 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44382 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44383 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44384 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44385 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44386 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44387 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44388 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44389 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44390 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44391 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44392 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44393 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44394 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44395 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44396 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
44397 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
44398 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
44399 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44400 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44401 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44402 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
44403 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44404 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44405 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44406 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44407 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44408 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44409 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44410 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44411 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44412 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44413 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44414 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
44415 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
44416 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44417 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44418 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44419 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44420 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44421 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44422 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44423 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44424 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44425 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44426 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44427 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44428 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44429 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44430 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
44431 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44432 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44433 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
44434 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
44435 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44436 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44437 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44438 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44439 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44440 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44441 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44442 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44443 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44444 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44445 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44446 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44447 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44448 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44449 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44450 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44451 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44452 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44453 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
44454 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44455 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44456 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44457 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44458 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44459 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44460 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44461 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
44462 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44463 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44464 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
44465 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44466 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44467 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
44468 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44469 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
44470 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44471 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44472 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44473 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
44474 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
44475 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
44476 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
44477 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44478 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44479 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44480 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44481 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
44482 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44483 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44484 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
44485 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
44486 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44487 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44488 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44489 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44490 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44491 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44492 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44493 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44494 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44495 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44496 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44497 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44498 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44499 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44500 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44501 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44502 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
44503 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44504 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44505 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44506 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44507 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44508 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44509 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44510 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44511 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44512 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44513 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
44514 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44515 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44516 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
44517 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
44518 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44519 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
44520 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
44521 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44522 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44523 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44524 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44525 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44526 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
44527 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44528 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44529 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44530 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44531 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
44532 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
44533 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44534 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44535 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44536 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44537 * sysdeps/ieee754/s_lib_version.c: Likewise.
44538 * sysdeps/ieee754/s_matherr.c: Likewise.
44539 * sysdeps/ieee754/s_signgam.c: Likewise.
44540 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44541 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44542 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
44543 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
44544 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
44545 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44546 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
44547 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
44548 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
44549 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
44550 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44551 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
44552 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44553 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44554 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
44555 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
44556 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
44557 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
44558 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
44559 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44560 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 44561
1991fa03
JM
445622012-03-09 Joseph Myers <joseph@codesourcery.com>
44563
44564 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
44565 * sunrpc/rpc_main.c: Likewise.
44566 * sunrpc/rpc_svcout.c: Likewise.
44567
60d6f5a6
DM
445682012-03-09 David S. Miller <davem@davemloft.net>
44569
44570 * include/math_private.h: New file.
44571
4962050e
JM
445722012-03-09 Joseph Myers <joseph@codesourcery.com>
44573
02a6f887
JM
44574 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
44575 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
44576 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
44577 from <bits/socket_type.h>.
44578 (enum __socket_type): Don't define here.
44579 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
44580 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44581 bits/socket_type.h.
44582
c6e013c1
JM
44583 [BZ #13566]
44584 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
44585 checking __USE_GNU.
44586
4962050e
JM
44587 * Makerules ($(inst_includedir)/%.h): New rule.
44588 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
44589 (install-others): Remove variable setting.
44590 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
44591
38842f45
RH
445922012-03-08 Richard Henderson <rth@twiddle.net>
44593
67bb6da6
RH
44594 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
44595 from macro to inline function; merge with the
44596 !__LIBC_INTERNAL_MATH_INLINES version.
44597 (__ieee754_sqrtf): Likewise.
44598
15194b4b
RH
44599 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
44600 to inline function.
44601 (__rintf, __floor, __floorf): Likewise.
44602
64e21ede
RH
44603 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
44604 macro to inline function.
44605 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
44606
38842f45
RH
44607 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
44608 not <math/math_private.h>.
44609
c64bf5fe
DM
446102012-03-08 David S. Miller <davem@davemloft.net>
44611
44612 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
44613 copyright year.
44614 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
44615
82d86f28
TS
446162012-03-08 Thomas Schwinge <thomas@codesourcery.com>
44617
44618 * resolv/gai_misc.c (handle_requests): Fix struct timespec
44619 normalization.
44620 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
44621 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
44622
aea5d727
UD
446232012-03-08 Ulrich Drepper <drepper@gmail.com>
44624
44625 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
44626 be defined individually, they must be defined as a block. Define
44627 S for printing a string instead of hidint the different by using a
44628 macro for adding the 'l'.
44629 * stdio-common/tst-fphex-wide.c: Adjust.
44630
70bca0a3
MP
446312012-03-07 Marek Polacek <polacek@redhat.com>
44632
44633 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
44634
65b81130
MP
446352012-03-08 Marek Polacek <polacek@redhat.com>
44636
44637 [BZ #13806]
44638 * stdio-common/Makefile (tests): Add tst-fphex-wide.
44639 * stdio-common/tst-fphex.c: Define a few macros to make the
44640 test reusable. Use them.
44641 * stdio-common/tst-fphex-wide.c: New file.
44642
07037eeb
JM
446432012-03-08 Joseph Myers <joseph@codesourcery.com>
44644
a7a93d50
JM
44645 [BZ #6911]
44646 * manual/macros.texi (gnusystems): New macro.
44647 (nongnusystems): Likewise.
44648 (gnulinuxhurdsystems): Likewise.
44649 (gnuhurdsystems): Likewise..
44650 (gnulinuxsystems): Likewise.
44651 * manual/charset.texi: Use new macros or @theglibc{} to refer to
44652 variants of the GNU system, not "GNU system".
44653 * manual/conf.texi: Likewise.
44654 * manual/errno.texi: Likewise. Update example of errno macro
44655 expansion.
44656 * manual/filesys.texi: Likewise.
44657 (getumask): Document as specific to GNU/Hurd.
44658 * manual/install.texi: Likewise. Reword some references to
44659 GNU/Linux.
44660 * manual/intro.texi: Likewise.
44661 * manual/io.texi: Likewise.
44662 (File Name Portability): Detail which constraints are inapplicable
44663 to all GNU systems and which are only inapplicable to GNU/Hurd.
44664 * manual/job.texi: Likewise.
44665 * manual/llio.texi: Likewise.
44666 (O_NOCTTY): Document as present on GNU/Linux.
44667 * manual/maint.texi: Likewise.
44668 * manual/memory.texi: Likewise.
44669 * manual/pattern.texi: Likewise.
44670 * manual/pipe.texi: Likewise.
44671 * manual/process.texi: Likewise.
44672 * manual/resource.texi: Likewise.
44673 (RUSAGE_CHILDREN): Remove statement about specifying a particular
44674 child on GNU/Hurd.
44675 * manual/setjmp.texi: Likewise.
44676 * manual/signal.texi: Likewise.
44677 * manual/startup.texi: Likewise.
44678 * manual/stdio.texi: Likewise.
44679 * manual/terminal.texi: Likewise.
44680 (ONLCR): Document as POSIX.
44681 (OXTABS): Document availability on GNU/Linux as XTABS.
44682 (ONOEOT): Document availability separately from other bits.
44683 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
44684 * manual/time.texi: Likewise.
44685 * manual/users.texi: Likewise.
44686 * INSTALL: Regenerated.
44687 * sysdeps/gnu/errlist.c: Regenerated.
44688
07037eeb
JM
44689 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
44690 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
44691 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
44692 puts.
44693 * configure: Regenerated.
44694
d1d3431a
JM
446952012-03-07 Joseph Myers <joseph@codesourcery.com>
44696
af6a1e37
JM
44697 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
44698 default includes instead of AC_HEADER_CHECK.
44699 * sysdeps/i386/configure: Regenerated.
44700
d1d3431a
JM
44701 [BZ #10716]
44702 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
44703 * math/s_cacoshf.c (__cacoshf): Likewise.
44704 * math/s_cacoshl.c (__cacoshl): Likewise.
44705 * math/s_casinh.c (__casinh): Set signs of result from argument.
44706 * math/s_casinhf.c (__casinhf): Likewise.
44707 * math/s_casinhl.c (__casinhl): Likewise.
44708 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
44709 (casinh_test): Add more tests.
44710 * sysdeps/i386/fpu/libm-test-ulps: Update.
44711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44712
482ff4da
UD
447132012-03-07 Ulrich Drepper <drepper@gmail.com>
44714
872fda05
UD
44715 * po/zh_TW.po: Update from translation team.
44716
a4300c7a
UD
44717 * login/Makefile (distribute): Remove variable.
44718 * catgets/Makefile: Likewise.
44719 * mach/Makefile: Likewise.
44720 * malloc/Makefile: Likewise.
44721 * misc/Makefile: Likewise.
44722 * iconv/Makefile: Likewise.
44723 * nscd/Makefile: Likewise.
44724 * hurd/Makefile: Likewise.
44725 * manual/Makefile: Likewise.
44726 * locale/Makefile: Likewise.
44727 * intl/Makefile: Likewise.
44728 * conform/Makefile: Likewise.
44729 * nss/Makefile: Likewise.
44730 * time/Makefile: Likewise.
44731 * soft-fp/Makefile: Likewise.
44732 * dirent/Makefile: Likewise.
44733 * gmon/Makefile: Likewise.
44734 * po/Makefile: Likewise.
44735 * rt/Makefile: Likewise.
44736 * socket/Makefile: Likewise.
44737 * math/Makefile: Likewise.
44738 * signal/Makefile: Likewise.
44739 * debug/Makefile: Likewise.
44740 * elf/Makefile: Likewise.
44741 * timezone/Makefile: Likewise.
44742 * stdlib/Makefile: Likewise.
44743 * iconvdata/Makefile: Likewise.
44744 * sunrpc/Makefile: Likewise.
44745 * io/Makefile: Likewise.
44746 * argp/Makefile: Likewise.
44747 * inet/Makefile: Likewise.
44748 * hesiod/Makefile: Likewise.
44749 * grp/Makefile: Likewise.
44750 * csu/Makefile: Likewise.
44751 * wctype/Makefile: Likewise.
44752 * crypt/Makefile: Likewise.
44753 * libio/Makefile: Likewise.
44754 * string/Makefile: Likewise.
44755 * nis/Makefile: Likewise.
44756 * resolv/Makefile: Likewise.
44757 * stdio-common/Makefile: Likewise.
44758 * wcsmbs/Makefile: Likewise.
44759 * dlfcn/Makefile: Likewise.
44760 * posix/Makefile: Likewise.
44761
3b7c4e74 44762 [BZ #6959]
482ff4da
UD
44763 * timezone/Makefile: Don't install timezone files, just the programs
44764 and scripts.
44765
f72ed77d
UD
447662012-03-06 Ulrich Drepper <drepper@gmail.com>
44767
a000466f
UD
44768 * nss/databases.def: Add missing gshadow entry.
44769
f72ed77d
UD
44770 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
44771
a53b7a4e
MP
447722012-03-06 Marek Polacek <polacek@redhat.com>
44773
44774 [BZ #13726]
44775 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
44776 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44777 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
44778 * stdio-common/tst-long-dbl-fphex.c: New file.
44779
e9258400
DM
447802012-03-06 David S. Miller <davem@davemloft.net>
44781
44782 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44783 (set_obp_int): New function.
44784 (get_obp_int): New function.
44785 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
44786 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
44787 Avoid unused variable warnings on 'val' and use builtin_expect.
44788 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
44789 __builtin_expect.
e9258400
DM
44790 (INLINE_CLONE_SYSCALL): Likewise.
44791
3bd2c723
DM
447922012-03-05 David S. Miller <davem@davemloft.net>
44793
44794 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44795
bbb78d03
AS
447962012-03-05 Andreas Schwab <schwab@linux-m68k.org>
44797
884c5db4
AS
44798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44799
bbb78d03
AS
44800 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
44801 only for |x| >= 40.
44802 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44803
1c9f702a 448042012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
44805
44806 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
44807 Replace gettimeofday with __vdso_gettimeofday.
44808
7be16f82
RM
44809 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44810 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
44811 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
44812
44813 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
44814 time with __vdso_time.
44815
ed58a00f
JM
448162012-03-05 Joseph Myers <joseph@codesourcery.com>
44817
44818 * manual/lang.texi (size_t): Note types to which size_t may be
44819 equivalent with the GNU C Library, but do not describe when
44820 differences between them are significant.
44821
30ee4ced
AJ
448222012-03-05 Andreas Jaeger <aj@suse.de>
44823
44824 * sysdeps/i386/fpu/libm-test-ulps: Update.
44825
b7cd39e8
JM
448262012-03-05 Joseph Myers <joseph@codesourcery.com>
44827
44828 [BZ #3976]
44829 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
44830 (__ieee754_pow): Save and restore rounding mode and use
44831 round-to-nearest for main computations.
44832 * math/libm-test.inc (pow_test_tonearest): New function.
44833 (pow_test_towardzero): Likewise.
44834 (pow_test_downward): Likewise.
44835 (pow_test_upward): Likewise.
44836 (main): Call the new functions.
44837 * sysdeps/i386/fpu/libm-test-ulps: Update.
44838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
44839
44840 [BZ #3976]
44841 * math/libm-test.inc (cosh_test_tonearest): New function.
44842 (cosh_test_towardzero): Likewise.
44843 (cosh_test_downward): Likewise.
44844 (cosh_test_upward): Likewise.
44845 (sinh_test_tonearest): Likewise.
44846 (sinh_test_towardzero): Likewise.
44847 (sinh_test_downward): Likewise.
44848 (sinh_test_upward): Likewise.
44849 (main): Call the new functions.
44850 * sysdeps/i386/fpu/libm-test-ulps: Update.
44851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44852
6c6a98c9
TV
448532012-03-05 Tom de Vries <tom@codesourcery.com>
44854
44855 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
44856 default stack guard is set in last bytes.
44857 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
44858
21bb2d2e 448592012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 44860
21bb2d2e 44861 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 44862
21bb2d2e
AJ
44863 [BZ #13656]
44864 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
44865 possibly allocate from heap instead of stack.
44866 * stdio-common/bug-vfprintf-nargs.c: New file.
44867 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 44868
c6922934
AS
448692012-03-03 Andreas Schwab <schwab@linux-m68k.org>
44870
44871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44872
bc957d53
MP
448732012-03-03 Marek Polacek <polacek@redhat.com>
44874
44875 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
44876 * math/math_private.h: Likewise.
44877 * stdlib/tst-strtod.c: Likewise.
44878 * sysdeps/i386/i486/bits/atomic.h: Likewise.
44879 * sysdeps/x86_64/bits/atomic.h: Likewise.
44880
6358490d
DM
448812012-03-02 David S. Miller <davem@davemloft.net>
44882
44883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
44884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
44885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
44886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
44887 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
44888 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
44889 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
44890 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
44891
01ae168d
RM
448922012-03-02 Roland McGrath <roland@hack.frob.com>
44893
d9a17c07
RM
44894 [BZ #13792]
44895 * manual/examples/README: New file, says the example source files
44896 can be used under GPL>=2.
44897 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
44898 line containing just "*/".
44899 * manual/examples/add.c: Add copyright header (GPL>=2).
44900 * manual/examples/argp-ex1.c: Likewise.
44901 * manual/examples/argp-ex2.c: Likewise.
44902 * manual/examples/argp-ex3.c: Likewise.
44903 * manual/examples/argp-ex4.c: Likewise.
44904 * manual/examples/atexit.c: Likewise.
44905 * manual/examples/db.c: Likewise.
44906 * manual/examples/dir.c: Likewise.
44907 * manual/examples/dir2.c: Likewise.
44908 * manual/examples/execinfo.c: Likewise.
44909 * manual/examples/filecli.c: Likewise.
44910 * manual/examples/filesrv.c: Likewise.
44911 * manual/examples/fmtmsgexpl.c: Likewise.
44912 * manual/examples/genpass.c: Likewise.
44913 * manual/examples/inetcli.c: Likewise.
44914 * manual/examples/inetsrv.c: Likewise.
44915 * manual/examples/isockad.c: Likewise.
44916 * manual/examples/longopt.c: Likewise.
44917 * manual/examples/memopen.c: Likewise.
44918 * manual/examples/memstrm.c: Likewise.
44919 * manual/examples/mkfsock.c: Likewise.
44920 * manual/examples/mkisock.c: Likewise.
44921 * manual/examples/mygetpass.c: Likewise.
44922 * manual/examples/pipe.c: Likewise.
44923 * manual/examples/popen.c: Likewise.
44924 * manual/examples/rprintf.c: Likewise.
44925 * manual/examples/search.c: Likewise.
44926 * manual/examples/select.c: Likewise.
44927 * manual/examples/setjmp.c: Likewise.
44928 * manual/examples/sigh1.c: Likewise.
44929 * manual/examples/sigusr.c: Likewise.
44930 * manual/examples/stpcpy.c: Likewise.
44931 * manual/examples/strdupa.c: Likewise.
44932 * manual/examples/strftim.c: Likewise.
44933 * manual/examples/strncat.c: Likewise.
44934 * manual/examples/subopt.c: Likewise.
44935 * manual/examples/swapcontext.c: Likewise.
44936 * manual/examples/termios.c: Likewise.
44937 * manual/examples/testopt.c: Likewise.
44938 * manual/examples/testpass.c: Likewise.
44939 * manual/examples/timeval_subtract.c: Likewise.
44940
01ae168d
RM
44941 [BZ #13792]
44942 * manual/time.texi (Elapsed Time): Move timeval_subtract example
44943 function to ...
44944 * manual/timeval_subtract.c.texi: ... here, new file.
44945
49efa33d
DM
449462012-03-02 David S. Miller <davem@davemloft.net>
44947
44948 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
44949
28afd92d
JM
449502012-03-02 Joseph Myers <joseph@codesourcery.com>
44951
804360ed
JM
44952 [BZ #3976]
44953 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
44954 (__sin): Save and restore rounding mode and use round-to-nearest
44955 for all computations.
44956 (__cos): Save and restore rounding mode and use round-to-nearest
44957 for all computations.
44958 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
44959 <fenv.h>.
44960 (tan): Save and restore rounding mode and use round-to-nearest for
44961 all computations.
44962 * math/libm-test.inc (cos_test_tonearest): New function.
44963 (cos_test_towardzero): Likewise.
44964 (cos_test_downward): Likewise.
44965 (cos_test_upward): Likewise.
44966 (sin_test_tonearest): Likewise.
44967 (sin_test_towardzero): Likewise.
44968 (sin_test_downward): Likewise.
44969 (sin_test_upward): Likewise.
44970 (tan_test_tonearest): Likewise.
44971 (tan_test_towardzero): Likewise.
44972 (tan_test_downward): Likewise.
44973 (tan_test_upward): Likewise.
44974 (main): Call the new functions.
44975 * sysdeps/i386/fpu/libm-test-ulps: Update.
44976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44977
a6d06d7b
JM
44978 [BZ #10135]
44979 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
44980 small n, then large n, before computing and testing k+n.
44981 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
44982 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
44983 Likewise.
44984 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
44985 Likewise.
44986 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
44987 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
44988 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
44989 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
44990 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
44991 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
44992 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
44993 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
44994 * math/libm-test.inc (scalbn_test): Add more tests.
44995 (scalbln_test): Likewise.
44996
07e12bb3
JM
44997 * manual/filesys.texi (mode_t): Describe constraints on size and
44998 signedness, not exact equivalence to a particular type.
44999 (ino_t): Likewise.
45000 (ino64_t): Likewise.
45001 (dev_t): Likewise.
45002 (nlink_t): Likewise.
45003 (blkcnt_t): Likewise.
45004 (blkcnt64_t): Likewise.
45005 * manual/llio.texi (off_t): Likewise.
45006
28afd92d
JM
45007 [BZ #3976]
45008 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
45009 (__ieee754_exp): Save and restore rounding mode and use
45010 round-to-nearest for all computations.
45011 * math/libm-test.inc (exp_test_tonearest): New function.
45012 (exp_test_towardzero): Likewise.
45013 (exp_test_downward): Likewise.
45014 (exp_test_upward): Likewise.
45015 (main): Call the new functions.
45016 * sysdeps/i386/fpu/libm-test-ulps: Update.
45017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45018
b1eeb65d
CD
450192012-03-01 Chris Demetriou <cgd@google.com>
45020
45021 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
45022 have predictable order.
45023
53362a4b
DM
450242012-03-01 David S. Miller <davem@davemloft.net>
45025
3c969083
DM
45026 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
45027
759707de
DM
45028 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
45029 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
45030 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
45031 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
45032
dfdb8ff2
DM
45033 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
45034 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
45035 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
45036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
45037 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
45038 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
45039 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
45040 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
45041 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
45042
ead89f96
DM
45043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45044
7f66bd07
DM
45045 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
45046 * sysdeps/sparc/fpu/libm-test-ulps: to here.
45047 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
45048
53362a4b
DM
45049 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
45050 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45051 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45052 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
45053 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
45054 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
45055 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
45056 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45057 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45058 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
45059 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
45060 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45061 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45062 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45063 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45064 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45065 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
45066 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
45067 * sysdeps/sparc/elf/configure: Regenerated.
45068
7b1902cb
JM
450692012-03-01 Joseph Myers <joseph@codesourcery.com>
45070
bec039bc
JM
45071 * configure.in (AS, LD): Require binutils 2.20 or later.
45072 * configure: Regenerated.
45073 * manual/install.texi (Tools for Compilation): Give binutils 2.20
45074 as required minimum version.
45075 * INSTALL: Regenerated.
45076
7b1902cb
JM
45077 [BZ #2541]
45078 [BZ #4108]
45079 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
45080 before squaring exponent.
45081 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
45082 bottom long double and 27 bits of top long double before squaring
45083 exponent.
45084 * math/libm-test.inc (erfc_test): Add more tests.
45085 * sysdeps/i386/fpu/libm-test-ulps: Update.
45086 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45088
f775c276
KT
450892012-03-01 Kai Tietz <ktietz@redhat.com>
45090
45091 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
45092 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
45093 containing bit-fields.
45094 * soft-fp/extended.h (_FP_UNION_E): Likewise.
45095 * soft-fp/single.h (_FP_UNION_S): Likewise.
45096 * soft-fp/double.h (_FP_UNION_D): Likewise.
45097
5b8a4d4a
JM
450982012-02-29 Joseph Myers <joseph@codesourcery.com>
45099
0bab47b6
JM
45100 [BZ #13786]
45101 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
45102 not include ../strcmp.S.
45103 [USE_AS_STRNCASECMP_L]: Likewise.
45104 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
45105 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
45106 * sysdeps/i386/i686/multiarch/strncase_l-c.c
45107 (__strncasecmp_l_ia32): Define as alias to
45108 __strncasecmp_l_nonascii.
45109
0fcad3e2
JM
45110 [BZ #5794]
45111 * math/libm-test.inc (expm1_test): Add test for bug 5794.
45112 * sysdeps/i386/fpu/libm-test-ulps: Update.
45113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45114
5b8a4d4a
JM
45115 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
45116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45117
8fdceb2e
JL
451182012-02-29 Jeff Law <law@redhat.com>
45119
45120 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
45121 out of bounds read.
45122
1f393a11
MP
451232012-02-29 Marek Polacek <polacek@redhat.com>
45124
45125 [BZ #13706]
45126 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
45127 * elf/Makefile: Add rules to run tst-unused-dep.out.
45128
8847f037
DM
451292012-02-28 David S. Miller <davem@davemloft.net>
45130
45131 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
45132 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
45133 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
45134 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
45135 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
45136 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
45137
169d7f11
JM
451382012-02-29 Joseph Myers <joseph@codesourcery.com>
45139
45140 * math/libm-test.inc (llround_test): Move one test from
45141 lround_test. Use TEST_f_L in moved test.
45142 (lround_test): Move misplaced test to llround_test. Add testcase
45143 from bug 2561.
45144
39adf059
UD
451452012-02-28 Ulrich Drepper <drepper@gmail.com>
45146
45147 * sysdeps/x86_64/fpu/e_expf.S: New file.
45148 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
45149
71b5d1c5
SB
451502012-02-28 Stanislav Brabec <sbrabec@suse.cz>
45151
45152 [BZ #13637]
45153 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
45154 of remain_len that may cause incomplete multi-byte character and
45155 false match.
45156 * posix/bug-regex33.c: New file.
45157 * posix/Makefile (tests): Add bug-regex33.
45158
1f77f049
JM
451592012-02-28 Joseph Myers <joseph@codesourcery.com>
45160
45161 * manual/macros.texi: New file.
45162 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
45163 * manual/libc.texinfo: Include macros.texi.
45164 * manual/creatute.texi: Likewise.
45165 * manual/install.texi: Likewise.
45166 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
45167 @glibcadj{} in references to the GNU C Library.
45168 * manual/charset.texi: Likewise.
45169 * manual/conf.texi: Likewise.
45170 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
45171 when not using those macros.
45172 * manual/creature.texi: Likewise.
45173 * manual/crypt.texi: Likewise.
45174 * manual/errno.texi: Likewise.
45175 * manual/filesys.texi: Likewise.
45176 * manual/header.texi: Likewise.
45177 * manual/install.texi: Likewise.
45178 * manual/intro.texi: Likewise.
45179 * manual/io.texi: Likewise.
45180 * manual/job.texi: Likewise.
45181 * manual/lang.texi: Likewise.
45182 * manual/libc.texiinfo: Likewise.
45183 * manual/llio.texi: Likewise.
45184 * manual/locale.texi: Likewise.
45185 * manual/maint.texi: Likewise.
45186 * manual/math.texi: Likewise.
45187 * manual/memory.texi: Likewise.
45188 * manual/message.texi: Likewise.
45189 * manual/nss.texi: Likewise.
45190 * manual/pattern.texi: Likewise.
45191 * manual/process.texi: Likewise.
45192 * manual/resource.texi: Likewise.
45193 * manual/search.texi: Likewise.
45194 * manual/setjmp.texi: Likewise.
45195 * manual/signal.texi: Likewise.
45196 * manual/socket.texi: Likewise.
45197 * manual/startup.texi: Likewise.
45198 * manual/stdio.texi: Likewise.
45199 * manual/string.texi: Likewise.
45200 * manual/sysinfo.texi: Likewise.
45201 * manual/syslog.texi: Likewise.
45202 * manual/terminal.texi: Likewise.
45203 * manual/time.texi: Likewise.
45204 * manual/users.texi: Likewise.
45205 * INSTALL: Regenerated.
45206 * NOTES: Regenerated.
d40c5d54 45207 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 45208
450bf206
AS
452092012-02-28 Andreas Schwab <schwab@linux-m68k.org>
45210
45211 * include/dirent.h: Include <dirstream.h> before
45212 <dirent/dirent.h>.
45213
741a235b
DM
452142012-02-28 David S. Miller <davem@davemloft.net>
45215
45216 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
45217 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
45218 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
45219 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
45220
d6b5aa58
DM
452212012-02-27 David S. Miller <davem@davemloft.net>
45222
1aff59a3
DM
45223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
45224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
45225 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
45226 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
45227
d6b5aa58
DM
45228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
45229 frame pointer instead of stack pointer relative arg slot.
45230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45231 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45232 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45233
433f48bf
CD
452342012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
45235
45236 [BZ #3992]
45237 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
45238
d674b76d
DM
452392012-02-27 David S. Miller <davem@davemloft.net>
45240
45241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
45242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
45245 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45246 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45247 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
45248 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
45249
0e7727f7
JM
452502012-02-27 Joseph Myers <joseph@codesourcery.com>
45251
45252 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
45253 later. Allow versions 5-9.
43be4ca2 45254 * configure: Regenerated.
0e7727f7
JM
45255 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
45256 required minimum version and 4.6 as recommended version. Do not
45257 mention bugs in GCC 2.7 and 2.8.
43be4ca2 45258 * INSTALL: Regenerated.
0e7727f7 45259
a78bc654
DM
452602012-02-27 David S. Miller <davem@davemloft.net>
45261
428d5830
DM
45262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
45263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
45264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
45265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
45266 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
45267 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
45268 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
45269 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
45270
a78bc654
DM
45271 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
45272 manipulate bits before adding and subtracting TWO112[sx].
45273 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
45274
4579f81c
RM
452752012-02-27 Roland McGrath <roland@hack.frob.com>
45276
36c8acb4
RM
45277 [BZ #13775]
45278 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
45279 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
45280 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
45281 being in POSIX, because they are in 1003.1-2008.
45282
84ad622b
RM
45283 * rt/tst-aio.c: Include <fcntl.h>.
45284 * rt/tst-aio7.c: Likewise.
45285 * rt/tst-aio64.c: Likewise.
45286
4579f81c
RM
45287 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
45288
abd923db
JM
452892012-02-27 Joseph Myers <joseph@codesourcery.com>
45290
45291 * manual/install.texi (--with-headers): Describe headers as
45292 interface headers, not private headers.
45293 (Specific advice for GNU/Linux systems): Describe use of headers
45294 from "make headers_install", not private headers from older
45295 kernels.
43be4ca2 45296 * INSTALL: Regenerated.
abd923db
JM
45297 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
45298 Change to 2.6.19.
45299 * sysdeps/unix/sysv/linux/configure: Regenerated.
45300
6664049b
JM
45301 * manual/llio.texi (fclean): Remove documentation.
45302
bb8b6697
JM
45303 * manual/Makefile (libc-texi-generated): New variable. Include
45304 version.texi.
45305 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
45306 $(libc-texi-generated), not duplicated list of files.
45307 (version.texi, stamp-version): New rules.
45308 (realclean): Remove $(libc-texi-generated), not individual files
45309 from that list. Do not remove dir-add.texinfo.
45310 * manual/libc.texinfo: Comment out uses of edition numbers and
45311 references to printed manual. Remove last-updated dates.
45312 (EDITION): Comment out.
45313 (ISBN): Likewise.
45314 (VERSION, UPDATED): Remove.
45315 (version.texi): Include.
45316
12e5c3b9
AS
453172012-02-27 Andreas Schwab <schwab@linux-m68k.org>
45318
45319 * sysdeps/posix/spawni.c: Include <signal.h>.
45320 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
45321 * sysdeps/pthread/aio_fsync.c: Likewise.
45322
4efeffc1 453232012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 45324
ba63ba08
UD
45325 * conform/Makefile (tests): Run only when not cross-compiling and
45326 when fast-check is not defined.
45327
d94a4670
UD
45328 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
45329 * conform/data/limits.h-data: Fixes for POSIX2008.
45330 * conform/run-conformtest.sh: Run all tests.
45331 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
45332 headers.
45333 * include/bits/dlfcn.h: Likewise.
45334 * include/langinfo.h: Likewise.
45335 * include/monetary.h: Likewise.
45336 * include/sys/poll.h: Likewise.
45337
45338 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
45339 for __USE_GNU.
45340 * posix/spawn.h: Define __need_sigset_t.
45341 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
45342 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
45343 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
45344 to get sigevent_t only.
45345 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
45346 only for __USE_GNU.
45347 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45348 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45349 process_vm_writev only for __USE_GNU.
45350 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
45351
45352 * conform/Makefile: For now ignore errors from run-conformtest.
45353 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
45354 POSIX to avoid namespace pollution. Don't prepend headers.
45355 * conform/data/aio.h-data: Fixes for POSIX testing.
45356 * conform/data/fcntl.h-data: Likewise.
45357 * conform/data/glob.h-data: Likewise.
45358 * conform/data/grp.h-data: Likewise.
45359 * conform/data/pthread.h-data: Likewise.
45360 * conform/data/pwd.h-data: Likewise.
45361 * conform/data/signal.h-data: Likewise.
45362 * conform/data/spawn.h-data: Likewise.
45363 * conform/data/stdio.h-data: Likewise.
45364 * conform/data/stdlib.h-data: Likewise.
45365 * conform/data/stropts.h-data: Likewise.
45366 * conform/data/sys/mman.h-data: Likewise.
45367 * conform/data/sys/stat.h-data: Likewise.
45368 * conform/data/sys/types.h-data: Likewise.
45369 * conform/data/sys/wait.h-data: Likewise.
45370 * conform/data/time.h-data: Likewise.
45371 * conform/data/unistd.h-data: Likewise.
45372 * conform/data/utime.h-data: Likewise.
45373
45374 * io/sys/stat.h: fchmod was always in POSIX.
45375 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
45376 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
45377 * rt/aio.h: Define __need_timespec before including <time.h>.
45378 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
45379 struct. Add forward declaration of pthread_attr_t and use it in
45380 sigevent.
45381 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45382 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45383 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
45384 always remove CLK_TCK definition.
45385
c20105c3
AS
453862012-02-26 Andreas Schwab <schwab@linux-m68k.org>
45387
45388 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
45389
7a270350
UD
453902012-02-25 Ulrich Drepper <drepper@gmail.com>
45391
31341567
UD
45392 * conform/run-conformtest.sh: New file.
45393 * conform/Makefile: Run run-conformtest for tests.
45394 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
45395 support.
45396
45397 * conform/data/uchar.h-data: New file.
45398 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
45399 * conform/data/arpa/inet.h-data: Likewise.
45400 * conform/data/assert.h-data: Likewise.
45401 * conform/data/complex.h-data: Likewise.
45402 * conform/data/cpio.h-data: Likewise.
45403 * conform/data/ctype.h-data: Likewise.
45404 * conform/data/dirent.h-data: Likewise.
45405 * conform/data/dlfcn.h-data: Likewise.
45406 * conform/data/errno.h-data: Likewise.
45407 * conform/data/fcntl.h-data: Likewise.
45408 * conform/data/float.h-data: Likewise.
45409 * conform/data/fmtmsg.h-data: Likewise.
45410 * conform/data/fnmatch.h-data: Likewise.
45411 * conform/data/ftw.h-data: Likewise.
45412 * conform/data/glob.h-data: Likewise.
45413 * conform/data/grp.h-data: Likewise.
45414 * conform/data/iconv.h-data: Likewise.
45415 * conform/data/inttypes.h-data: Likewise.
45416 * conform/data/langinfo.h-data: Likewise.
45417 * conform/data/libgen.h-data: Likewise.
45418 * conform/data/limits.h-data: Likewise.
45419 * conform/data/locale.h-data: Likewise.
45420 * conform/data/math.h-data: Likewise.
45421 * conform/data/monetary.h-data: Likewise.
45422 * conform/data/mqueue.h-data: Likewise.
45423 * conform/data/ndbm.h-data: Likewise.
45424 * conform/data/net/if.h-data: Likewise.
45425 * conform/data/netdb.h-data: Likewise.
45426 * conform/data/netinet/in.h-data: Likewise.
45427 * conform/data/nl_types.h-data: Likewise.
45428 * conform/data/poll.h-data: Likewise.
45429 * conform/data/pthread.h-data: Likewise.
45430 * conform/data/pwd.h-data: Likewise.
45431 * conform/data/regex.h-data: Likewise.
45432 * conform/data/sched.h-data: Likewise.
45433 * conform/data/search.h-data: Likewise.
45434 * conform/data/semaphore.h-data: Likewise.
45435 * conform/data/setjmp.h-data: Likewise.
45436 * conform/data/signal.h-data: Likewise.
45437 * conform/data/spawn.h-data: Likewise.
45438 * conform/data/stdarg.h-data: Likewise.
45439 * conform/data/stdio.h-data: Likewise.
45440 * conform/data/stdlib.h-data: Likewise.
45441 * conform/data/string.h-data: Likewise.
45442 * conform/data/strings.h-data: Likewise.
45443 * conform/data/stropts.h-data: Likewise.
45444 * conform/data/sys/ipc.h-data: Likewise.
45445 * conform/data/sys/mman.h-data: Likewise.
45446 * conform/data/sys/msg.h-data: Likewise.
45447 * conform/data/sys/resource.h-data: Likewise.
45448 * conform/data/sys/select.h-data: Likewise.
45449 * conform/data/sys/sem.h-data: Likewise.
45450 * conform/data/sys/shm.h-data: Likewise.
45451 * conform/data/sys/socket.h-data: Likewise.
45452 * conform/data/sys/stat.h-data: Likewise.
45453 * conform/data/sys/statvfs.h-data: Likewise.
45454 * conform/data/sys/time.h-data: Likewise.
45455 * conform/data/sys/timeb.h-data: Likewise.
45456 * conform/data/sys/times.h-data: Likewise.
45457 * conform/data/sys/types.h-data: Likewise.
45458 * conform/data/sys/uio.h-data: Likewise.
45459 * conform/data/sys/un.h-data: Likewise.
45460 * conform/data/sys/utsname.h-data: Likewise.
45461 * conform/data/sys/wait.h-data: Likewise.
45462 * conform/data/syslog.h-data: Likewise.
45463 * conform/data/tar.h-data: Likewise.
45464 * conform/data/termios.h-data: Likewise.
45465 * conform/data/utime.h-data: Likewise.
45466 * conform/data/utmpx.h-data: Likewise.
45467 * conform/data/varargs.h-data: Likewise.
45468 * conform/data/wchar.h-data: Likewise.
45469 * conform/data/wctype.h-data: Likewise.
45470 * conform/data/wordexp.h-data: Likewise.
45471
45472 * include/stropts.h: New file.
45473 * include/uchar.h: New file.
45474 * include/aio.h: Changes to allow conformtest.pl to use the headers.
45475 * include/assert.h: Likewise.
45476 * include/ctype.h: Likewise.
45477 * include/dirent.h: Likewise.
45478 * include/dlfcn.h: Likewise.
45479 * include/fcntl.h: Likewise.
45480 * include/fnmatch.h: Likewise.
45481 * include/glob.h: Likewise.
45482 * include/grp.h: Likewise.
45483 * include/libio.h: Likewise.
45484 * include/locale.h: Likewise.
45485 * include/math.h: Likewise.
45486 * include/net/if.h: Likewise.
45487 * include/netdb.h: Likewise.
45488 * include/netinet/in.h: Likewise.
45489 * include/pthread.h: Likewise.
45490 * include/pwd.h: Likewise.
45491 * include/regex.h: Likewise.
45492 * include/sched.h: Likewise.
45493 * include/search.h: Likewise.
45494 * include/setjmp.h: Likewise.
45495 * include/signal.h: Likewise.
45496 * include/stdio.h: Likewise.
45497 * include/stdlib.h: Likewise.
45498 * include/string.h: Likewise.
45499 * include/sys/cdefs.h: Likewise.
45500 * include/sys/mman.h: Likewise.
45501 * include/sys/msg.h: Likewise.
45502 * include/sys/resource.h: Likewise.
45503 * include/sys/select.h: Likewise.
45504 * include/sys/socket.h: Likewise.
45505 * include/sys/stat.h: Likewise.
45506 * include/sys/statvfs.h: Likewise.
45507 * include/sys/time.h: Likewise.
45508 * include/sys/times.h: Likewise.
45509 * include/sys/uio.h: Likewise.
45510 * include/sys/utsname.h: Likewise.
45511 * include/sys/wait.h: Likewise.
45512 * include/termios.h: Likewise.
45513 * include/time.h: Likewise.
45514 * include/ulimit.h: Likewise.
45515 * include/unistd.h: Likewise.
45516 * include/utime.h: Likewise.
45517 * include/wchar.h: Likewise.
45518 * include/wctype.h: Likewise.
45519 * include/wordexp.h: Likewise.
45520
45521 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
45522
7a270350
UD
45523 * time/time.h: TIME_UTC must be a macro.
45524 Make timespec_get available for ISO C11 only as well.
45525
7724defc
UD
455262012-02-24 Ulrich Drepper <drepper@gmail.com>
45527
45528 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
45529 Reported by Peng Haitao <penght@cn.fujitsu.com>.
45530
6b1d1d46
JM
455312012-02-24 Joseph Myers <joseph@codesourcery.com>
45532
45533 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 45534
0f8bbd69
JM
455352012-02-24 Joseph Myers <joseph@codesourcery.com>
45536
45537 * manual/texinfo.tex: Update to version 2012-01-19.16.
45538
66ab80bc
JM
455392012-02-24 Joseph Myers <joseph@codesourcery.com>
45540
45541 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
45542
74981cc5
RM
455432012-02-24 Roland McGrath <roland@hack.frob.com>
45544
ee968201
RM
45545 [BZ #13738]
45546 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
45547 * manual/fdl-1.3.texi: New file.
45548 * manual/fdl-1.1.texi: File removed.
45549
74981cc5
RM
45550 [BZ #13738]
45551 * manual/libc.texinfo (FDL_VERSION): New @set.
45552 Use it for mention of FDL in cover text.
45553 (Documentation License): Use it in @include file name.
45554
7bb764bc
JM
455552012-02-22 Joseph Myers <joseph@codesourcery.com>
45556 Roland McGrath <roland@hack.frob.com>
45557
45558 [BZ #5461]
57f41c40
AS
45559 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
45560 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
45561 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
45562 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
45563 name.
45564 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
45565
6cbeae47
JM
455662012-02-22 Joseph Myers <joseph@codesourcery.com>
45567
45568 [BZ #2547]
45569 [BZ #11365]
45570 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
45571 manipulate bits before adding and subtracting TWO23[sx].
45572 * math/libm-test.inc (nearbyint_test): Add more tests.
45573
fe45ce09
JM
455742012-02-22 Joseph Myers <joseph@codesourcery.com>
45575
45576 [BZ #2548]
45577 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
45578 bits before adding and subtracting TWO23[sx].
45579 * math/libm-test.inc (rint_test): Add more tests.
45580 (rint_test_tonearest): Likewise.
45581 (rint_test_towardzero): Likewise.
45582 (rint_test_downward): Likewise.
45583 (rint_test_upward: Likewise.
45584
ff3b3d82
JM
455852012-02-22 Joseph Myers <joseph@codesourcery.com>
45586
45587 [BZ #10110]
45588 * include/stdc-predef.h: New file. Extracted from features.h.
45589 * include/features.h: Include stdc-predef.h.
45590 * Makefile (headers): Add stdc-predef.h.
45591 * CONFORMANCE (Compiler limitations): Update.
45592
ef0aab35
JM
455932012-02-22 Joseph Myers <joseph@codesourcery.com>
45594
45595 * manual/libc.texinfo (VERSION, UPDATED): Revert.
45596
58639409
DM
455972012-02-21 David S. Miller <davem@davemloft.net>
45598
45599 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
45600 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45601
c0e70b25
DM
456022012-02-20 David S. Miller <davem@davemloft.net>
45603
45604 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
45605 using a normal save/restore sequence, rather than allocating a
45606 dummy stack frame just to store a frame pointer and restore.
45607 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45608
fb06851d
JM
456092012-02-21 Joseph Myers <joseph@codesourcery.com>
45610
45611 * manual/install.texi: Fix stray word in line-wrapped comment.
45612
7a8b71c3
DM
456132012-02-20 David S. Miller <davem@davemloft.net>
45614
d510c123
DM
45615 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
45616 both binutils and gcc support GOTDATA.
45617
0722d7c2
DM
45618 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
45619 "rd %pc" in the PIC register setup sequences.
45620
3d2b3019
DM
45621 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
45622 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
45623 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45624 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
45625 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45626 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45627 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45628 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45629 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
45630 (SYSCALL_ERROR_HANDLER): Likewise.
45631 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45632 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45633 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
45634 (SYSCALL_ERROR_HANDLER): Likewise.
45635
c80098a9
DM
45636 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
45637 (HAVE_GCC_GOTDATA): New.
45638 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
45639 relocation support in both binutils and gcc.
45640 * sysdeps/sparc/elf/configure: Regenerate.
45641
3a2545a0
DM
45642 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
45643 * sysdeps/sparc/sparc32/elf/configure: Delete.
45644 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
45645 * sysdeps/sparc/sparc64/elf/configure: Delete.
45646 * sysdeps/sparc/elf/configure.in: New file.
45647 * sysdeps/sparc/elf/configure: Generate.
45648
7a8b71c3
DM
45649 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
45650 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
45651 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45652 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
45653 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
45654
f1e86fca
JM
456552012-02-21 Joseph Myers <joseph@codesourcery.com>
45656
45657 * manual/install.texi: Do not mention specific glibc version
45658 numbers.
45659 * manual/libc.texinfo (VERSION, UPDATED): Update.
45660 (@copying): Use @copyright{} and range of years.
45661
0e7dfaef
JM
456622012-02-21 Joseph Myers <joseph@codesourcery.com>
45663
45664 [BZ #13695]
45665 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
45666 [crti.S not in sysdirs] (generated): Do not append.
45667 [crti.S not in sysdirs] (omit-deps): Likewise.
45668 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
45669 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
45670 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
45671 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
45672 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
45673 Likewise.
45674 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
45675 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
45676 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
45677 * csu/defs.awk: Remove file.
45678 * sysdeps/generic/initfini.c: Likewise.
45679 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
45680 variable.
45681 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
45682 Likewise.
45683
599af3ca
JM
456842012-02-20 Joseph Myers <joseph@codesourcery.com>
45685
45686 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
45687 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
45688 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
45689 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
45690 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45691 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
45692 <bits/epoll.h>.
45693 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
45694 (__EPOLL_PACKED): Define to empty if not defined by
45695 <bits/epoll.h>.
45696 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
45697 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45698 bits/epoll.h.
45699
0e499750
JM
457002012-02-20 Joseph Myers <joseph@codesourcery.com>
45701
45702 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
45703 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
45704 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
45705 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
45706 <bits/timerfd.h>.
45707 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
45708 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45709 bits/timerfd.h.
45710
5ad91f6e
JM
457112012-02-20 Joseph Myers <joseph@codesourcery.com>
45712
45713 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
45714 in C locale.
45715 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45716 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45717 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
45718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45719
06b99b02
AJ
457202012-02-20 Aurelien Jarno <aurelien@aurel32.net>
45721
45722 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45723 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45724
7638c0fd
AS
457252012-02-19 Andreas Schwab <schwab@linux-m68k.org>
45726
45727 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
45728 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
45729 defined.
45730 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
45731 Likewise.
45732 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
45733 entry for 2.16.
45734
92221550
AJ
457352012-02-19 Aurelien Jarno <aurelien@aurel32.net>
45736
45737 * math/w_acos.c: Use non-signaling floating-point comparisons.
45738 * math/w_acosf.c: Likewise.
45739 * math/w_acosh.c: Likewise.
45740 * math/w_acoshf.c: Likewise.
45741 * math/w_acoshl.c: Likewise.
45742 * math/w_acosl.c: Likewise.
45743 * math/w_asin.c: Likewise.
45744 * math/w_asinf.c: Likewise.
45745 * math/w_asinl.c: Likewise.
45746 * math/w_atanh.c: Likewise.
45747 * math/w_atanhf.c: Likewise.
45748 * math/w_atanhl.c: Likewise.
45749 * math/w_exp2.c: Likewise.
45750 * math/w_exp2f.c: Likewise.
45751 * math/w_exp2l.c: Likewise.
45752 * math/w_j0.c: Likewise.
45753 * math/w_j0f.c: Likewise.
45754 * math/w_j0l.c: Likewise.
45755 * math/w_j1.c: Likewise.
45756 * math/w_j1f.c: Likewise.
45757 * math/w_j1l.c: Likewise.
45758 * math/w_jn.c: Likewise.
45759 * math/w_jnf.c: Likewise.
45760 * math/w_log.c: Likewise.
45761 * math/w_log10.c: Likewise.
45762 * math/w_log10f.c: Likewise.
45763 * math/w_log10l.c: Likewise.
45764 * math/w_log2.c: Likewise.
45765 * math/w_log2f.c: Likewise.
45766 * math/w_log2l.c: Likewise.
45767 * math/w_logf.c: Likewise.
45768 * math/w_logl.c: Likewise.
45769 * math/w_sqrt.c: Likewise.
45770 * math/w_sqrtf.c: Likewise.
45771 * math/w_sqrtl.c: Likewise.
45772 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45773 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
45774 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45775 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45776 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45777
ebaf36eb
JM
457782012-02-19 Joseph Myers <joseph@codesourcery.com>
45779
45780 [BZ #9739]
45781 * manual/string.texi (strnlen): Use correct parameter name in
45782 equivalent expression.
45783
71c254a6
JM
457842012-02-19 Joseph Myers <joseph@codesourcery.com>
45785
45786 [BZ #11174]
45787 * manual/users.texi (seteuid): Consistently use neweuid for
45788 argument name.
45789
16d2c631
JM
457902012-02-19 Joseph Myers <joseph@codesourcery.com>
45791
45792 [BZ #13704]
45793 * manual/nss.texi (Services in the NSS configuration): Correct
45794 list of services in example configuration file.
45795
cd837b09
NB
457962012-02-19 Nick Bowler <nbowler@draconx.ca>
45797
45798 [BZ #11322]
45799 * manual/arith.texi: Remove statements about negative zero
45800 behaving identically to zero.
45801
02c4bbad
JM
458022012-02-18 Joseph Myers <joseph@codesourcery.com>
45803
45804 [BZ #5993]
45805 * manual/install.texi: Do not document upgrading from libc5.
45806
366842e7
JM
458072012-02-18 Joseph Myers <joseph@codesourcery.com>
45808
45809 [BZ #4596]
45810 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
45811
dd54084d
DM
458122012-02-18 David S. Miller <davem@davemloft.net>
45813
45814 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
45815 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
45816 %o7 across the call.
45817 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
45818 instead.
45819 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
45820 SETUP_PIC_REG_LEAF.
45821 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45822 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
45823 * sysdeps/sparc/crtn.S: Likewise.
45824
2bcc53a3
UD
458252012-02-17 Ulrich Drepper <drepper@gmail.com>
45826
45827 * aout/Makefile: Remove.
45828
09c093b5
RK
458292012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
45830
45831 [BZ #13058]
45832 * manual/examples/argp-ex1.c (main): Format definition in GNU
45833 style.
45834 * manual/examples/argp-ex2.c (main): Likewise.
45835 * manual/examples/argp-ex3.c (main): Likewise.
45836 * manual/examples/argp-ex4.c (main): Likewise.
45837 * manual/examples/longopt.c (main): Use new-style prototype
45838 definition.
45839 * manual/examples/strncat.c (main): Specify return type and use
45840 (void) for arguments.
45841 * manual/examples/subopt.c (main): Use char **argv argument.
45842
2ee633a2
JM
458432012-02-17 Joseph Myers <joseph@codesourcery.com>
45844
45845 [BZ #5077]
45846 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
45847 rounding modes.
45848
0520adde
FB
458492012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
45850
45851 [BZ #6907]
45852 * manual/string.texi (strchr): Change when strchrnul is
45853 recommended.
45854
3f4081cd
DGM
458552012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
45856
45857 [BZ #174]
45858 * manual/locale.texi (setlocale): Document LOCPATH.
45859
d1b10e78
JM
458602012-02-17 Joseph Myers <joseph@codesourcery.com>
45861
45862 [BZ #10210]
45863 * manual/process.texi (execle): Move @dots{} before last argument.
45864
79c6869c
PB
458652012-02-17 Paul Bolle <pebolle@tiscali.nl>
45866
45867 [BZ #12047]
45868 * manual/charset.texi (Generic Charset Conversion): Fix typo
45869 (LC_TYPE -> LC_CTYPE).
45870
cc6e48bc
NB
458712012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
45872
45873 [BZ #5805]
45874 * manual/arith.texi (scalbn): Use @var{} on parameter names.
45875 (scalbnf): Likewise.
45876 (scalbnl): Likewise.
45877 (scalbln): Likewise.
45878 (scalblnf): Likewise.
45879 (scalblnl): Likewise.
45880 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
45881 (vwarnx): Likewise.
45882 (verr): Likewise.
45883 (verrx): Likewise.
45884 * manual/filesys.texi (telldir): Use braces around return type.
45885 * manual/llio.texi (mmap): Add space after comma.
45886 (mmap64): Likewise.
45887 * manual/math.texi (jn): Use @var{} on parameter names.
45888 (jnf): Likewise.
45889 (jnl): Likewise.
45890 (yn): Likewise.
45891 (ynf): Likewise.
45892 (ynl): Likewise.
45893 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
45894 line.
45895 * manual/resource.texi (ulimit): Use @dots{} instead of literal
45896 "...".
45897 (sched_get_priority_min): Remove semicolon on @deftypefun line.
45898 (sched_get_priority_max): Likewise.
45899 * manual/signal.texi (sigvec): Add space after comma.
45900 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
45901 names.
45902 (if_indextoname): Likewise.
45903 (if_freenameindex): Likewise.
45904 (sendto): Use ',' instead of '.' in prototype.
45905 * manual/startup.texi (syscall): Use @dots{} instead of literal
45906 "...".
45907 * manual/stdio.texi (__fpending): Separate initial words of
45908 paragraph from @deftypefun line.
45909 * manual/syslog.texi (syslog): Use @dots{} instead of literal
45910 "...".
45911 (vsyslog): Use @var{} on parameter names.
45912 * manual/terminal.texi (stty): Use @var{} on parameter names.
45913 * manual/users.texi (getutmp): Use @var{} on parameter names.
45914 (getutmpx): Likewise.
45915
5b23062f
JM
459162012-02-17 Joseph Myers <joseph@codesourcery.com>
45917
45918 [BZ #6884]
45919 * manual/stdio.texi (fopen): Fix typos in description of
45920 ",ccs=STRING".
45921
8dee4833
AJ
459222012-02-17 Aurelien Jarno <aurelien@aurel32.net>
45923
45924 [BZ #4026]
45925 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
45926 get clock_id definition.
45927
9078ce93
TS
459282012-02-17 Thomas Schwinge <thomas@schwinge.name>
45929
45930 [BZ #4822]
45931 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
45932 (madvise): Cast every argument to void on its own.
45933
3835c55f
JM
459342012-02-17 Joseph Myers <joseph@codesourcery.com>
45935
45936 [BZ #9902]
45937 * manual/startup.texi (Exit Status): Fix typo.
45938
35c47e37
JM
459392012-02-17 Joseph Myers <joseph@codesourcery.com>
45940
45941 [BZ #10140]
45942 * manual/examples/argp-ex1.c: Include <stdlib.h>.
45943 * manual/examples/argp-ex2.c: Likewise.
45944 * manual/examples/argp-ex3.c: Likewise.
45945
e3b69ca7
RH
459462012-02-16 Richard Henderson <rth@redhat.com>
45947
45948 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
45949 * sysdeps/s390/s390-32/initfini.c: Remove.
45950 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
45951 * sysdeps/s390/s390-64/initfini.c: Remove.
45952
df83af67
KK
459532012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45954
45955 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
45956 compiler output for sysdeps/generic/initfini.c.
45957 * sysdeps/sh/elf/initfini.c: Remove file.
45958
f63f3380
DM
459592012-02-16 David S. Miller <davem@davemloft.net>
45960
fb59b3a4
DM
45961 [BZ #11494]
45962 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
45963
f63f3380
DM
45964 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
45965 * sysdeps/sparc/crti.S: New file.
45966 * sysdeps/sparc/crtn.S: New file.
45967 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
45968 * sysdeps/sparc/sparc64/Makefile: Likewise.
45969
df6a4a4a
MF
459702012-02-15 Mike Frysinger <vapier@gentoo.org>
45971
6dd8f3dc 45972 [BZ #3335]
df6a4a4a
MF
45973 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
45974
1cac7236
RM
459752012-02-15 Roland McGrath <roland@hack.frob.com>
45976
d2c736f8
RM
45977 [BZ #4822]
45978 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
45979
1cac7236
RM
45980 * mach/devstream.c (cookie_io_functions_t): Macro removed.
45981 (write, read, close): Likewise.
45982 Patch by Aurelien Jarno <aurelien@aurel32.net>.
45983
8e475601
JM
459842012-02-15 Joseph Myers <joseph@codesourcery.com>
45985
45986 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
45987 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
45988 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
45989 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
45990 <bits/signalfd.h>.
45991 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
45992 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45993 bits/signalfd.h.
45994
ed656b40
MP
459952012-02-14 Marek Polacek <polacek@redhat.com>
45996
45997 * sysdeps/x86_64/crti.S: New file.
45998 * sysdeps/x86_64/crtn.S: New file.
45999 * sysdeps/x86_64/elf/initfini.c: Remove file.
46000
2a979d3a
JM
460012012-02-13 Joseph Myers <joseph@codesourcery.com>
46002
46003 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
46004 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
46005 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
46006 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
46007 <bits/inotify.h>.
46008 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
46009 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46010 bits/inotify.h.
46011
2a418ac3
JM
460122012-02-13 Joseph Myers <joseph@codesourcery.com>
46013
46014 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
46015 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
46016 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
46017 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
46018 <bits/eventfd.h>.
46019 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
46020 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46021 bits/eventfd.h.
46022
fb779be7
TS
460232012-02-10 Thomas Schwinge <thomas@codesourcery.com>
46024
e19e83c5
RM
46025 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
46026 __feraiseexcept instead of feraiseexcept.
7c35ffed 46027
fb779be7
TS
46028 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
46029 nanosleep invocations.
46030 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
46031 strings, and add error checking for a nanosleep invocations.
46032
59ba27a6
PE
460332012-02-09 Paul Eggert <eggert@cs.ucla.edu>
46034
46035 Replace FSF snail mail address with URLs, as per GNU coding standards.
46036 Most of the snail mail addresses were wrong anyway, and omitting
46037 them makes the source code easier to maintain. Almost all of the
46038 changes are to license notices and to locale LC_IDENTIFICATION
46039 addresses, except for this one:
46040 * manual/libc.texinfo: In "Published by", give the FSF's URL,
46041 not its snail mail address.
46042
57b957eb
RH
460432012-02-09 Richard Henderson <rth@twiddle.net>
46044
af850b1c
RH
46045 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
46046 of kernel-features.h.
46047
57b957eb
RH
46048 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
46049
6b73181a
MP
460502012-02-08 Marek Polacek <polacek@redhat.com>
46051
46052 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
46053 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
46054 * sysdeps/gnu/_G_config.h: Likewise.
46055 * sysdeps/generic/_G_config.h: Likewise.
46056
26ecc33a
AS
460572012-02-08 Andreas Schwab <schwab@linux-m68k.org>
46058
6c6dbc63
AS
46059 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
46060 tests.
46061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46062
e216c012
AS
46063 * sysdeps/powerpc/powerpc32/crti.S: New file.
46064 * sysdeps/powerpc/powerpc32/crtn.S: New file.
46065 * sysdeps/powerpc/powerpc64/crti.S: New file.
46066 * sysdeps/powerpc/powerpc64/crtn.S: New file.
46067
26ecc33a
AS
46068 * Makeconfig (have-initfini): Don't set.
46069 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
46070 * configure.in (nopic_initfini): Don't substitute.
46071 * config.h.in (HAVE_INITFINI): Don't #undef.
46072 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
46073 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
46074
3add8e13
JM
460752012-02-08 Joseph Myers <joseph@codesourcery.com>
46076
46077 Support crti.S and crtn.S provided directly by architectures.
46078 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
46079 [crti.S in sysdirs] (omit-deps): Likewise.
46080 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
46081 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
46082 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
46083 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
46084 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
46085 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
46086 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
46087 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
46088 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
46089 compiler output for sysdeps/generic/initfini.c.
46090 * sysdeps/i386/elf/Makefile: Remove file.
46091 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
46092
a22f12b4
MP
460932012-02-07 Marek Polacek <polacek@redhat.com>
46094
46095 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
46096 * sysdeps/gnu/_G_config.h: Likewise.
46097 * sysdeps/mach/hurd/_G_config.h: Likewise.
46098
148cf100
MP
460992012-02-07 Marek Polacek <polacek@redhat.com>
46100
46101 * math/Makefile (tests): Add tst-CMPLX2.
46102 * math/tst-CMPLX2.c: New file.
46103
cfdc0dd7
AS
461042012-02-07 Andreas Schwab <schwab@linux-m68k.org>
46105
84ba42c4
AS
46106 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46107
cfdc0dd7
AS
46108 * math/libm-test.inc (jn_test): Add missing L suffix.
46109
622c86f4
MP
461102012-02-06 Marek Polacek <polacek@redhat.com>
46111
46112 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
46113 * sysdeps/i386/fpu/e_powf.S: Likewise.
46114 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46115 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46116 * sysdeps/i386/fpu/e_acosh.S: Likewise.
46117 * sysdeps/i386/fpu/e_pow.S: Likewise.
46118 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46119 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46120 * sysdeps/i386/fpu/s_expm1.S: Likewise.
46121 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46122 * sysdeps/i386/fpu/e_log2.S: Likewise.
46123 * sysdeps/i386/fpu/e_log2l.S: Likewise.
46124 * sysdeps/i386/fpu/e_scalb.S: Likewise.
46125 * sysdeps/i386/fpu/e_powl.S: Likewise.
46126 * sysdeps/i386/fpu/s_log1p.S: Likewise.
46127 * sysdeps/i386/fpu/e_log10f.S: Likewise.
46128 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46129 * sysdeps/i386/fpu/e_logl.S: Likewise.
46130 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46131 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
46132 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46133 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46134 * sysdeps/i386/fpu/e_log2f.S: Likewise.
46135 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46136 * sysdeps/i386/fpu/e_log.S: Likewise.
46137 * sysdeps/i386/fpu/s_cexp.S: Likewise.
46138 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46139 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
46140 * sysdeps/i386/fpu/e_logf.S: Likewise.
46141 * sysdeps/i386/fpu/e_log10l.S: Likewise.
46142 * sysdeps/i386/fpu/e_atanh.S: Likewise.
46143 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
46144 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46145 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46146 * sysdeps/i386/fpu/e_log10.S: Likewise.
46147 * sysdeps/i386/fpu/s_frexp.S: Likewise.
46148 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46149 * sysdeps/i386/fpu/s_asinh.S: Likewise.
46150 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46151 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46152 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46153 * sysdeps/i386/asm-syntax.h: Likewise.
46154 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46155 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46156 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46157 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
46158 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
46159 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46160 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46161 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46162 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46163 * sysdeps/powerpc/sysdep.h: Likewise.
46164 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
46165 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46166
d4a54ac6
JM
461672012-02-06 Joseph Myers <joseph@codesourcery.com>
46168
46169 [BZ #411]
46170 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
46171
314054ea
JM
461722012-02-06 Joseph Myers <joseph@codesourcery.com>
46173
46174 * sysdeps/i386/sysdep.h: Include <features.h>.
46175 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
46176 version.
46177
d8e0ca50
JM
461782012-02-05 Joseph Myers <joseph@codesourcery.com>
46179
46180 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
46181 Define.
46182 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
46183 LOAD_PIC_REG_STR.
46184
b1da7dd9
JM
461852012-02-03 Joseph Myers <joseph@codesourcery.com>
46186
46187 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
46188 (SETUP_PIC_REG): Use GET_PC_THUNK.
46189 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
46190 macro.
46191
9a1d9254
JM
461922012-02-03 Joseph Myers <joseph@codesourcery.com>
46193
46194 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
46195 for non-PIC compilation.
46196 (SETUP_PIC_REG): Add .p2align directive.
46197 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
46198 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
46199 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46200 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46201 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
46202 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46203 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
46204 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46205 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46206 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46207 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46208 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46209 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46210 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46211 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46212 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
46213 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
46214 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46215 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46216 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46217 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46218 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
46219 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46220 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46221 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
46222 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
46223 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46224 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
46225 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46226 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46227 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46228 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46229 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46230 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46231 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46232 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46233 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46234 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46235 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46236 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46237 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46238
65dc3b75
JM
462392012-02-03 Joseph Myers <joseph@codesourcery.com>
46240
46241 * math/tst-CMPLX.c: Include <stdio.h>.
46242
d55bf177
JM
462432012-01-31 Joseph Myers <joseph@codesourcery.com>
46244
46245 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
46246 float.
46247 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46248 * sysdeps/sparc/bits/mathdef.h: Likewise.
46249
69db4f8f
MP
462502012-01-31 Marek Polacek <polacek@redhat.com>
46251
46252 * libio/libio.h: Don't define _PARAMS.
46253 * locale/programs/config.h: Don't define PARAMS.
46254 * stdlib/strtol_l.c: Likewise.
46255 (__strtol_l): Remove PARAMS from the prototype.
46256
41b81892
UD
462572012-01-31 Ulrich Drepper <drepper@gmail.com>
46258
3b49edc0
UD
46259 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
46260 names. Just use the correct names. Remove unnecessary wrapper
46261 functions.
46262 * malloc/arena.c: Likewise.
46263 * malloc/hooks.c: Likewise.
46264
41b81892
UD
46265 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
46266 ARENA_TEST says not to. Simplify test for creation of a new arena.
46267 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
46268
27a25b6e
UD
462692012-01-30 Ulrich Drepper <drepper@gmail.com>
46270
46271 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
46272 into tail calls.
46273 (update_get_addr): New function.
46274 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
46275 GET_ADDR_MODULE parameter.
46276
c8a89e7d
JM
462772012-01-30 Joseph Myers <joseph@codesourcery.com>
46278
46279 * crypt/cert.c: Remove __STDC__ conditionals.
46280 * crypt/crypt-entry.c: Likewise.
46281 * crypt/crypt_util.c: Likewise.
46282 * libio/filedoalloc.c: Likewise.
46283 * libio/fileops.c: Likewise.
46284 * libio/genops.c: Likewise.
46285 * libio/iofclose.c: Likewise.
46286 * libio/iofdopen.c: Likewise.
46287 * libio/iofopen.c: Likewise.
46288 * libio/iofopen64.c: Likewise.
46289 * libio/iogetdelim.c: Likewise.
46290 * libio/iopopen.c: Likewise.
46291 * libio/obprintf.c: Likewise.
46292 * libio/oldfileops.c: Likewise.
46293 * libio/oldiofclose.c: Likewise.
46294 * libio/oldiofdopen.c: Likewise.
46295 * libio/oldiofopen.c: Likewise.
46296 * libio/oldiopopen.c: Likewise.
46297 * libio/wfiledoalloc.c: Likewise.
46298 * libio/wgenops.c: Likewise.
46299 * locale/programs/xmalloc.c: Likewise.
46300 * misc/syslog.c: Likewise.
46301 * stdio-common/xbug.c: Likewise.
46302 * string/memchr.c: Likewise.
46303 * string/memcmp.c: Likewise.
46304 * string/memrchr.c: Likewise.
46305 * string/rawmemchr.c: Likewise.
46306 * sysdeps/posix/getcwd.c: Likewise.
46307 * time/strftime_l.c: Likewise.
46308
3b100462
JM
463092012-01-30 Joseph Myers <joseph@codesourcery.com>
46310
46311 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
46312 * config.make.in (config-cflags-sse2avx): Define.
46313 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
46314 Fix typo.
46315
607998af
CM
463162012-01-29 Chris Metcalf <cmetcalf@tilera.com>
46317
46318 * scripts/config.guess: Update from upstream config git repository.
46319 * scripts/config.sub: Likewise.
46320
3601428f
CM
463212012-01-28 Chris Metcalf <cmetcalf@tilera.com>
46322
3ac8b282
CM
46323 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
46324 (EM_NUM): Update.
46325 (R_TILEPRO_*, R_TILEGX_*): New macros.
46326
e034841e
CM
46327 * scripts/firstversions.awk: Fix bug in version range handling.
46328
540d7568
CM
46329 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
46330
3601428f
CM
46331 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
46332
463de862
CM
46333 * include/sys/epoll.h: New file.
46334 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
46335 libc_hidden_def.
46336
73139a76
UD
463372012-01-28 Ulrich Drepper <drepper@gmail.com>
46338
96bc5b45
UD
46339 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
46340 Avoid unnecessary __WORDSIZE == 64 test.
46341 (fmaxf): Use VEX format if possible.
46342 (fmax): Likewise.
46343 (fminf): Likewise.
46344 (fmin): Likewise.
46345
56f6f6a2
UD
46346 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
46347 * math/math_private.h: Remove libc_fegetround* and
46348 libc_fesetround*.
46349 * sysdeps/i386/configure.in: Check for -msse2avx.
46350 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
46351 also if SSE2AVX is defined.
46352 Remove libc_fegetround* and libc_fesetround*.
46353 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
46354 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
46355 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
46356 of HAS_YMM_USABLE.
46357 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46358 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46359 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46360 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46361 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46362
73139a76
UD
46363 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
46364
d73f93a4
AZ
463652012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46366
46367 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
46368 size is not set.
46369 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46370
6ee65ed6
UD
463712012-01-27 Ulrich Drepper <drepper@gmail.com>
46372
46373 [BZ #13618]
46374 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
46375 relocation.
46376 * Makeconfig (libm): Define.
46377 * elf/Makefile: Add rules to build and run tst-relsort1.
46378 * elf/tst-relsort1.c: New file.
46379 * elf/tst-relsort1mod1.c: New file.
46380 * elf/tst-relsort1mod2.c: New file.
46381
8db21882
JM
463822012-01-27 Joseph Myers <joseph@codesourcery.com>
46383
46384 * math/s_ldexp.c: Remove __STDC__ conditionals.
46385 * math/s_ldexpf.c: Likewise.
46386 * math/s_ldexpl.c: Likewise.
46387 * math/s_nextafter.c: Likewise.
46388 * math/s_nexttowardf.c: Likewise.
46389 * math/s_significand.c: Likewise.
46390 * math/s_significandf.c: Likewise.
46391 * math/s_significandl.c: Likewise.
46392 * math/w_jnl.c: Likewise.
46393 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46394 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46395 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46396 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46397 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46398 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46399 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
46400 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46401 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46402 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46403 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46404 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46405 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46406 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46407 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46408 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46409 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46410 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46411 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46412 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46413 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46414 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46415 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46416 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46417 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46418 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46419 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46420 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46421 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46422 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46423 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46424 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46425 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46426 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46427 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46428 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46429 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46430 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46431 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46432 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46433 * sysdeps/ieee754/k_standard.c: Likewise.
46434 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46435 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46436 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46437 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46438 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46439 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46440 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46441 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46442 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46443 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46444 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46445 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46446 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46447 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46448 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46449 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46450 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46451 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46452 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46453 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46454 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46455 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46456 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46457 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46458 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46459 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46460 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46461 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46462 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46463 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46464 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46465 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
46466 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46467 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46468 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46469 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46470 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
46471 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46472 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46473 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
46474 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
46475 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46476 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
46477 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
46478 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46479 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46480 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46481 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46482 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46483 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
46484 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
46485 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46486 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46487 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46488 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46489 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46490 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
46491 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46492 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46493 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46494 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46495 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46496 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46497 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46498 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46499 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46500 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46501 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46502 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46503 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46504 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46505 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46506 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46507 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46508 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46509 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46510 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46511 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46512 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46513 * sysdeps/ieee754/s_matherr.c: Likewise.
46514 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46515 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46516 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46517 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46518
965a54a4
JM
465192012-01-26 Joseph Myers <joseph@codesourcery.com>
46520
46521 * crypt/md5.h: Remove __STDC__ conditionals.
46522 * libio/libioP.h: Likewise.
46523 * locale/programs/config.h: Likewise.
46524 * sysdeps/generic/sysdep.h: Likewise.
46525 * sysdeps/i386/asm-syntax.h: Likewise.
46526 * sysdeps/s390/asm-syntax.h: Likewise.
46527 * sysdeps/unix/sysdep.h: Likewise.
46528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46530
7071ad79
JM
465312012-01-26 Joseph Myers <joseph@codesourcery.com>
46532
46533 * libio/libio.h: Remove __STDC__ conditionals.
46534 * malloc/obstack.h: Likewise.
46535 * math/complex.h: Likewise.
46536 * math/math.h: Likewise.
46537 * sysdeps/generic/_G_config.h: Likewise.
46538 * sysdeps/gnu/_G_config.h: Likewise.
46539 * sysdeps/mach/hurd/_G_config.h: Likewise.
46540 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46541 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46542 * sysdeps/sparc/bits/mathdef.h: Likewise.
46543
afc5ed09
UD
465442012-01-26 Ulrich Drepper <drepper@gmail.com>
46545
46546 [BZ #13583]
46547 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 46548 Clean up HAS_* macros.
afc5ed09 46549 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
46550 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
46551 possible.
46552 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
46553 HAS_AVX.
46554 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46555 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46556 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46557 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46558 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 46559
bdb6de1d
JM
465602012-01-25 Joseph Myers <joseph@codesourcery.com>
46561
46562 * elf/tst-unique3.cc (gets): Remove declaration.
46563 * elf/tst-unique3lib.cc (gets): Likewise.
46564 * elf/tst-unique3lib2.cc (gets): Likewise.
46565 * elf/tst-unique4.cc (gets): Likewise.
46566
b15549e6
UD
465672012-01-24 Ulrich Drepper <drepper@gmail.com>
46568
46569 * include/stdio.h: Add C++ protection. Add gets declarations and
46570 definitions.
46571 * debug/tst-chk1.c: Don't declare gets here.
46572 * stdio-common/tst-gets.c: Likewise.
46573
a037381f
JM
465742012-01-24 Joseph Myers <joseph@codesourcery.com>
46575
46576 * posix/glob: Remove directory.
46577
f1d4aa75
JM
465782012-01-24 Joseph Myers <joseph@codesourcery.com>
46579
46580 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
46581
81c0c964
PT
465822012-01-22 Pino Toscano <toscano.pino@tiscali.it>
46583
46584 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
46585 of the non-standard EPFNOSUPPORT.
46586
0ea698ae
ST
465872011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
46588
46589 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
46590 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
46591 ANYWHERE set to 1 only on KERN_NO_SPACE error.
46592
d220b117
UD
465932012-01-21 Ulrich Drepper <drepper@gmail.com>
46594
46595 * wcsmbs/uchar.h: Test __STDC_VERSION__.
46596
3e1aa84e
UD
465972012-01-20 Ulrich Drepper <drepper@gmail.com>
46598
46599 * nscd/aicache.c (addhstaiX): Do not cache negative results of
46600 transient errors.
46601 * nscd/grpcache.c (cache_addgr): Likewise.
46602 * nscd/hstcache.c (cache_addhst): Likewise.
46603 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46604 * nscd/pwdcache.c (cache_addpw): Likewise.
46605 * nscd/servicescache.c (cache_addserv): Likewise.
46606
400aa020
UD
466072012-01-16 Ulrich Drepper <drepper@gmail.com>
46608
d77e7869
UD
46609 * malloc/malloc.c: Various cleanups.
46610 * malloc/hooks.c: Likewise.
46611
400aa020
UD
46612 * stdlib/Makefile (tests): Add bug-fmtmsg1.
46613 * stdlib/bug-fmtmsg1.c: New file.
46614
46615 * stdlib/fmtmsg.c (init): Add missing unlock.
46616 Patch by Peng Haitao <penght@cn.fujitsu.com>.
46617
e0a309cf
MP
466182012-01-12 Marek Polacek <polacek@redhat.com>
46619
46620 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
46621 and _GNU_SOURCE.
46622
929d11c7
WS
466232012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46624
46625 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
46626 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
46627 macro to ensure uniqueness of label name.
46628 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46629 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46630
41d0e869
UD
466312012-01-11 Ulrich Drepper <drepper@gmail.com>
46632
0cc5ed3b
UD
46633 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
46634
41d0e869
UD
46635 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
46636 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46637 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46638 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
46639
a47a831a
UD
466402012-01-10 Ulrich Drepper <drepper@gmail.com>
46641
daa891c0
UD
46642 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
46643
46644 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
46645 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46646 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46647
e58ef0f2
UD
46648 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
46649
a47a831a 46650 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
46651 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46652 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 46653 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
46654
46655 * math/bits/math-finite.h: Add ldexp support.
46656
a0bfc9c7
MP
466572012-01-10 Marek Polacek <polacek@redhat.com>
46658
46659 * locale/programs/localedef.h (show_archive_content): Add noreturn
46660 attribute.
46661
d6e97a1d
UD
466622012-01-09 Ulrich Drepper <drepper@gmail.com>
46663
46664 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
46665
d5835c26
UD
466662012-01-08 Ulrich Drepper <drepper@gmail.com>
46667
e5f484c6
UD
46668 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
46669
d5835c26
UD
46670 * io/Makefile (headers): Add bits/poll2.h.
46671
d1f741e9
WS
466722011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
46673
46674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
46675 typo #include statement.
46676
ec09c1c4
UD
466772012-01-08 Ulrich Drepper <drepper@gmail.com>
46678
46679 * include/sys/cdefs.h: Define __attribute_alloc_size.
46680 * catgets/gencat.c: Add alloc_size attribute and apply consistently
46681 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
46682 * elf/pldd.c: Likewise.
46683 * iconv/iconv_charmap.c: Likewise.
46684 * iconv/iconvconfig.c: Likewise.
46685 * iconv/strtab.c: Likewise.
46686 * locale/programs/locale.c: Likewise.
46687 * locale/programs/localedef.h: Likewise.
46688 * locale/programs/simple-hash.c: Likewise.
46689 * nscd/nscd.h: Likewise.
46690 * nss/makedb.c: Likewise.
46691 * sysdeps/generic/ldconfig.h: Likewise.
46692 * locale/programs/localedef.c: Remove xmalloc prototype.
46693 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
46694
20b38e03
PP
466952012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46696
46697 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
46698 appropriate.
46699
a0da5fe1
UD
467002012-01-08 Ulrich Drepper <drepper@gmail.com>
46701
1d5a644a 46702 * math/Makefile (tests): Add tst-CMPLX.
669704fd 46703 * math/tst-CMPLX.c: New file.
1d5a644a 46704
8784a6db
UD
46705 * math/complex.h (CMPLXL): Fix typo.
46706
d9a216c0
UD
46707 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
46708 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
46709 GLIBC_2.16.
46710 * debug/tst-chk1.c: Add poll and ppoll tests.
46711 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
46712 * include/sys/poll.h: Add hidden proto for ppoll.
46713 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
46714 * sysdeps/mach/hurd/ppoll.c: Likewise.
46715 * io/ppoll.c: Likewise.
46716 * debug/poll_chk.c: New file.
46717 * debug/ppoll_chk.c: New file.
46718 * include/bits/poll2.h: New file.
46719 * io/bits/poll2.h: New file.
46720
ac097f5c
UD
46721 [BZ #1350]
46722 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
46723
2119dcfa
UD
46724 * configure.in: static is always set to yes. Remove.
46725 * config.make.in: Don't set build-static.
46726 * Makeconfig: Remove use of build-static.
46727 * dlfcn/Makefile: Likewise.
46728 * elf/Makefile: Likewise.
46729 * math/Makefile: Likewise.
46730 * misc/Makefile: Likewise.
46731 * nptl/Makefile: Likewise.
46732 * sysdeps/mach/hurd/Makefile: Likewise.
46733
121766a9
UD
46734 * configure.in: PWD_P is not used anymore.
46735 * config.make.in: Remove PWD_P entry.
46736
51a1d39c 46737 * configure.in: Remove last remnants of RANLIB.
8720d066 46738 No need to check for signed size_t anymore.
215f4bdc
UD
46739 Don't set libc_commonpagesize and libc_relro_required here for Alpha
46740 and IA-64.
3857022a 46741 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
46742 * aclocal.m4: Likewise.
46743
d3ed7225
UD
46744 * wcsmbs/mbrtoc16.c: Implement using towc function.
46745 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
46746 * wcsmbs/wcsmbsload.c: Likewise.
46747 * iconv/gconv_simple.c: Likewise.
46748 * iconv/gconv_int.h: Likewise.
46749 * iconv/gconv_builtin.h: Likewise.
46750 * iconv/iconv_prog.c: Remove CHAR16 handling.
46751
46752 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
46753
46754 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
46755
a0da5fe1
UD
46756 * configure.in: Remove --with-elf and --enable-bounded options.
46757 Dont set base_machine for ia64. More non-ELF conditions removed.
46758 Remove testing and setting of leading underscore information.
46759 * config.make.in (build-bounded): Set to no.
46760 * config.h.in: Remove NO_UNDERSCORES entry.
46761 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
46762 them.
46763 * csu/start.c: Remove !NO_UNDERSCORE code.
46764 * locale/localeinfo.h: Likewise.
46765 * sysdeps/generic/machine-gmon.h: Likewise.
46766 * sysdeps/generic/sysdep.h: Likewise.
46767 * sysdeps/i386/sysdep.h: Likewise.
46768 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46769 * sysdeps/mach/sysdep.h: Likewise.
46770 * sysdeps/s390/s390-32/sysdep.h: Likewise.
46771 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46772 * sysdeps/sh/sysdep.h: Likewise.
46773 * sysdeps/sparc/sparc32/alloca.S: Likewise.
46774 * sysdeps/unix/i386/sysdep.S: Likewise.
46775 * sysdeps/unix/sparc/start.c: Likewise.
46776 * sysdeps/unix/sparc/sysdep.S: Likewise.
46777 * sysdeps/unix/sparc/sysdep.h: Likewise.
46778 * sysdeps/unix/start.c: Likewise.
46779 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46780 * sysdeps/x86_64/sysdep.h: Likewise.
46781
df78418a
UD
467822012-01-07 Ulrich Drepper <drepper@gmail.com>
46783
a784e502
UD
46784 [BZ #13553]
46785 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
46786 for non-gcc.
46787 * argp/argp-fmtstream.h: Use const instead __const.
46788 * argp/argp.h: Likewise.
46789 * assert/assert.h: Likewise.
46790 * bits/fenv.h: Likewise.
46791 * bits/sched.h: Likewise.
46792 * bits/sigset.h: Likewise.
46793 * bits/sigthread.h: Likewise.
46794 * catgets/nl_types.h: Likewise.
46795 * conform/data/pthread.h-data: Likewise.
46796 * crypt/crypt-private.h: Likewise.
46797 * crypt/crypt.h: Likewise.
46798 * crypt/crypt_util.c: Likewise.
46799 * ctype/ctype.h: Likewise.
46800 * debug/execinfo.h: Likewise.
46801 * debug/mbsnrtowcs_chk.c: Likewise.
46802 * debug/mbsrtowcs_chk.c: Likewise.
46803 * debug/wcsnrtombs_chk.c: Likewise.
46804 * debug/wcsrtombs_chk.c: Likewise.
46805 * debug/wcstombs_chk.c: Likewise.
46806 * dirent/dirent.h: Likewise.
46807 * dlfcn/dlfcn.h: Likewise.
46808 * elf/neededtest4.c: Likewise.
46809 * grp/grp.h: Likewise.
46810 * gshadow/gshadow.h: Likewise.
46811 * iconv/gconv.h: Likewise.
46812 * iconv/gconv_int.h: Likewise.
46813 * iconv/gconv_simple.c: Likewise.
46814 * iconv/iconv.h: Likewise.
46815 * iconv/loop.c: Likewise.
46816 * iconv/skeleton.c: Likewise.
46817 * include/aio.h: Likewise.
46818 * include/aliases.h: Likewise.
46819 * include/argz.h: Likewise.
46820 * include/arpa/inet.h: Likewise.
46821 * include/assert.h: Likewise.
46822 * include/dirent.h: Likewise.
46823 * include/dlfcn.h: Likewise.
46824 * include/execinfo.h: Likewise.
46825 * include/fcntl.h: Likewise.
46826 * include/fenv.h: Likewise.
46827 * include/glob.h: Likewise.
46828 * include/grp.h: Likewise.
46829 * include/libintl.h: Likewise.
46830 * include/mntent.h: Likewise.
46831 * include/netdb.h: Likewise.
46832 * include/pwd.h: Likewise.
46833 * include/rpc/netdb.h: Likewise.
46834 * include/sched.h: Likewise.
46835 * include/search.h: Likewise.
46836 * include/shadow.h: Likewise.
46837 * include/signal.h: Likewise.
46838 * include/stdio.h: Likewise.
46839 * include/stdlib.h: Likewise.
46840 * include/string.h: Likewise.
46841 * include/sys/socket.h: Likewise.
46842 * include/sys/stat.h: Likewise.
46843 * include/sys/statfs.h: Likewise.
46844 * include/sys/statvfs.h: Likewise.
46845 * include/sys/syslog.h: Likewise.
46846 * include/sys/time.h: Likewise.
46847 * include/sys/uio.h: Likewise.
46848 * include/time.h: Likewise.
46849 * include/unistd.h: Likewise.
46850 * include/utmp.h: Likewise.
46851 * include/wchar.h: Likewise.
46852 * include/wctype.h: Likewise.
46853 * inet/aliases.h: Likewise.
46854 * inet/arpa/inet.h: Likewise.
46855 * inet/netinet/ether.h: Likewise.
46856 * inet/netinet/in.h: Likewise.
46857 * intl/libintl.h: Likewise.
46858 * io/bits/fcntl2.h: Likewise.
46859 * io/fcntl.h: Likewise.
46860 * io/ftw.h: Likewise.
46861 * io/sys/poll.h: Likewise.
46862 * io/sys/stat.h: Likewise.
46863 * io/sys/statfs.h: Likewise.
46864 * io/sys/statvfs.h: Likewise.
46865 * io/utime.h: Likewise.
46866 * libio/bits/stdio.h: Likewise.
46867 * libio/bits/stdio2.h: Likewise.
46868 * libio/libio.h: Likewise.
46869 * libio/libioP.h: Likewise.
46870 * libio/stdio.h: Likewise.
46871 * locale/lc-ctype.c: Likewise.
46872 * locale/locale.h: Likewise.
46873 * login/utmp.h: Likewise.
46874 * malloc/arena.c: Likewise.
46875 * malloc/malloc.c: Likewise.
46876 * malloc/malloc.h: Likewise.
46877 * malloc/mcheck.c: Likewise.
46878 * malloc/mtrace.c: Likewise.
46879 * math/bits/mathcalls.h: Likewise.
46880 * math/fenv.h: Likewise.
46881 * math/math_private.h: Likewise.
46882 * misc/bits/error.h: Likewise.
46883 * misc/bits/syslog.h: Likewise.
46884 * misc/err.h: Likewise.
46885 * misc/error.h: Likewise.
46886 * misc/fstab.h: Likewise.
46887 * misc/mntent.h: Likewise.
46888 * misc/regexp.h: Likewise.
46889 * misc/search.h: Likewise.
46890 * misc/sgtty.h: Likewise.
46891 * misc/sys/mman.h: Likewise.
46892 * misc/sys/syslog.h: Likewise.
46893 * misc/sys/uio.h: Likewise.
46894 * misc/sys/xattr.h: Likewise.
46895 * misc/ttyent.h: Likewise.
46896 * nis/rpcsvc/ypclnt.h: Likewise.
46897 * nss/nss.h: Likewise.
46898 * posix/bits/unistd.h: Likewise.
46899 * posix/fnmatch.h: Likewise.
46900 * posix/glob.h: Likewise.
46901 * posix/sched.h: Likewise.
46902 * posix/spawn.h: Likewise.
46903 * posix/sys/wait.h: Likewise.
46904 * posix/unistd.h: Likewise.
46905 * posix/wordexp.h: Likewise.
46906 * pwd/pwd.h: Likewise.
46907 * resolv/netdb.h: Likewise.
46908 * resource/sys/resource.h: Likewise.
46909 * rt/aio.h: Likewise.
46910 * rt/bits/mqueue2.h: Likewise.
46911 * rt/mqueue.h: Likewise.
46912 * shadow/shadow.h: Likewise.
46913 * signal/signal.h: Likewise.
46914 * socket/send.c: Likewise.
46915 * socket/sendto.c: Likewise.
46916 * socket/sys/socket.h: Likewise.
46917 * stdio-common/printf.h: Likewise.
46918 * stdlib/bits/stdlib.h: Likewise.
46919 * stdlib/fmtmsg.h: Likewise.
46920 * stdlib/monetary.h: Likewise.
46921 * stdlib/stdlib.h: Likewise.
46922 * stdlib/ucontext.h: Likewise.
46923 * streams/stropts.h: Likewise.
46924 * string/argz.h: Likewise.
46925 * string/bits/string2.h: Likewise.
46926 * string/string.h: Likewise.
46927 * string/strings.h: Likewise.
46928 * sunrpc/rpc/auth.h: Likewise.
46929 * sunrpc/rpc/auth_des.h: Likewise.
46930 * sunrpc/rpc/clnt.h: Likewise.
46931 * sunrpc/rpc/netdb.h: Likewise.
46932 * sunrpc/rpc/pmap_clnt.h: Likewise.
46933 * sunrpc/rpc/xdr.h: Likewise.
46934 * sysdeps/generic/inttypes.h: Likewise.
46935 * sysdeps/generic/net/if.h: Likewise.
46936 * sysdeps/generic/sys/swap.h: Likewise.
46937 * sysdeps/gnu/net/if.h: Likewise.
46938 * sysdeps/gnu/utmpx.h: Likewise.
46939 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
46940 * sysdeps/i386/i486/bits/string.h: Likewise.
46941 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
46942 * sysdeps/s390/bits/string.h: Likewise.
46943 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
46944 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
46945 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
46946 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
46947 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
46948 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
46949 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
46950 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
46951 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
46952 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
46953 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
46954 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
46955 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
46956 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
46957 * sysdeps/unix/sysv/linux/readv.c: Likewise.
46958 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
46959 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
46960 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46961 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
46962 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
46963 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46964 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
46965 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
46966 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
46967 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
46968 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
46969 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
46970 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46971 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
46972 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
46973 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
46974 * sysvipc/sys/ipc.h: Likewise.
46975 * sysvipc/sys/msg.h: Likewise.
46976 * sysvipc/sys/sem.h: Likewise.
46977 * sysvipc/sys/shm.h: Likewise.
46978 * termios/termios.h: Likewise.
46979 * time/sys/time.h: Likewise.
46980 * time/time.h: Likewise.
46981 * wcsmbs/bits/wchar2.h: Likewise.
46982 * wcsmbs/uchar.h: Likewise.
46983 * wcsmbs/wchar.h: Likewise.
46984 * wctype/wctype.h: Likewise.
46985
0269750c
UD
46986 [BZ #13551]
46987 * Makeconfig: Remove all but ELF support including AIX support.
46988 * Makerules: Likewise.
46989 * config.h.in: Likewise.
46990 * config.make.in: Likewise.
46991 * configure: Likewise.
46992 * configure.in: Likewise.
46993 * csu/Makefile: Likewise.
46994 * csu/version.c: Likewise.
46995 * debug/Makefile: Likewise.
46996 * dlfcn/Makefile: Likewise.
46997 * elf/Makefile: Likewise.
46998 * extra-lib.mk: Likewise.
46999 * iconv/Makefile: Likewise.
47000 * include/libc-symbols.h: Likewise.
47001 * include/shlib-compat.h: Likewise.
47002 * resolv/Makefile: Likewise.
47003 * resolv/res_libc.c: Likewise.
47004 * rt/Makefile: Likewise.
47005 * sysdeps/i386/asm-syntax.h: Likewise.
47006 * sysdeps/i386/sysdep.h: Likewise.
47007 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47008 * sysdeps/mach/sysdep.h: Likewise.
47009 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
47010 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
47011 * sysdeps/s390/asm-syntax.h: Likewise.
47012 * sysdeps/s390/s390-32/sysdep.h: Likewise.
47013 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47014 * sysdeps/sh/sysdep.h: Likewise.
47015 * sysdeps/unix/sparc/sysdep.h: Likewise.
47016 * sysdeps/wordsize-32/divdi3.c: Likewise.
47017 * sysdeps/x86_64/sysdep.h: Likewise.
47018
00bbd29b
UD
47019 * argp/Versions: Remove _argp_unlock_xxx.
47020
47021 [BZ #13559]
47022 * abilist/ld.abilist: Update. Adjust for removal of tls option.
47023 * abilist/libBrokenLocale.abilist: Likewise.
47024 * abilist/libanl.abilist: Likewise.
47025 * abilist/libc.abilist: Likewise.
47026 * abilist/libcrypt.abilist: Likewise.
47027 * abilist/libdl.abilist: Likewise.
47028 * abilist/libm.abilist: Likewise.
47029 * abilist/libnsl.abilist: Likewise.
47030 * abilist/libpthread.abilist: Likewise.
47031 * abilist/libresolv.abilist: Likewise.
47032 * abilist/librt.abilist: Likewise.
47033 * abilist/libthread_db.abilist: Likewise.
47034 * abilist/libutil.abilist: Likewise.
47035 * abilist/libnss_db.abilist: New file.
47036
47037 * scripts/abilist.awk: Add support for indirect functions.
47038
a2693a0e
UD
47039 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
47040
3f05895f
UD
47041 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
47042
ecb6fb48
UD
47043 * shlib-versions: Remove entries for ports architectures.
47044
664f8cb9
UD
47045 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
47046 files in ports.
47047 * elf/stackguard-macros.h: Remove support for IA-64.
47048 * elf/tst-auditmod1.c: Likewise.
47049 * sysdeps/generic/ldsodefs.h: Likewise.
47050
7ae81d88
UD
47051 * sysdeps/unix/sysv/linux/configure.in: Ports should define
47052 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
47053 configure files.
47054
bdeba135
UD
47055 [BZ #13552]
47056 * configure.in: Remove --enable-omitfp support.
47057 * FAQ.in: Adjust.
47058 * config.make.in: Likewise.
47059 * Makeconfig: Likewise.
47060 * manual/install.texi: Likewise.
47061
d75a0a62
UD
47062 In case anyone cares, the IA-64 architecture could move to ports.
47063 * sysdeps/ia64/*: Removed.
47064 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 47065 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 47066
dcc9756b
UD
47067 [BZ #13555]
47068 * configure.in: Remove entries for unsupported architectures.
47069
d3761ebc 47070 [BZ #13533]
9954432e
UD
47071 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
47072 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
47073 routines.
47074 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
47075 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
47076 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
47077 fall back to using wcrtomb.
47078 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
47079 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
47080 renaming.
47081 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
47082 * wcsmbs/tst-c16c32-1.c: New file.
47083
47084 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
47085 local variable.
47086
c3a87236
UD
47087 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
47088
28926a1b
UD
47089 * elf/tst-unique3.cc: Add explicit declaration of gets.
47090 * elf/tst-unique3lib.cc: Likewise.
47091 * elf/tst-unique3lib2.cc: Likewise.
47092 * elf/tst-unique4.cc: Likewise.
47093
df78418a
UD
47094 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
47095
8ecd6b2a
JM
470962012-01-06 Joseph Myers <joseph@codesourcery.com>
47097
47098 [BZ #13566]
47099 * assert/assert.h (static_assert): Don't define for C++.
47100 * libio/stdio.h (gets): Do declare for C++ <= C++11.
47101 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
47102
9f115170
UD
471032012-01-03 Ulrich Drepper <drepper@gmail.com>
47104
5e0d0300
UD
47105 * iconv/loop.c (single loop): Fix assertion in storing of
47106 remaining bytes.
47107
9f115170
UD
47108 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
47109
81fb02b0
UD
471102012-01-01 Ulrich Drepper <drepper@gmail.com>
47111
47112 * posix/getconf.c: Update copyright year.
47113 * nss/getent.c: Likewise.
a316c1f6 47114 * nss/makedb.c: Likewise.
81fb02b0
UD
47115 * iconv/iconvconfig.c: Likewise.
47116 * iconv/iconv_prog.c: Likewise.
47117 * elf/ldconfig.c: Likewise.
a316c1f6
UD
47118 * elf/pldd.c: Likewise.
47119 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
47120 * catgets/gencat.c: Likewise.
47121 * csu/version.c: Likewise.
47122 * elf/ldd.bash.in: Likewise.
47123 * elf/sprof.c (print_version): Likewise.
47124 * locale/programs/locale.c: Likewise.
47125 * locale/programs/localedef.c: Likewise.
a316c1f6 47126 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
47127 * nscd/nscd.c (print_version): Likewise.
47128 * debug/xtrace.sh: Likewise.
47129 * malloc/memusage.sh: Likewise.
47130 * malloc/mtrace.pl: Likewise.
47131 * debug/catchsegv.sh: Likewise.
47132
2ba92745
JJ
471332011-12-30 Jakub Jelinek <jakub@redhat.com>
47134
47135 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
47136 pure attribute.
47137
dadebdae
UD
471382011-12-24 Ulrich Drepper <drepper@gmail.com>
47139
d3761ebc 47140 [BZ #13533]
db6af3eb
UD
47141 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
47142 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
47143 transformations.
47144 * iconv/gconv_int.h: Likewise.
47145 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
47146 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
47147 from libc for GLIBC_2.16.
47148 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
47149 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
47150 * wcsmbs/uchar.h: Really define mbstate_t.
47151 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
47152 * wcsmbs/c16rtomb.c: New file.
47153 * wcsmbs/mbrtoc16.c: New file.
47154 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
47155 for C/POSIX locale.
47156 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
47157 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
47158
dadebdae
UD
47159 * wcsmbs/wchar.h: Add missing __restrict.
47160
67371b56
UD
471612011-12-23 Ulrich Drepper <drepper@gmail.com>
47162
74033a25
UD
47163 [BZ #13532]
47164 * time/Makefile (routines): Add timespec_get.
47165 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
47166 * time/time.h: Define TIME_UTC and declare timespec_get. Define
47167 timespec for ISO C11.
47168 * time/timespec_get.c: New file.
47169 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
47170 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
47171
380d7e87
UD
47172 [BZ #13531]
47173 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
47174 * stdlib/stdlib.h: Declare aligned_alloc.
47175 * Versions.def: Add GLIBC_2.16 for libc.
47176 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
47177
4e9e7a35
UD
47178 [BZ 13527]
47179 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
47180 ISO C11.
47181
380d7e87 47182 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
47183 code.
47184
03a71829
UD
47185 [BZ #13528]
47186 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
47187
839e283e
UD
47188 [BZ #13529]
47189 * assert/assert.h (static_assert): Define.
47190
ce5294e2 47191 * version.h: Update for 2.16 development version.
90fa7312 47192
8d44e150 47193 [BZ #13526]
d7809905
UD
47194 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
47195 _ISOC11_SOURCE.
47196
c0da14cd
UD
47197 * version.h (RELEASE): Bump for 2.15 release.
47198 * include/features.h (__GLIBC_MINOR__): Bump to 15.
47199
530a3249
MP
47200 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
47201 Patch by Marek Polacek <mpolacek@redhat.com>.
47202
67371b56
UD
47203 * bits/byteswap.h: Protect long long constants with __extension__.
47204 * sysdeps/i386/bits/byteswap.h: Likewise.
47205 * sysdeps/ia64/bits/byteswap.h: Likewise.
47206 * sysdeps/s390/bits/byteswap.h: Likewise.
47207 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47208
15db4de1
LD
472092011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47210
47211 [BZ #13540]
bbe315ea
LD
47212 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
47213 destination buffer.
15db4de1
LD
47214 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
47215
2b2596b1
MP
472162011-12-23 Marek Polacek <polacek@redhat.com>
47217
47218 * elf/dl-addr.c (determine_info): Add inline keyword.
47219 * elf/tst-auditmod4b.c (check_avx): Likewise.
47220 * elf/tst-auditmod6b.c (check_avx): Likewise.
47221 * elf/tst-auditmod6c.c (check_avx): Likewise.
47222 * elf/tst-auditmod7b.c (check_avx): Likewise.
47223
70c6c246
UD
472242011-12-23 Ulrich Drepper <drepper@gmail.com>
47225
47226 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
47227 !__SSE_MATH__.
47228
c044cf14
LD
472292011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47230
15db4de1 47231 [BZ #13540]
c044cf14
LD
47232 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
47233 processing for last bytes.
47234
6b13d9d9
BH
472352011-08-06 Bruno Haible <bruno@clisp.org>
47236
d455f537
BH
47237 [BZ #13061]
47238 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
47239 U+0385, not to U+1FEE.
47240
6b13d9d9
BH
47241 [BZ #13062]
47242 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
47243 entry for U+00A5 U+0301.
47244
db910efd
UD
472452011-12-22 Ulrich Drepper <drepper@gmail.com>
47246
27deeafc
UD
47247 [BZ #13166]
47248 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
47249 buffer for the output is too small.
47250
aed9d171
UD
47251 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
47252 optimization.
47253
db910efd
UD
47254 [BZ #13185]
47255 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
47256 SSE flags if possible.
47257
2bd779ae
LD
472582011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47259
e7f9dac3 47260 [BZ #13540]
2bd779ae
LD
47261 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
47262 processing for last bytes.
47263
154bfc16
JM
472642011-12-22 Joseph Myers <joseph@codesourcery.com>
47265
47266 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
47267 (syscall-list-default-options, syscall-list-default-condition)
47268 (syscall-list-includes): Define.
47269 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
47270 list of ABIs and options and #if conditions for each ABI. Do not
47271 handle common syscalls between ABIs specially.
47272 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
47273 Remove.
47274 (syscall-list-variants, syscall-list-32bit-options)
47275 (syscall-list-32bit-condition, syscall-list-64bit-options)
47276 (syscall-list-64bit-condition): Define.
47277 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
47278 (syscall-list-variants, syscall-list-32bit-options)
47279 (syscall-list-32bit-condition, syscall-list-64bit-options)
47280 (syscall-list-64bit-condition): Define.
47281 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
47282 Remove.
47283 (syscall-list-variants, syscall-list-32bit-options)
47284 (syscall-list-32bit-condition, syscall-list-64bit-options)
47285 (syscall-list-64bit-condition): Define.
47286 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
47287 Remove.
47288 (syscall-list-variants, syscall-list-32bit-options)
47289 (syscall-list-32bit-condition, syscall-list-64bit-options)
47290 (syscall-list-64bit-condition): Define.
47291
21eaf3a5
UD
472922011-12-22 Ulrich Drepper <drepper@gmail.com>
47293
16c6f992
UD
47294 * locale/iso-639.def: Add brx entry.
47295
41043168
UD
47296 [BZ #13328]
47297 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
47298 Proposed by Mariusz_Cukr <marcukr@op.pl>.
47299
21eaf3a5
UD
47300 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
47301 __feraiseexcept_renamed.
47302
e3a851a2
UD
473032011-12-21 Ulrich Drepper <drepper@gmail.com>
47304
4920765e
UD
47305 [BZ #13538]
47306 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
47307 EPOLLET with unsigned values.
47308 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47309 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47310
e3a851a2
UD
47311 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
47312 to large cancellation.
47313 * math/s_cacoshf.c: Likewise.
47314 * math/s_cacoshl.c: Likewise.
47315
b27e24b8
RK
473162011-11-18 Richard B. Kreckel <kreckel@ginac.de>
47317
47318 [BZ #13305]
aebefeee 47319 [BZ #12786]
b27e24b8
RK
47320 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
47321 * math/s_cacoshf.c: Likewise.
47322 * math/s_cacoshl.c: Likewise.
47323
ee190f67
UD
473242011-12-21 Ulrich Drepper <drepper@gmail.com>
47325
47326 [BZ #13439]
47327 * iconv/gconv.h: Define __GCONV_SWAP.
47328 * iconvdata/unicode.c: The swap bit must be stored in __flags.
47329 * iconvdata/utf-16.c: Likewise.
47330 * iconvdata/utf-32.c: Likewise.
47331
707f25df
AS
473322011-12-21 Andreas Schwab <schwab@linux-m68k.org>
47333
47334 [BZ #13524]
47335 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
47336 numerator after shifting it by one limb.
47337
d2daaa1e
RÁE
473382011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
47339
47340 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
47341 under [__USE_EXTERN_INLINES].
47342
a4647e72
UD
473432011-12-17 Ulrich Drepper <drepper@gmail.com>
47344
47345 [BZ #13446]
47346 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
47347
f0b264f1
AZ
473482011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47349
47350 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
47351 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
47352 optimized code.
47353 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
47354 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
47355 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
47356 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
47357 for strncasecmp/strncasecmp_l compilation.
47358 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
47359 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
47360
8ef4f244
MP
473612011-12-08 Marek Polacek <mpolacek@redhat.com>
47362
47363 [BZ #13484]
47364 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
47365 of __asm__.
47366
97ac2654
UD
473672011-12-17 Ulrich Drepper <drepper@gmail.com>
47368
47369 [BZ #13506]
47370 * time/tzfile.c (__tzfile_read): Check values from file header.
47371
91d2a845
WS
473722011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
47373
47374 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
47375 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
47376 * powerpc/powerpc32/dl-start.S: Likewise.
47377 * powerpc/powerpc32/elf/start.S: Likewise.
47378 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47379 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
47380 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
47381 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
47382 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47383 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
47384 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
47385 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
47386 * powerpc/powerpc32/fpu/s_round.S: Likewise.
47387 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47388 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47389 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47390 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
47391 * powerpc/powerpc32/memset.S: Likewise.
47392 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47393 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47394 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47395 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47396 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47397 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47398 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47399 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47400 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
47401 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
47402 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
47403 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47404 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47405
a1267ba1
AZ
474062011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47407
47408 * math/libm-test.inc: Added more nearbyint tests.
47409 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
47410 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
47411 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
47412 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
47413
ad8ac1bd
RL
474142011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
47415
47416 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
47417 FD_CLOEXEC.
47418
1d3e4b61
UD
474192011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47420
47421 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
47422 Add wcscpy-ssse3 wcscpy-c.
47423 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
47424 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
47425 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
47426 * sysdeps/x86_64/wcschr.S: New file.
47427 * sysdeps/x86_64/wcsrchr.S: New file.
47428 * string/test-strcmp.c: Remove checking of wcscmp function for
47429 wrong alignments.
47430 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
47431 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
47432 wcsrchr-sse2 wcsrchr-c.
47433 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
47434 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
47435 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
47436 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
47437 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
47438 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
47439 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
47440 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
47441 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
47442 * wcsmbc/wcschr.c (WCSCHR): New macro.
47443
5b330a2d
UD
474442011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47445
47446 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
47447 * wcsmbs/test-wcsrchr.c: New file.
47448 * string/test-strrchr.c: Add wcsrchr support.
47449 (WIDE): New macro.
47450 * wcsmbs/test-wcscpy.c: New file.
47451 * string/test-strcpy.c: Add wcscpy support.
47452 (WIDE): New macro.
26428b7c 47453
f039c043
UD
474542011-12-10 Ulrich Drepper <drepper@gmail.com>
47455
47456 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
47457 the inner loop.
47458
850fb039
AS
474592011-12-06 Andreas Schwab <schwab@linux-m68k.org>
47460
47461 [BZ #13472]
47462 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
47463
4efbd5cb
UD
474642011-12-04 Ulrich Drepper <drepper@gmail.com>
47465
52ff5dd0 47466 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 47467 Minor optimizations.
52ff5dd0 47468
4efbd5cb
UD
47469 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
47470 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
47471 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
47472
8a426e12
UD
474732011-12-03 Ulrich Drepper <drepper@gmail.com>
47474
aff2453d
UD
47475 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
47476 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
47477 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
47478 for gcc to avoid warnings.
47479 * inet/Makefile (tests): Add tst-checks.
47480 * inet/tst-checks.c: New file.
47481
47482 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
47483 warning.
47484
47485 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
47486 __wmemcmp_sse2.
47487
47488 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
47489 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
47490
8a426e12
UD
47491 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
47492
9bea3473
UD
474932011-12-02 Ulrich Drepper <drepper@gmail.com>
47494
3a965496
UD
47495 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
47496 problem.
47497
9bea3473
UD
47498 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
47499
f101631b
UD
475002011-11-29 Joseph Myers <joseph@codesourcery.com>
47501
47502 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
47503 conditional on GCC version.
47504 (__arch_compare_and_exchange_val_8_acq)
47505 (__arch_compare_and_exchange_val_16_acq)
47506 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
47507 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
47508 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
47509
a98275aa
UD
475102011-12-02 Joseph Myers <joseph@codesourcery.com>
47511
47512 * sysdeps/sh/backtrace.c: New file.
47513
d4cc29a2
AS
475142011-12-02 Andreas Schwab <schwab@redhat.com>
47515
47516 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
47517 parenthesis.
47518
6257af2d
AS
475192011-12-01 Andreas Schwab <schwab@redhat.com>
47520
47521 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
47522 falling back to utime.
47523
b5f44c1a
AS
475242011-11-30 Andreas Schwab <schwab@redhat.com>
47525
47526 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
47527 expectations for float.
47528
f3a6cc0a
AS
475292011-11-29 Andreas Schwab <schwab@redhat.com>
47530
47531 * locale/weight.h (findidx): Add parameter len.
47532 * locale/weightwc.h (findidx): Likewise.
47533 * posix/fnmatch_loop.c (FCT): Adjust caller.
47534 * posix/regcomp.c (build_equiv_class): Likewise.
47535 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
47536 * posix/regexec.c (check_node_accept_bytes): Likewise.
47537 * string/strcoll_l.c (STRCOLL): Likewise.
47538 * string/strxfrm_l.c (STRXFRM): Likewise.
47539
9d65ea3a
UD
475402011-11-17 Ulrich Drepper <drepper@gmail.com>
47541
47542 * Makefile.in: Remove CVSOPT handling.
47543 * configure.in: Remove use of AC_REVISION.
47544 * iconvdata/Makefile (distribute): No need to filter out CVS.
47545 * scripts/list-sources.sh: Remove CVS, subversion and monotone
47546 handling.
47547
5583a086
AS
475482011-11-16 Andreas Schwab <schwab@redhat.com>
47549
47550 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
47551 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
47552 [USE_AS_STRNCASECMP_L]: Likewise.
47553 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
47554 NO_TLS_DIRECT_SEG_REFS.
47555 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
47556 Fix argument offsets for non-PIC.
47557 [USE_AS_STRNCASECMP_L]: Likewise.
47558 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
47559 NO_TLS_DIRECT_SEG_REFS.
47560
d62a8200
UD
475612011-11-15 Ulrich Drepper <drepper@gmail.com>
47562
9d65ea3a 47563 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
47564 O_CLOEXEC.
47565 * locale/loadlocale.c (_nl_load_locale): Likewise.
47566
09f93bd3
AS
475672011-11-15 Andreas Schwab <schwab@redhat.com>
47568
446514f9
AS
47569 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
47570 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
47571 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
47572 (SYSCALL_GETTIME): Set errno on error.
47573
09f93bd3
AS
47574 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
47575 count references to noai6ai_cached.
47576
312be3f9
UD
475772011-11-15 Ulrich Drepper <drepper@gmail.com>
47578
47579 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
47580
47581 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
47582 FD_CLOEXEC for /proc/self/maps.
47583
47584 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
47585 FD_CLOEXEC for /proc/meminfo.
47586
47587 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
47588 gai.conf.
47589
47590 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
47591 FD_CLOEXEC for given file.
47592
47593 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
47594
47595 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
47596 FD_CLOEXEC for /etc/hosts.
47597 (_gethtent): Likewise.
47598
47599 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
47600
47601 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
47602 cancellation and set FD_CLOEXEC for /etc/netgroup.
47603
47604 * nss/nss_files/files-key.c (search): Don't allow cancellation when
47605 reading /etc/publickey.
47606
47607 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
47608 allow cancellation when reading /etc/group.
47609
47610 * nss/nss_files/files-alias.c (internal_setent): Don't allow
47611 cancellation.
47612 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
47613
47614 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
47615 when using data file.
47616
47617 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
47618
47619 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
47620 (write_nis_obj): Use "c" and "e" in fopen.
47621
47622 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
47623
47624 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
47625
47626 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
47627
47628 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
47629
47630 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
47631 locale.alias.
47632
47633 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
47634
47635 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
47636
47637 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
47638
47639 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
47640 file parsing and set FD_CLOEXEC.
47641
82af0fa8
UD
476422011-11-14 Ulrich Drepper <drepper@gmail.com>
47643
47644 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
47645
a5fb313c
AS
476462011-11-14 Andreas Schwab <schwab@redhat.com>
47647
47648 * malloc/arena.c (arena_get2): Don't call reused_arena when
47649 _int_new_arena failed.
47650
6abf3465
UD
476512011-11-14 Ulrich Drepper <drepper@gmail.com>
47652
47653 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
47654 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
47655 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
47656 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47657 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47658 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
47659 to compile strcasecmp and strncasecmp.
47660 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
47661 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
47662
47663 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
47664
76e3966e
UD
476652011-11-13 Ulrich Drepper <drepper@gmail.com>
47666
47667 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
47668 locale-defines.sym to gen-as-const-headers.
47669 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
47670 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
47671 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
47672 to compile strcasecmp and strncasecmp.
47673 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
47674 strcasecmp_l and strncasecmp_l.
47675 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
47676 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
47677 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
47678 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
47679 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
47680 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
47681 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
47682 * sysdeps/i386/i686/multiarch/strncase.S: New file.
47683 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
47684 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
47685 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
47686
ab26144e
UD
476872011-11-12 Ulrich Drepper <drepper@gmail.com>
47688
7edb22ef
UD
47689 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
47690 result of SYSDEP_GETTIME_CPU to retval.
47691 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
47692 parameter list to macro. Remove trailing semicolon. Adjust users.
47693
9694fc44
UD
47694 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
47695 variable.
47696
8ad89ef8
UD
47697 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
47698 mantissa words.
47699 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
47700
0c822ef9
UD
47701 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
47702 from unused variable.
47703
874e0564
UD
47704 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
47705 DWARF definitions.
47706 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
47707 for assembling.
47708
3a2edc79
UD
47709 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
47710 over namespaces.
47711
f3c2577f
UD
47712 * sunrpc/rpc_prot.c (rejected): Fix case value.
47713
294ce126
UD
47714 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
47715 unsigned long long int to avoid warnings in shift.
47716
5e2b63c6
UD
47717 * posix/regex_internal.c (re_string_reconstruct): Actually use result
47718 of use of trans.
47719 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
47720 variable tmp.
47721
e7f4b08e
UD
47722 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
47723 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
47724 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
47725
ab26144e
UD
47726 * nis/nis_table.c (nis_list): Use variable of correct type for
47727 result of __follow_path call.
47728
8a6d5255
AZ
477292011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47730
47731 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
47732 of math functions ceil, trunc, floor, round, and sqrt, when
47733 avaliable on the platform.
47734 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
47735 name clash.
47736 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47737 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47738 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47739
aaddc98c
MP
477402011-10-30 Marek Polacek <mpolacek@redhat.com>
47741
47742 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
47743 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
47744
95b7042b
RM
477452011-11-11 Roland McGrath <roland@hack.frob.com>
47746
47747 * include/unistd.h: Fix __readlink return type.
47748 Reported by Chris Metcalf <cmetcalf@tilera.com>.
47749
57769839
UD
477502011-11-11 Ulrich Drepper <drepper@gmail.com>
47751
47752 * stdlib/ucontext.h: Undo last change for makecontext.
47753
edc5984d
AS
477542011-11-11 Andreas Schwab <schwab@redhat.com>
47755
98591e58
AS
47756 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
47757
edc5984d
AS
47758 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
47759 * setjmp/setjmp.h: Mark functions as non-leaf.
47760 * setjmp/bits/setjmp2.h: Likewise.
47761 * stdlib/ucontext.h: Likewise.
47762
77cdc054
AS
477632011-11-10 Andreas Schwab <schwab@redhat.com>
47764
47765 * malloc/arena.c (_int_new_arena): Don't increment narenas.
47766 (reused_arena): Don't check arena limit.
47767 (arena_get2): Atomically check arena limit.
47768
fe72eebd
UD
477692011-11-08 Ulrich Drepper <drepper@gmail.com>
47770
5f078c32
UD
47771 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
47772 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
47773
fe72eebd
UD
47774 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
47775 instructions.
47776
ae1bc2fa
AS
477772011-11-07 Andreas Schwab <schwab@redhat.com>
47778
7583a88d
AS
47779 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
47780 handler when locking.
47781
ae1bc2fa
AS
47782 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47783 Fix size of allocated buffer.
47784
10fb0bfa
AS
477852011-11-04 Andreas Schwab <schwab@redhat.com>
47786
998832a4
AS
47787 [BZ #10103]
47788 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
47789 declarations for long double functions.
47790 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
47791
10fb0bfa
AS
47792 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
47793
3d7ba52b
AS
477942011-11-03 Andreas Schwab <schwab@redhat.com>
47795
a9ae54a1
AS
47796 * nscd/nscd.c (main): Don't start AVC thread until credentials are
47797 installed.
47798
3d7ba52b
AS
47799 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
47800 is disabled.
47801
bc8db248
ST
478022011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
47803
47804 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
47805
45b96dd6
AS
478062011-11-01 Andreas Schwab <schwab@linux-m68k.org>
47807
647776f6
AS
47808 * include/alloca.h (stackinfo_alloca_round): Define.
47809 (extend_alloca): Use it.
47810 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
47811 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
47812 here.
47813
d91a8b93
AS
47814 * scripts/check-local-headers.sh: Ignore libaudit.h.
47815
45b96dd6
AS
47816 * nscd/Makefile (extra-objs): Make recursively expanded.
47817
432d41ce
UD
478182011-11-01 Ulrich Drepper <drepper@gmail.com>
47819
34372fc6
UD
47820 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
47821 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47822
fadb59f8
UD
47823 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
47824 * posix/tst-rfc3484-2.c: Likewise.
47825 * posix/tst-rfc3484-3.c: Likewise.
47826
78239589
UD
47827 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47828 process_vm_writev.
47829 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
47830 process_vm_writev.
47831 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
47832 process_vm_writev from libc using GLIBC_2.15 version.
47833
432d41ce
UD
47834 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
47835
02f9c6cf
PP
478362011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
47837
47838 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
47839 stack usage.
47840
3a2c0242
UD
478412011-10-31 Ulrich Drepper <drepper@gmail.com>
47842
f4ec4833
UD
47843 [BZ #13367]
47844 * nss/getent.c (initgroups_keys): Show error message in case no group
47845 names are given.
47846
3a2c0242
UD
47847 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
47848 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
47849 __bump_nl_timestamp.
47850 * nscd/connections (nscd_init): When host database is served open
47851 netlink socket and request notification about configuration changes.
47852 (main_loop_poll): Track netlink file descriptor and bump timestamp
47853 in case data becomes available.
47854 (main_loop_epoll): Likewise.
47855 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
47856 (database_pers_head): Add extra_data fileds.
47857 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
47858 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
47859 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
47860 Adjust caller.
47861 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
47862 in6ai data, call __free_in6ai.
47863 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
47864 Add -DHAVE_NETLINK.
47865 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
47866 interface information. Reuse previous data if netlink timestamp
47867 is not changed.
47868 (__bump_nl_timestamp): New function.
47869 (__free_in6ai): New function.
47870
636064eb
UD
478712011-10-30 Ulrich Drepper <drepper@gmail.com>
47872
47873 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
47874 close_not_cancel_no_status here.
47875 (__check_pf): Reorganize code a bit to not call close twice if OOM.
47876
9beb2334
UD
478772011-10-29 Ulrich Drepper <drepper@gmail.com>
47878
6ef76f3b
UD
47879 [BZ #13276]
47880 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
47881 return value.
47882
0ffc4f3e 47883 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
47884 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
47885 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
47886
cb95113e
UD
478872011-07-03 Andreas Jaeger <aj@suse.de>
47888
47889 [BZ #10709]
47890 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
47891 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
47892 * math/libm-test.inc (sin_test): Add test case.
47893
a1b560ff
UD
478942011-10-29 Ulrich Drepper <drepper@gmail.com>
47895
c9aaface
UD
47896 [BZ #13337]
47897 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
47898 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47899
d272e7f1
UD
47900 * elf/chroot_canon.c (chroot_canon): Cleanups.
47901
1bc33071
UD
47902 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
47903
1760874d
TJ
47904 [BZ #13335]
47905 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
47906 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47907
51d91b18
UD
47908 * string/test-strchr.c: Make usable for strchrnul testing.
47909 * string/test-strchrnul.c: New file.
47910 * string/Makefile (strop-tests): Add strchrnul.
47911
a1b560ff 47912 * po/it.po: Update from translation team.
b611fb81 47913 * po/es.po: Likewise.
a1b560ff 47914
a5b81e1f
UD
479152011-10-28 Ulrich Drepper <drepper@gmail.com>
47916
fd52bc6d
UD
47917 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
47918 the three constants needed as parameters. Drop the others.
47919 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
47920 __m128i_strloadu_tolower.
52e4b9eb
UD
47921 Create and initialize variable zero and use it in all the places
47922 where _mm_setzero_si128 was used.
fd52bc6d 47923
a5b81e1f
UD
47924 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
47925 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
47926 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
47927 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
47928 anymore.
47929 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
47930 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
47931 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
47932 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
47933 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
47934 __mpranred, __mptan.
47935 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
47936 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
47937 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
47938 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
47939 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
47940 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
47941 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
47942 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
47943 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
47944
b4343346
AS
479452011-10-28 Andreas Schwab <schwab@redhat.com>
47946
0c92d8a8
AS
47947 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
47948 redefine if SHARED.
47949 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
47950
b4343346
AS
47951 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
47952 wide char related routines to wcsmbs subdir.
47953
3871f58f
AS
479542011-10-27 Andreas Schwab <schwab@redhat.com>
47955
47956 [BZ #13344]
47957 * misc/sys/cdefs.h (__THROWNL): Define.
47958 * posix/unistd.h: Use __THREADNL instead of __THREAD
47959 for memory synchronization functions.
47960
94d44d9f
RM
479612011-10-26 Roland McGrath <roland@hack.frob.com>
47962
21b64b15 47963 [BZ #13349]
94d44d9f
RM
47964 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
47965 doesn't exist.
47966 * manual/stdio.texi (Obstack Streams): Node removed.
47967
f6ce9294
AS
479682011-10-26 Andreas Schwab <schwab@redhat.com>
47969
80479147
AS
47970 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
47971 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47972 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47973
f6ce9294
AS
47974 * math/math_private.h (math_force_eval): Allow non-addressable
47975 arguments.
47976 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
47977
618280a1
UD
479782011-10-25 Ulrich Drepper <drepper@gmail.com>
47979
e0016b11
UD
47980 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
47981 file is not needed.
47982
47983 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
47984 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
47985 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47986 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47987 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47988 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47989 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47990 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
47991 Add AVX variants.
47992 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
47993 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
47994 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
47995 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
47996 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
47997 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
47998 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
47999 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
48000 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
48001 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
48002 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
48003 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
48004 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
48005 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
48006 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
48007 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
48008 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
48009 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
48010 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
48011
48012 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
48013 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
48014
618280a1
UD
48015 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
48016 place. Use VEX encoding when compiling for AVX.
48017
37822576
AS
480182011-10-25 Andreas Schwab <schwab@redhat.com>
48019
1f1e1947
AS
48020 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
48021 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48022
37822576
AS
48023 * string/test-strchr.c (do_test): Don't generate NUL bytes.
48024
31ea014d
UD
480252011-10-25 Ulrich Drepper <drepper@gmail.com>
48026
d7826aa1 48027 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 48028 useless if() expression.
d7826aa1
UD
48029 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48030 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48031 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48032 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48033 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48034 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48035 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48036 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48037 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48038 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48039 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48040 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48041 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48042 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48043 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48044 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48045 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48046 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48047 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48048
31ea014d
UD
48049 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
48050
16437fec
AS
480512011-10-25 Andreas Schwab <schwab@redhat.com>
48052
48053 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
48054 condition.
48055 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48056
31d3cc00
UD
480572011-10-25 Ulrich Drepper <drepper@gmail.com>
48058
48059 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
48060 .text section. Avoid duplicate constants.
48061 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48062 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48063 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48064 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48065 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48066 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48067 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48068 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48069 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48070 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
48071 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48072 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48073 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48074 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48075 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48076 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48077 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48078 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48079 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48080 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48081 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48082 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48083 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48084 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
48085 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
48086 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
48087 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
48088 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
48089 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
48090 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
48091 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
48092 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
48093 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48094 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
48095 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
48096 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
48097 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
48098 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
48099 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
48100 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
48101 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
48102 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
48103 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
48104 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
48105 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
48106
58985aa9
UD
481072011-10-24 Ulrich Drepper <drepper@gmail.com>
48108
202c9deb
UD
48109 * sysdeps/x86_64/dla.h: Move to ...
48110 * sysdeps/x86_64/fpu/dla.h: ...here.
48111 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
48112 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 48113
af968f62
UD
48114 * config.make.in: Add have-mfma4 entry.
48115 * configure.in: Substitute libc_cv_cc_fma4.
48116 * math/Makefile (dbl-only-routines): Add sincostab.
48117 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
48118 Use __sincostab not sincos.
48119 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
48120 name is a macro.
48121 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48122 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48123 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48124 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
48125 using __copysign.
48126 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
48127 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
48128 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
48129 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
48130 and __inv.
48131 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
48132 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
48133 __copysign.
48134 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
48135 define aliases when function name is a macro.
48136 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
48137 sysdeps/ieee754/dbl-64/sincos.tbl.
48138 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
48139 fma4-enabled routines.
48140 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
48141 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
48142 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
48143 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
48144 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
48145 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
48146 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
48147 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
48148 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
48149 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
48150 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
48151 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
48152 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
48153 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
48154 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
48155 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
48156 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
48157 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
48158 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
48159 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
48160 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
48161 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
48162 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
48163 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
48164 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
48165 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
48166 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
48167 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
48168 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
48169 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
48170
58985aa9
UD
48171 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
48172 rename.
48173 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48174 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48175 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48176 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48177 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48178 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48179 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48180 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48181
a201fbcf
AS
481822011-10-24 Andreas Schwab <schwab@redhat.com>
48183
48184 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
48185
fc2ee42a
LD
481862011-10-23 Ulrich Drepper <drepper@gmail.com>
48187
bb3129bd
UD
48188 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
48189
0275fff8
UD
48190 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
48191 prediction.
48192 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
48193
2fa2ae85
UD
48194 * string/strnlen.c: Don't define STRNLEN, reverse logic.
48195 Remove unused variable magic_bits.
48196 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
48197
fc2ee42a
LD
48198 * string/strnlen.c: Define and use STRNLEN macro.
48199 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
48200 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
48201 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
48202 * wcsmbs/wcslen.c: Define and use WCSLEN.
48203 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
48204 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
48205 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
48206 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
48207 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
48208 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
48209 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48210
ce7dd29f
LD
482112011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48212
48213 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48214 strnlen-sse2-no-bsf.
48215 Rename strlen-no-bsf to strlen-sse2-no-bsf.
48216 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
48217 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
48218 Add strnlen support.
48219 (USE_AS_STRNLEN): New macro.
48220 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
48221 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
48222 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
48223 * sysdeps/x86_64/wcslen.S: New file.
48224
979c70a3
MZ
482252011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
48226
48227 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
48228 XMM-moves are used for copying on small sizes.
48229
2d09f82f
LD
482302011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48231
48232 * wcsmbs/Makefile (strop-tests): Add wcschr.
48233 * wcsmbs/test-wcschr.c: New file.
48234 * string/test-strchr.c: Update.
48235 Add wcschr support.
48236 (WIDE): New macro.
48237
619fccca
LD
482382011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48239
2d09f82f 48240 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
48241 * wcsmbs/test-wcslen.c: New file.
48242 * string/test-strlen.c: Update.
48243 Add wcslen support.
48244 (WIDE): New macro.
48245
09f699ea
UD
482462011-10-23 Ulrich Drepper <drepper@gmail.com>
48247
48248 * po/it.po: Update from translation team.
48249
95584d3b
LD
482502011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48251
48252 * sysdeps/x86_64/wcscmp.S: Update.
48253 Fix wrong comparison semantics.
48254 wcscmp shall use signed comparison not unsigned.
48255 Don't use substraction to avoid overflow bug.
48256 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
48257 * wcsmbc/wcscmp.c: Likewise.
48258 * string/test-strcmp.c: Likewise.
48259 Add new tests to check cases with negative values.
48260
c8b3296b
UD
482612011-10-23 Ulrich Drepper <drepper@gmail.com>
48262
48263 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
48264 * sysdeps/x86_64/dla.h: ...here. New file.
48265 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
48266 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48267 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48268 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48269 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48270 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48271 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48272 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48273 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48274
246ad57a
AS
482752011-10-23 Andreas Schwab <schwab@linux-m68k.org>
48276
48277 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
48278 __ynl_finite aliases.
48279
a1a87169
UD
482802011-10-22 Ulrich Drepper <drepper@gmail.com>
48281
0d355eb7
UD
48282 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48283
a1a87169
UD
48284 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
48285 define DLA_FMA.
48286 [DLA_FMA] (EMULV): Use DLA_FMA.
48287 [DLA_FMA] (MUL12): Use EMULV.
48288 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
48289 that are not needed.
48290 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48291 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48292 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48293 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48294 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48295 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48296 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48297
ee2aafe0
AS
482982011-10-22 Andreas Schwab <schwab@linux-m68k.org>
48299
48300 * math/s_nan.c: Undef __nan.
48301 * math/s_nanf.c: Undef __nanf.
48302 * math/s_nanl.c: Undef __nanl.
48303 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
48304 "math_private.h".
48305
bc62c2fb
UD
483062011-10-22 Ulrich Drepper <drepper@gmail.com>
48307
77425c63
UD
48308 * math/s_catan.c: Add branch predictions.
48309 * math/s_catanf.c: Likewise.
48310 * math/s_catanh.c: Likewise.
48311 * math/s_catanhf.c: Likewise.
48312 * math/s_catanhl.c: Likewise.
48313 * math/s_catanl.c: Likewise.
48314 * math/s_cexp.c: Likewise.
48315 * math/s_cexpf.c: Likewise.
48316 * math/s_cexpl.c: Likewise.
48317 * math/s_clog.c: Likewise.
48318 * math/s_clog10.c: Likewise.
48319 * math/s_clog10f.c: Likewise.
48320 * math/s_clog10l.c: Likewise.
48321 * math/s_clogf.c: Likewise.
48322 * math/s_clogl.c: Likewise.
48323 * math/s_csqrt.c: Likewise.
48324 * math/s_csqrtf.c: Likewise.
48325 * math/s_csqrtl.c: Likewise.
48326 * math/s_ctanf.c: Likewise.
48327 * math/s_ctanh.c: Likewise.
48328 * math/s_ctanhf.c: Likewise.
48329 * math/s_ctanhl.c: Likewise.
48330 * math/s_ctanl.c: Likewise.
48331
bc62c2fb
UD
48332 * math/math_private.h: Define __nan, __nanf, __nanl.
48333 * math/s_cacosh.c: Include <math_private.h>.
48334 * math/s_cacoshl.c: Likewise.
48335 * math/s_casinh.c: Likewise.
48336 * math/s_casinhf.c: Likewise.
48337 * math/s_casinhl.c: Likewise.
48338 * math/s_ccos.c: Rely entire on ccosh.
48339 * math/s_ccosf.c: Rely entire on ccoshf.
48340 * math/s_ccosl.c: Rely entirely on ccoshl.
48341 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
48342 Remove tests for FE_INVALID.
48343 * math/s_ccoshf.c: Likewise.
48344 * math/s_ccoshl.c: Likewise.
48345 * math/s_csin.c: Likewise.
48346 * math/s_csinf.c: Likewise.
48347 * math/s_csinh.c Likewise.
48348 * math/s_csinhf.c: Likewise.
48349 * math/s_csinhl.c: Likewise.
48350 * math/s_csinl.c: Likewise.
48351 * math/s_ctan.c: Likewise.
48352 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
48353 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
48354 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
48355
8ec250a4
UD
483562011-10-21 Ulrich Drepper <drepper@gmail.com>
48357
c196fed8
UD
48358 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
48359 compilation problems.
48360
8ec250a4
UD
48361 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
48362 __builtin_expect.
48363
8d4f46c6
UD
483642011-10-20 Ulrich Drepper <drepper@gmail.com>
48365
ed72b654
UD
48366 * sysdeps/i386/configure.in: Test for -mfma4 option.
48367 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
48368 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
48369 COMMON_CPUID_INDEX_80000001.
48370 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
48371 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
48372 use it if FMA3 is not supported.
48373 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
48374
8d4f46c6
UD
48375 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
48376 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48377
d45c60c2
AS
483782011-10-20 Andreas Schwab <schwab@redhat.com>
48379
48380 [BZ #12892]
48381 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
48382 it would create a cycle with a link time dependency.
48383
d9a4d2ab
UD
483842011-10-19 Ulrich Drepper <drepper@gmail.com>
48385
855d1560
UD
48386 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
48387 instruction.
48388 * string/Makefile (strop-tests): Add rawmemchr.
48389 * string/test-rawmemchr.c: New file.
48390
d9a4d2ab
UD
48391 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
48392 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
48393 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
48394 when compiling str{,n}casecmp and when AVX is available. Hook up
48395 new optimized code in initializers.
48396
8f3b1ffe
AS
483972011-10-19 Andreas Schwab <schwab@redhat.com>
48398
48399 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
48400 __feraiseexcept instead of feraiseexcept.
48401
d38f1dba
UD
484022011-10-18 Ulrich Drepper <drepper@gmail.com>
48403
d9a8d0ab
UD
48404 * math/math_private.h: Define defaults for libc_fetestexcept and
48405 libc_feupdateenv.
48406 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
48407 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
48408 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48409 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48410 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48411 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48412 libc_fetestexcept and libc_feupdateenv.
48413
4855e3dd
UD
48414 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
48415 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
48416 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
48417 * sysdeps/x86_64/fpu/math_private.h: Define special version of
48418 libc_feholdexcept_setround.
48419
581d30e3
UD
48420 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
48421 Add s_nearbyint-c and s_nearbyintf-c.
48422 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
48423 nearbyintf inlines.
48424 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
48425 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
48426 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
48427 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
48428
d38f1dba
UD
48429 * math/math_private.h: Define defaults for libc_fegetround,
48430 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
48431 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
48432 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
48433 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
48434 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
48435 standard functions.
48436 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48437 Remove comments and hacks for old compiler versions.
48438 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48439 libc_fegetround, libc_fesetround, libc_feholdexcept, and
48440 libc_feholdexceptl.
48441
caa6c9d8
AS
484422011-10-18 Andreas Schwab <schwab@redhat.com>
48443
48444 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
48445 (__feraiseexcept_renamed): Add __NTH.
48446 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
48447 namespace violations.
48448
97c066e6
UD
484492011-10-17 Ulrich Drepper <drepper@gmail.com>
48450
99ce7b04
UD
48451 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
48452
1004d182
UD
48453 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
48454
228a984d
UD
48455 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
48456 recently added interfaces.
48457 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
48458
c8553a6a
UD
48459 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
48460 about macro parameter expansion.
48461
ed22dcf6
UD
48462 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
48463 __NO_MATH_INLINES is defined. Cleanups.
48464
48465 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
48466 and __floorf is target has SSE4.1.
48467 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
48468 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
48469 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
48470 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
48471
b171c137
UD
48472 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
48473 name.
48474 (floorf): Likewise.
48475
97c066e6
UD
48476 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
48477
629f62ef
AS
484782011-10-17 Andreas Schwab <schwab@redhat.com>
48479
49a43d80
AS
48480 * misc/sys/cdefs.h: Fix last change.
48481
629f62ef
AS
48482 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
48483 database lookup.
48484
e453f6cd
UD
484852011-10-16 Ulrich Drepper <drepper@gmail.com>
48486
aa78043a
UD
48487 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
48488
ad0f5cad
UD
48489 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
48490 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48491 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48492 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48493 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48494 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48495 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48496 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48497 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48498 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
48499 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
48500 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
48501 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
48502 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
48503 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
48504 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
48505 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
48506 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
48507 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
48508 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
48509 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
48510 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
48511
48512 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
48513 ceil, ceilf, floor, floorf.
48514
48515 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
48516 Perform IRELATIVE relocations last.
48517
e453f6cd
UD
48518 * elf/do-rel.h: Add another parameter nrelative, replacing the
48519 local variable with the same name. Change name of the function
48520 to end in Rel or Rela (uppercase).
48521 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
48522 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
48523 elf_dynamic_do_##reloc function.
48524
fd5bdc09
UD
485252011-10-15 Ulrich Drepper <drepper@gmail.com>
48526
79b195b5
UD
48527 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
48528 is sufficient, at least on modern CPUs.
48529
d4a28569
UD
48530 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
48531
b61099b5
UD
48532 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
48533 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
48534
bcf01e6d
UD
48535 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
48536 __expl_finite.
48537 * math/bits/math-finite.h: Add entries for exp.
48538 * math/e_expl.c: Add __*_finite alias.
48539 * sysdeps/i386/fpu/e_exp.S: Likewise.
48540 * sysdeps/i386/fpu/e_expf.S: Likewise.
48541 * sysdeps/i386/fpu/e_expl.c: Likewise.
48542 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48543 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48544 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48545 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48546 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
48547 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48548 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48549
ba1a0d59
UD
48550 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
48551 is sufficient, at least on modern CPUs.
48552
fd5bdc09
UD
48553 * ctype/ctype-info.c (__ctype_init): Define.
48554 * include/ctype.h (__ctype_init): Declare.
48555 (__ctype_b_loc): The variable is always initialized.
48556 (__ctype_toupper_loc): Likewise.
48557 (__ctype_tolower_loc): Likewise.
48558 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
48559 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
48560
7872cfb0
AS
485612011-10-15 Andreas Schwab <schwab@linux-m68k.org>
48562
b468825a
AS
48563 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
48564
7872cfb0
AS
48565 * configure.in: Also look in $cxxmachine/include for C++ system
48566 headers.
48567
be13f7bf
LD
485682011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48569
48570 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
48571 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
48572 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
48573 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
48574 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
48575 (USE_AS_WMEMCMP): New macro.
48576 Fixing indents.
48577 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
48578 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
48579 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
48580 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
48581 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48582 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
48583 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
48584 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
48585 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
48586 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
48587 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
48588 (USE_AS_WMEMCMP): New macro.
48589 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
48590 * sysdeps/string/test-memcmp.c: Update.
48591 Fix simple_wmemcmp.
48592 Add new tests.
48593 * wcsmbs/wmemcmp.c: Update.
48594 (WMEMCMP): New macro.
48595 Fix overflow bug.
48596
556a2007
AJ
485972011-10-12 Andreas Jaeger <aj@suse.de>
48598
48599 [BZ #13268]
48600 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
48601
538faaa7
UD
486022011-10-15 Ulrich Drepper <drepper@gmail.com>
48603
ab6737ff
UD
48604 * libio/iofwide.c (do_length): Avoid warning.
48605
538faaa7
UD
48606 * ctype/ctype.h (__isctype_f): Add missing __THROW.
48607
396a21b1
UD
486082011-10-14 Ulrich Drepper <drepper@gmail.com>
48609
cdf2901f
UD
48610 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
48611
38ad40ce
UD
48612 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
48613 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
48614 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
48615 * sysdeps/i386/i686/fpu/e_log.S: New file.
48616 * sysdeps/i386/i686/fpu/e_logf.S: New file.
48617 * sysdeps/i386/i686/fpu/e_logl.S: New file.
48618
396a21b1
UD
48619 * ctype/ctype.h: Add support for inlined isXXX functions when
48620 compiling C++ code.
48621
6b1f68c9
AS
486222011-10-14 Andreas Schwab <schwab@redhat.com>
48623
349290c0
AS
48624 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48625
6b1f68c9
AS
48626 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
48627
f2282d42
RM
486282011-10-13 Roland McGrath <roland@hack.frob.com>
48629
48630 [BZ #13291]
48631 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
48632
5298ffa8
AS
486332011-10-13 Andreas Schwab <schwab@redhat.com>
48634
714fad23
AS
48635 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
48636 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
48637 feraiseexcept.
48638
81dcc7fb
AS
48639 * sysdeps/x86_64/memrchr.S: Check for zero size.
48640
5298ffa8
AS
48641 * string/stratcliff.c: Add memrchr tests.
48642
951fbcec
LD
486432011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48644
48645 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48646 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
48647 rawmemchr-sse2 rawmemchr-sse2-bsf.
48648 * sysdeps/i386/i686/multiarch/memchr.S: New file.
48649 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
48650 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
48651 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
48652 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
48653 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
48654 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
48655 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
48656 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
48657 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
48658 * string/memrchr.c (MEMRCHR): New macro.
48659
0ac5ae23
UD
486602011-10-12 Ulrich Drepper <drepper@gmail.com>
48661
48662 Add integration with gcc's -ffinite-math-only and optimize wrapper
48663 functions in libm.
48664 * Versions.def: Define GLIBC_2.15 version for libm.
48665 * math/Makefile (headers): Add bits/math-finite.h.
48666 * math/bits/math-finite.h: New file.
48667 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
48668 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
48669 * math/e_acoshl.c: Add __*_finite alias.
48670 * math/e_acosl.c: Likewise.
48671 * math/e_asinl.c: Likewise.
48672 * math/e_atan2l.c: Likewise.
48673 * math/e_atanhl.c: Likewise.
48674 * math/e_coshl.c: Likewise.
48675 * math/e_exp10.c: Likewise.
48676 * math/e_exp10f.c: Likewise.
48677 * math/e_exp10l.c: Likewise.
48678 * math/e_exp2l.c: Likewise.
48679 * math/e_fmodl.c: Likewise.
48680 * math/e_gammal_r.c: Likewise.
48681 * math/e_hypotl.c: Likewise.
48682 * math/e_j0l.c: Likewise.
48683 * math/e_j1l.c: Likewise.
48684 * math/e_jnl.c: Likewise.
48685 * math/e_lgammal_r.c: Likewise.
48686 * math/e_log10l.c: Likewise.
48687 * math/e_log2l.c: Likewise.
48688 * math/e_logl.c: Likewise.
48689 * math/e_powl.c: Likewise.
48690 * math/e_sinhl.c: Likewise.
48691 * math/e_sqrtl.c: Likewise.
48692 * math/e_scalb.c: Completely rewritten and optimized.
48693 * math/e_scalbf.c: Likewise.
48694 * math/e_scalbl.c: Likewise.
48695 * math/w_acos.c: Likewise.
48696 * math/w_acosf.c: Likewise.
48697 * math/w_acosl.c: Likewise.
48698 * math/w_acosh.c: Likewise.
48699 * math/w_acoshf.c: Likewise.
48700 * math/w_acoshl.c: Likewise.
48701 * math/w_asin.c: Likewise.
48702 * math/w_asinf.c: Likewise.
48703 * math/w_asinl.c: Likewise.
48704 * math/w_atan2.c: Likewise.
48705 * math/w_atan2f.c: Likewise.
48706 * math/w_atan2l.c: Likewise.
48707 * math/w_atanh.c: Likewise.
48708 * math/w_atanhf.c: Likewise.
48709 * math/w_atanhl.c: Likewise.
48710 * math/w_exp10.c: Likewise.
48711 * math/w_exp10f.c: Likewise.
48712 * math/w_exp10l.c: Likewise.
48713 * math/w_fmod.c: Likewise.
48714 * math/w_fmodf.c: Likewise.
48715 * math/w_fmodl.c: Likewise.
48716 * math/w_j0.c: Likewise.
48717 * math/w_j0f.c: Likewise.
48718 * math/w_j0l.c: Likewise.
48719 * math/w_j1.c: Likewise.
48720 * math/w_j1f.c: Likewise.
48721 * math/w_j1l.c: Likewise.
48722 * math/w_jn.c: Likewise.
48723 * math/w_jnf.c: Likewise.
48724 * math/w_log.c: Likewise.
48725 * math/w_logf.c: Likewise.
48726 * math/w_logl.c: Likewise.
48727 * math/w_log10.c: Likewise.
48728 * math/w_log10f.c: Likewise.
48729 * math/w_log10l.c: Likewise.
48730 * math/w_log2.c: Likewise.
48731 * math/w_log2f.c: Likewise.
48732 * math/w_log2l.c: Likewise.
48733 * math/w_pow.c: Likewise.
48734 * math/w_powf.c: Likewise.
48735 * math/w_powl.c: Likewise.
48736 * math/w_remainder.c: Likewise.
48737 * math/w_remainderf.c: Likewise.
48738 * math/w_remainderl.c: Likewise.
48739 * math/w_scalb.c: Likewise.
48740 * math/w_scalbf.c: Likewise.
48741 * math/w_scalbl.c: Likewise.
48742 * math/w_sqrt.c: Likewise.
48743 * math/w_sqrtf.c: Likewise.
48744 * math/w_sqrtl.c: Likewise.
48745 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
48746 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
48747 used.
48748 * math/math_private.h: Declare __kernel_standard_f.
48749 * math/w_cosh.c: Remove cruft and optimize a bit.
48750 * math/w_coshf.c: Likewise.
48751 * math/w_coshl.c: Likewise.
48752 * math/w_exp2.c: Likewise.
48753 * math/w_exp2f.c: Likewise.
48754 * math/w_exp2l.c: Likewise.
48755 * math/w_hypot.c: Likewise.
48756 * math/w_hypotf.c: Likewise.
48757 * math/w_hypotl.c: Likewise.
48758 * math/w_lgamma.c: Likewise.
48759 * math/w_lgamma_r.c: Likewise.
48760 * math/w_lgammaf.c: Likewise.
48761 * math/w_lgammaf_r.c: Likewise.
48762 * math/w_lgammal.c: Likewise.
48763 * math/w_lgammal_r.c: Likewise.
48764 * math/w_sinh.c: Likewise.
48765 * math/w_sinhf.c: Likewise.
48766 * math/w_sinhl.c: Likewise.
48767 * math/w_tgamma.c: Likewise.
48768 * math/w_tgammaf.c: Likewise.
48769 * math/w_tgammal.c: Likewise.
48770 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48771 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48772 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
48773 Minor optimizations. Pretty printing. Remove cruft.
48774 * sysdeps/i386/fpu/e_acosf.S: Likewise.
48775 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48776 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48777 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48778 * sysdeps/i386/fpu/e_acosl.c: Likewise.
48779 * sysdeps/i386/fpu/e_asin.S: Likewise.
48780 * sysdeps/i386/fpu/e_asinf.S: Likewise.
48781 * sysdeps/i386/fpu/e_atan2.S: Likewise.
48782 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
48783 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
48784 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48785 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48786 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48787 * sysdeps/i386/fpu/e_exp10.S: Likewise.
48788 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
48789 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
48790 * sysdeps/i386/fpu/e_exp2.S: Likewise.
48791 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
48792 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
48793 * sysdeps/i386/fpu/e_fmod.S: Likewise.
48794 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
48795 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
48796 * sysdeps/i386/fpu/e_hypot.S: Likewise.
48797 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
48798 * sysdeps/i386/fpu/e_log.S: Likewise.
48799 * sysdeps/i386/fpu/e_log10.S: Likewise.
48800 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48801 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48802 * sysdeps/i386/fpu/e_log2.S: Likewise.
48803 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48804 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48805 * sysdeps/i386/fpu/e_logf.S: Likewise.
48806 * sysdeps/i386/fpu/e_logl.S: Likewise.
48807 * sysdeps/i386/fpu/e_pow.S: Likewise.
48808 * sysdeps/i386/fpu/e_powf.S: Likewise.
48809 * sysdeps/i386/fpu/e_powl.S: Likewise.
48810 * sysdeps/i386/fpu/e_remainder.S: Likewise.
48811 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
48812 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
48813 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48814 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48815 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48816 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
48817 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
48818 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
48819 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48820 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48821 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48822 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48823 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48824 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48825 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48826 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48827 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48828 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48829 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48830 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48831 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48832 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48833 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48834 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48835 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48836 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48837 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48838 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48839 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48840 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48841 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48842 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48843 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48844 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48845 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48846 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48847 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
48848 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48849 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48850 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48851 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48852 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48853 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48854 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48855 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48856 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48857 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48858 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48859 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48860 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48861 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48862 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48863 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48864 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48865 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48866 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48867 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48868 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
48869 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48870 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48871 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48872 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48873 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48874 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48875 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48876 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48877 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48878 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48879 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48880 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48881 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48882 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48883 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48884 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48885 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48886 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48887 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
48888 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48889 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48890 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48891 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48892 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48893 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48894 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48895 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
48896 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48897 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48898 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48899 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48900 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48901 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
48902 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48903 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48904 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48905 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48906 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48907 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48908 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48909 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48910 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48911 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48912 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48913 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48914 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48915 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48916 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
48917 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
48918 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
48919 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
48920 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
48921 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
48922 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
48923 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48924 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48925 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48926 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48927 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
48928 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48929 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
48930 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
48931 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
48932 (__isnanf): Likewise.
48933 (__isinf_ns): Likewise.
48934 (__isinf_nsf): Likewise.
48935 (__finite): Likewise.
48936 (__finitef): Likewise.
48937 (__ieee754_sqrt): Define as macro.
48938 (__ieee754_sqrtf): Define as macro.
48939 (__ieee754_sqrtl): Define as macro.
48940 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
48941 inlined copy.
48942 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
48943 __FINITE_MATH_ONLY__ consistent.
48944 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
48945
12cc2fcd
AS
489462011-10-10 Andreas Schwab <schwab@linux-m68k.org>
48947
a843a204
AS
48948 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
48949 of rawmemchr.
48950
12cc2fcd
AS
48951 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
48952
c853acd5
UD
489532011-10-09 Ulrich Drepper <drepper@gmail.com>
48954
48955 * po/ja.po: Update from translation team.
48956
c658d255
RM
489572011-10-08 Roland McGrath <roland@hack.frob.com>
48958
110946e4
RM
48959 * locale/programs/locarchive.c (prepare_address_space): New function.
48960 (create_archive, enlarge_archive, open_archive): Use it.
48961
50604220
RM
48962 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
48963 inside [SHARED], where it is used.
48964
c658d255
RM
48965 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
48966
48967 * nss/getent.c (netgroup_keys): Remove unused variable.
48968 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48969
6a621eb7
UD
489702011-10-08 Ulrich Drepper <drepper@gmail.com>
48971
7edb55ce
UD
48972 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
48973 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
48974 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
48975 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
48976 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
48977 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
48978 * math/Makefile (libm-calls): Add s_isinf_ns.
48979 * math/divtc3.c: Use __isinf_nsl instead of isinf.
48980 * math/multc3.c: Likewise.
48981 * math/s_casin.c: Likewise.
48982 * math/s_casinf.c: Likewise.
48983 * math/s_casinl.c: Likewise.
48984 * math/s_ccos.c: Likewise.
48985 * math/s_ccosf.c: Likewise.
48986 * math/s_ccosl.c: Likewise.
48987 * math/s_ctan.c: Likewise.
48988 * math/s_ctanf.c: Likewise.
48989 * math/s_ctanh.c: Likewise.
48990 * math/s_ctanhf.c: Likewise.
48991 * math/s_ctanhl.c: Likewise.
48992 * math/s_ctanl.c: Likewise.
48993 * math/w_fmod.c: Likewise.
48994 * math/w_fmodf.c: Likewise.
48995 * math/w_fmodl.c: Likewise.
48996 * math/w_remainder.c: Likewise.
48997 * math/w_remainderf.c: Likewise.
48998 * math/w_remainderl.c: Likewise.
48999 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
49000 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
49001 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
49002 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
49003 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
49004 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
49005 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
49006 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
49007
187da0ae
UD
49008 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
49009 of the number.
49010 * stdio-common/printf_fphex.c: Likewise.
49011 * stdio-common/printf_size.c: Likewise.
49012
9277c064
UD
49013 * math/e_exp10.c: Include math_private.h using <...> not "...".
49014 * math/e_exp10f.c: Likewise.
49015 * math/e_exp10l.c: Likewise.
49016 * math/e_exp2l.c: Likewise.
49017 * math/e_j0l.c: Likewise.
49018 * math/e_j1l.c: Likewise.
49019 * math/e_jnl.c: Likewise.
49020 * math/e_lgammal_r.c: Likewise.
49021 * math/e_rem_pio2l.c: Likewise.
49022 * math/e_scalb.c: Likewise.
49023 * math/e_scalbf.c: Likewise.
49024 * math/e_scalbl.c: Likewise.
49025 * math/k_cosl.c: Likewise.
49026 * math/k_sinl.c: Likewise.
49027 * math/k_tanl.c: Likewise.
49028 * math/s_cacoshf.c: Likewise.
49029 * math/s_catan.c: Likewise.
49030 * math/s_catanf.c: Likewise.
49031 * math/s_catanh.c: Likewise.
49032 * math/s_catanhf.c: Likewise.
49033 * math/s_catanhl.c: Likewise.
49034 * math/s_catanl.c: Likewise.
49035 * math/s_ccosh.c: Likewise.
49036 * math/s_ccoshf.c: Likewise.
49037 * math/s_ccoshl.c: Likewise.
49038 * math/s_cexp.c: Likewise.
49039 * math/s_cexpf.c: Likewise.
49040 * math/s_cexpl.c: Likewise.
49041 * math/s_clog.c: Likewise.
49042 * math/s_clog10.c: Likewise.
49043 * math/s_clog10f.c: Likewise.
49044 * math/s_clog10l.c: Likewise.
49045 * math/s_clogf.c: Likewise.
49046 * math/s_clogl.c: Likewise.
49047 * math/s_csin.c: Likewise.
49048 * math/s_csinf.c: Likewise.
49049 * math/s_csinh.c: Likewise.
49050 * math/s_csinhf.c: Likewise.
49051 * math/s_csinhl.c: Likewise.
49052 * math/s_csinl.c: Likewise.
49053 * math/s_csqrt.c: Likewise.
49054 * math/s_csqrtf.c: Likewise.
49055 * math/s_csqrtl.c: Likewise.
49056 * math/s_ctan.c: Likewise.
49057 * math/s_ctanf.c: Likewise.
49058 * math/s_ctanh.c: Likewise.
49059 * math/s_ctanhf.c: Likewise.
49060 * math/s_ctanhl.c: Likewise.
49061 * math/s_ctanl.c: Likewise.
49062 * math/s_ldexp.c: Likewise.
49063 * math/s_ldexpf.c: Likewise.
49064 * math/s_ldexpl.c: Likewise.
49065 * math/s_significand.c: Likewise.
49066 * math/s_significandf.c: Likewise.
49067 * math/s_significandl.c: Likewise.
49068 * math/w_acos.c: Likewise.
49069 * math/w_acosf.c: Likewise.
49070 * math/w_acosh.c: Likewise.
49071 * math/w_acoshf.c: Likewise.
49072 * math/w_acoshl.c: Likewise.
49073 * math/w_acosl.c: Likewise.
49074 * math/w_asin.c: Likewise.
49075 * math/w_asinf.c: Likewise.
49076 * math/w_asinl.c: Likewise.
49077 * math/w_atan2.c: Likewise.
49078 * math/w_atan2f.c: Likewise.
49079 * math/w_atan2l.c: Likewise.
49080 * math/w_atanh.c: Likewise.
49081 * math/w_atanhf.c: Likewise.
49082 * math/w_atanhl.c: Likewise.
49083 * math/w_cosh.c: Likewise.
49084 * math/w_coshf.c: Likewise.
49085 * math/w_coshl.c: Likewise.
49086 * math/w_dremf.c: Likewise.
49087 * math/w_exp10.c: Likewise.
49088 * math/w_exp10f.c: Likewise.
49089 * math/w_exp10l.c: Likewise.
49090 * math/w_exp2.c: Likewise.
49091 * math/w_exp2f.c: Likewise.
49092 * math/w_fmod.c: Likewise.
49093 * math/w_fmodf.c: Likewise.
49094 * math/w_fmodl.c: Likewise.
49095 * math/w_hypot.c: Likewise.
49096 * math/w_hypotf.c: Likewise.
49097 * math/w_hypotl.c: Likewise.
49098 * math/w_j0.c: Likewise.
49099 * math/w_j0f.c: Likewise.
49100 * math/w_j0l.c: Likewise.
49101 * math/w_j1.c: Likewise.
49102 * math/w_j1f.c: Likewise.
49103 * math/w_j1l.c: Likewise.
49104 * math/w_jn.c: Likewise.
49105 * math/w_jnf.c: Likewise.
49106 * math/w_jnl.c: Likewise.
49107 * math/w_lgamma.c: Likewise.
49108 * math/w_lgamma_r.c: Likewise.
49109 * math/w_lgammaf.c: Likewise.
49110 * math/w_lgammaf_r.c: Likewise.
49111 * math/w_lgammal.c: Likewise.
49112 * math/w_lgammal_r.c: Likewise.
49113 * math/w_log.c: Likewise.
49114 * math/w_log10.c: Likewise.
49115 * math/w_log10f.c: Likewise.
49116 * math/w_log10l.c: Likewise.
49117 * math/w_log2.c: Likewise.
49118 * math/w_log2f.c: Likewise.
49119 * math/w_log2l.c: Likewise.
49120 * math/w_logf.c: Likewise.
49121 * math/w_logl.c: Likewise.
49122 * math/w_pow.c: Likewise.
49123 * math/w_powf.c: Likewise.
49124 * math/w_powl.c: Likewise.
49125 * math/w_remainder.c: Likewise.
49126 * math/w_remainderf.c: Likewise.
49127 * math/w_remainderl.c: Likewise.
49128 * math/w_scalb.c: Likewise.
49129 * math/w_scalbf.c: Likewise.
49130 * math/w_scalbl.c: Likewise.
49131 * math/w_sinh.c: Likewise.
49132 * math/w_sinhf.c: Likewise.
49133 * math/w_sinhl.c: Likewise.
49134 * math/w_sqrt.c: Likewise.
49135 * math/w_sqrtf.c: Likewise.
49136 * math/w_sqrtl.c: Likewise.
49137 * math/w_tgamma.c: Likewise.
49138 * math/w_tgammaf.c: Likewise.
49139 * math/w_tgammal.c: Likewise.
49140
6a621eb7
UD
49141 * po/ja.po: Update from translation team.
49142
bf582445
AJ
491432011-09-29 Andreas Jaeger <aj@suse.de>
49144
f9efbf3a
AJ
49145 [BZ #13179]
49146 * sunrpc/netname.c (netname2host): Fix logic.
49147
bf582445
AJ
49148 [BZ #6779]
49149 [BZ #6783]
49150 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
49151 correctly.
49152 * math/w_remainder.c (__remainder): Likewise.
49153 * math/w_remainderf.c (__remainderf): Likewise.
49154 * math/libm-test.inc (remainder_test): Add test cases.
49155
48693bea
AK
491562011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49157
49158 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
49159 sdiv_qrnnd.
49160
42622229
LD
491612011-10-07 Ulrich Drepper <drepper@gmail.com>
49162
49163 * string/test-memcmp.c: Avoid unncessary #defines.
49164 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49165
093ecf92
LD
491662011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49167
49168 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
49169 Use new sse2 version for core i3 - i7 as it's faster
49170 than sse42 version.
49171 (bit_Prefer_PMINUB_for_stringop): New.
49172 * sysdeps/x86_64/rawmemchr.S: Update.
49173 Replace with faster SSE2 version.
49174 * sysdeps/x86_64/memrchr.S: New file.
49175 * sysdeps/x86_64/memchr.S: Update.
49176 Replace with faster SSE2 version.
49177
fde56e5c
MP
491782011-09-12 Marek Polacek <mpolacek@redhat.com>
49179
49180 * elf/dl-load.c (lose): Add cast to avoid warning.
49181
21fd49a9
UD
491822011-10-07 Ulrich Drepper <drepper@gmail.com>
49183
5a06e643
UD
49184 * po/ca.po: Update from translation team.
49185
684ae515
UD
49186 * inet/getnetgrent_r.c: Hook up nscd.
49187 * nscd/Makefile (routines): Add nscd_netgroup.
49188 (nscd-modules): Add netgroupcache.
49189 (CFLAGS-netgroupcache.c): Define.
49190 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
49191 (cache_search): Add const to second parameter.
49192 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
49193 INNETGR.
49194 (dbs): Add netgrdb entry.
49195 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
49196 (verify_persistent_db): Handle netgrdb.
49197 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
49198 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
49199 GETFDNETGR.
49200 (netgroup_response_header): Define.
49201 (innetgroup_response_header): Define.
49202 (datahead): Add netgroup_response_header and innetgroup_response_header
49203 elements.
49204 * nscd/nscd.conf: Add entries for netgroup cache.
49205 * nscd/nscd.h (dbtype): Add netgrdb.
49206 (_PATH_NSCD_NETGROUP_DB): Define.
49207 (netgroup_iov_disabled): Declare.
49208 (xmalloc, xcalloc, xrealloc): Move declarations here.
49209 (cache_search): Adjust prototype.
49210 Add netgroup-related prototypes.
49211 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
49212 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
49213 (__nscd_innetgr): Declare.
49214 * nscd/selinux.c (perms): Use access_vector_t as element type and
49215 add netgroup-related initializers.
49216 * nscd/netgroupcache.c: New file.
49217 * nscd/nscd_netgroup.c: New file.
49218 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
49219 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
49220 For four parameters use innetgr.
49221 * nss/nss_files/files-init.c: Add definition and callback for netgr.
49222 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
49223 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
49224 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
49225
21fd49a9
UD
49226 * nscd/connections.c (register_traced_file): Don't register file
49227 for disabled databases.
49228
054c0457
UD
492292011-10-06 Ulrich Drepper <drepper@gmail.com>
49230
32b63198
UD
49231 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
49232
054c0457
UD
49233 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
49234 from tree and freeing node.
49235
64031225
JO
492362011-09-25 Jiri Olsa <jolsa@redhat.com>
49237
49238 * nss/nsswitch.c (__nss_database_lookup): Handle
49239 nss_parse_service_list out of memory case.
49240
0490345c
JO
492412011-09-15 Jiri Olsa <jolsa@redhat.com>
49242
49243 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
49244 out of memory case.
49245
3a62d00d
AS
492462011-10-04 Andreas Schwab <schwab@redhat.com>
49247
49248 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
49249 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
49250 pass it down.
49251 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
49252 elf_machine_rela, elf_machine_lazy_rel.
49253 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
49254 (ELF_DYNAMIC_DO_REL): Likewise.
49255 (ELF_DYNAMIC_DO_RELA): Likewise.
49256 (ELF_DYNAMIC_RELOCATE): Likewise.
49257 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
49258 to ELF_DYNAMIC_DO_REL.
49259 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
49260 (dl_main): In trace mode always set __RTLD_NOIFUNC.
49261 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
49262 elf_machine_rela.
49263 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
49264 skip_ifunc, don't call ifunc function if non-zero.
49265 (elf_machine_rela): Likewise.
49266 (elf_machine_lazy_rel): Likewise.
49267 (elf_machine_lazy_rela): Likewise.
49268 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
49269 (elf_machine_lazy_rel): Likewise.
49270 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
49271 Likewise.
49272 (elf_machine_lazy_rel): Likewise.
49273 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49274 Likewise.
49275 (elf_machine_lazy_rel): Likewise.
49276 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
49277 (elf_machine_lazy_rel): Likewise.
49278 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
49279 (elf_machine_lazy_rel): Likewise.
49280 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49281 (elf_machine_lazy_rel): Likewise.
49282 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
49283 (elf_machine_lazy_rel): Likewise.
49284 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
49285 (elf_machine_lazy_rel): Likewise.
49286 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49287 (elf_machine_lazy_rel): Likewise.
49288
68577918
UD
492892011-09-28 Ulrich Drepper <drepper@gmail.com>
49290
49291 * nss/nss_files/files-init.c (_nss_files_init): Use static
49292 initialization for all the *_traced_file variables.
49293
68822d74
AS
492942011-09-28 Andreas Schwab <schwab@redhat.com>
49295
49296 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49297
2056100b
RM
492982011-09-27 Roland McGrath <roland@hack.frob.com>
49299
49300 [BZ #13226]
49301 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
49302
32c76b63
AS
493032011-09-27 Andreas Schwab <schwab@redhat.com>
49304
49305 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49306 Reread the line before reparsing it.
49307
bf972c9d
AS
493082011-09-26 Andreas Schwab <schwab@redhat.com>
49309
49310 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
49311
e057a1b5
JM
493122011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
49313 Maxim Kuvyrkov <maxim@codesourcery.com>
49314 Joseph Myers <joseph@codesourcery.com>
49315
49316 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
49317 if needed for __stack_chk_guard.
49318
bc7e1c36
RM
493192011-09-19 Roland McGrath <roland@hack.frob.com>
49320
ecb1482f
RM
49321 * sysdeps/posix/spawni.c (script_execute): Always define it.
49322 It will be optimized away if unused.
49323 (maybe_script_execute): New function.
49324 (__spawni): Call it.
49325
bc7e1c36
RM
49326 * Makerules: Don't include tls.make.
49327 (config-tls): Always set to thread.
49328 * tls.make.c: File removed.
49329
1c3b002b
MF
493302011-09-19 Mike Frysinger <vapier@gentoo.org>
49331
49332 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
49333 * config.make.in (CPPFLAGS-config): New substituted variable.
49334
2840865d
UD
493352011-09-15 Ulrich Drepper <drepper@gmail.com>
49336
88738eb6
UD
49337 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
49338
cbf645a6 49339 [BZ #13192]
2840865d
UD
49340 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
49341 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
49342
b402e91a
RM
493432011-09-15 Roland McGrath <roland@hack.frob.com>
49344
49345 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
49346 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
49347 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49348 (CALL_FAIL): Likewise.
49349 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
49350 (CALL_FAIL): Macro removed.
49351 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
49352
4c1a1f71
UD
493532011-09-15 Ulrich Drepper <drepper@gmail.com>
49354
49355 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
49356 for __FINITE_MATH_ONLY__ == 1.
49357
edc121be
AS
493582011-09-15 Andreas Schwab <schwab@redhat.com>
49359
49360 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
49361 __ieee754_sqrt instead of sqrt.
49362 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
49363 __ieee754_sqrtf instead of sqrtf.
49364 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
49365 __floorf instead of floorf.
49366 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
49367 __floorf, __truncf instead of floorf, truncf.
49368
cd205654
UD
493692011-09-14 Ulrich Drepper <drepper@gmail.com>
49370
ee4d0315
UD
49371 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
49372
cd205654
UD
49373 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
49374 __extern_always_inline.
49375 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
49376 32-bit.
49377
48b67d71
AS
493782011-09-14 Andreas Schwab <schwab@redhat.com>
49379
49380 * elf/rtld.c (dl_main): Also relocate in dependency order when
49381 doing symbol dependency testing.
49382
1ae12c75
AS
493832011-09-13 Andreas Schwab <schwab@linux-m68k.org>
49384
49385 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49386 Always define `refsym'.
49387
995a80df
AS
493882011-09-13 Andreas Schwab <schwab@redhat.com>
49389
e529793b
AS
49390 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
49391 (__FD_ELT): Renamed from __FDELT.
49392 * misc/bits/select2.h (__FD_ELT): Likewise.
49393 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
49394 __FD_MASK instead of __FDELT, __FDMASK.
49395 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49396 Likewise.
49397 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49398 Likewise.
49399
52d4fef8
AS
49400 * elf/Makefile (gen-ldd): Fix pattern.
49401
995a80df
AS
49402 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
49403 (init_tls): Likewise.
49404
8682f8b0
UD
494052011-09-12 Ulrich Drepper <drepper@gmail.com>
49406
49407 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
49408
de82006d
AS
494092011-09-12 Andreas Schwab <schwab@redhat.com>
49410
a7c8e6a1
AS
49411 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
49412 `struct cmsghdr *' instead of `void *'.
49413 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
49414 Likewise.
49415
0f31fe77
AS
494162011-09-11 Andreas Schwab <schwab@linux-m68k.org>
49417
49418 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
49419 if non-absolute.
49420 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
49421 ldd_rewrite_script.
0f31fe77 49422
32b4c839
UD
494232011-09-11 Ulrich Drepper <drepper@gmail.com>
49424
83cd1420
UD
49425 * configure.in: Remove --with-tls option.
49426 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
49427 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
49428 out in case it is missing.
49429 * sysdeps/ia64/elf/configure.in: Likewise.
49430 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
49431 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
49432 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
49433 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
49434 * sysdeps/sh/elf/configure.in: Likewise.
49435 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
49436 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49437 * sysdeps/x86_64/elf/configure.in: Likewise.
49438 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
49439 * sysdeps/mach/hurd/tls.h: Likewise.
49440
633f745d
UD
49441 [BZ #13067]
49442 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
49443
f318beb8
UD
49444 [BZ #13090]
49445 * configure.in: Fix use of AC_INIT.
49446
32b4c839
UD
49447 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
49448
3ce1f295
UD
494492011-09-10 Ulrich Drepper <drepper@gmail.com>
49450
bb016596
UD
49451 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
49452 __set_errno.
8e58439c
UD
49453 * malloc/hooks.c: Likewise.
49454
aebae053 49455 [BZ #11929]
02d46fc4
UD
49456 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
49457 variables statically.
49458 (narenas): Initialize.
49459 (list_lock): Initialize.
bb016596
UD
49460 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
49461 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
49462 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
49463 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
49464 Add initializers to main_arena and mp_.
49465 (malloc_state): Remove pagesize member. Change all users to use
49466 GLRO(dl_pagesize).
49467
49468 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
49469 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
49470 is always initialized.
49471
22a89187
UD
49472 * malloc/malloc.c: Removed unused configurations and dead code.
49473 * malloc/arena.c: Likewise.
49474 * malloc/hooks.c: Likewise.
02d46fc4 49475 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 49476
d063d164
UD
49477 * include/tls.h: Removed. USE___THREAD must always be defined.
49478 * bits/libc-tsd.h: Don't handle !USE___THREAD.
49479 * elf/dl-libc.c: Likewise.
49480 * elf/dl-tsd.c: Likewise.
49481 * include/errno.h: Likewise.
49482 * include/netdb.h: Likewise.
49483 * include/resolv.h: Likewise.
49484 * inet/herrno-loc.c: Likewise.
49485 * inet/herrno.c: Likewise.
49486 * malloc/arena.c: Likewise.
49487 * malloc/hooks.c: Likewise.
49488 * malloc/malloc.c: Likewise.
49489 * resolv/res-state.c: Likewise.
49490 * resolv/res_libc.c: Likewise.
49491 * sysdeps/i386/dl-machine.h: Likewise.
49492 * sysdeps/ia64/dl-machine.h: Likewise.
49493 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
49494 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49495 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
49496 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
49497 * sysdeps/sh/dl-machine.h: Likewise.
49498 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49499 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49500 * sysdeps/unix/i386/sysdep.S: Likewise.
49501 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
49502 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
49503 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
49504 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
49505 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
49506 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
49507 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
49508 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49509 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49510 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
49511 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49512 * sysdeps/x86_64/dl-machine.h: Likewise.
49513 * tls.make.c: Likewise.
49514
3ce1f295
UD
49515 * configure.in: Remove --with-__thread option. Make tests for
49516 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
49517 tls_model attribute fail if no support is available. Remove
49518 USE_IN_LIBIO.
49519 * Makeconfig: Adjust for dropped configure option. All features are
49520 now mandatory.
49521 * Makerules: Likewise.
49522 * Versions.def: Likewise.
49523 * argp/argp-fmtstream.c: Likewise.
49524 * argp/argp-fmtstream.h: Likewise.
49525 * argp/argp-help.c: Likewise.
49526 * assert/assert.c: Likewise.
49527 * config.h.in: Likewise.
49528 * config.make.in: Likewise.
49529 * configure: Likewise.
49530 * configure.in: Likewise.
49531 * csu/Versions: Likewise.
49532 * csu/init.c: Likewise.
49533 * elf/tst-audit2.c: Likewise.
49534 * elf/tst-tls10.c: Likewise.
49535 * elf/tst-tls10.h: Likewise.
49536 * elf/tst-tls11.c: Likewise.
49537 * elf/tst-tls12.c: Likewise.
49538 * elf/tst-tls14.c: Likewise.
49539 * elf/tst-tlsmod11.c: Likewise.
49540 * elf/tst-tlsmod12.c: Likewise.
49541 * elf/tst-tlsmod13.c: Likewise.
49542 * elf/tst-tlsmod13a.c: Likewise.
49543 * elf/tst-tlsmod14a.c: Likewise.
49544 * elf/tst-tlsmod15b.c: Likewise.
49545 * elf/tst-tlsmod16a.c: Likewise.
49546 * elf/tst-tlsmod16b.c: Likewise.
49547 * elf/tst-tlsmod7.c: Likewise.
49548 * elf/tst-tlsmod8.c: Likewise.
49549 * elf/tst-tlsmod9.c: Likewise.
49550 * gmon/gmon.c: Likewise.
49551 * grp/fgetgrent_r.c: Likewise.
49552 * grp/putgrent.c: Likewise.
49553 * hurd/fopenport.c: Likewise.
49554 * include/libc-symbols.h: Likewise.
49555 * include/tls.h: Likewise.
49556 * intl/gettextP.h: Likewise.
49557 * intl/loadinfo.h: Likewise.
49558 * locale/global-locale.c: Likewise.
49559 * locale/localeinfo.h: Likewise.
49560 * mach/devstream.c: Likewise.
49561 * malloc/arena.c: Likewise.
49562 * malloc/set-freeres.c: Likewise.
49563 * misc/err.c: Likewise.
49564 * misc/getttyent.c: Likewise.
49565 * misc/mntent_r.c: Likewise.
49566 * posix/getopt.c: Likewise.
49567 * posix/wordexp.c: Likewise.
49568 * pwd/fgetpwent_r.c: Likewise.
49569 * resolv/Versions: Likewise.
49570 * resolv/res_hconf.c: Likewise.
49571 * shadow/fgetspent_r.c: Likewise.
49572 * shadow/putspent.c: Likewise.
49573 * stdio-common/printf_fphex.c: Likewise.
49574 * stdio-common/tmpfile.c: Likewise.
49575 * stdlib/abort.c: Likewise.
49576 * stdlib/fmtmsg.c: Likewise.
49577 * sunrpc/auth_unix.c: Likewise.
49578 * sunrpc/clnt_perr.c: Likewise.
49579 * sunrpc/clnt_tcp.c: Likewise.
49580 * sunrpc/clnt_udp.c: Likewise.
49581 * sunrpc/clnt_unix.c: Likewise.
49582 * sunrpc/openchild.c: Likewise.
49583 * sunrpc/svc_simple.c: Likewise.
49584 * sunrpc/svc_tcp.c: Likewise.
49585 * sunrpc/svc_udp.c: Likewise.
49586 * sunrpc/svc_unix.c: Likewise.
49587 * sunrpc/xdr.c: Likewise.
49588 * sunrpc/xdr_array.c: Likewise.
49589 * sunrpc/xdr_rec.c: Likewise.
49590 * sunrpc/xdr_ref.c: Likewise.
49591 * sunrpc/xdr_stdio.c: Likewise.
49592
1248c1c4
PB
495932011-09-09 Ulrich Drepper <drepper@gmail.com>
49594
49595 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49596
495972011-07-03 Andreas Jaeger <aj@suse.de>
49598
49599 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
49600 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
49601 regenerate with gen-libm-tests.pl.
49602
496032010-05-12 Petr Baudis <pasky@suse.cz>
49604
49605 [BZ #11589]
49606 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
49607 around j0() zero points by switching to j1().
49608 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49609 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49610 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49611 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49612
f22e1074
UD
496132011-09-09 Ulrich Drepper <drepper@gmail.com>
49614
f19009c1
UD
49615 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
49616 instead of 0.
49617 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 49618 instead of 0.
f19009c1
UD
49619 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49620 Patch in part by Pavel Roskin <proski@gnu.org>.
49621
3f8cc204
UD
49622 [BZ #13138]
49623 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
49624 realloc.
49625 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
49626 Free memory block if necessary.
49627
f22e1074
UD
49628 [BZ #12847]
49629 * libio/genops.c (INTDEF): For string streams the _lock pointer can
49630 be NULL. Don't lock in this case.
49631
0a2349f9
RM
496322011-09-09 Roland McGrath <roland@hack.frob.com>
49633
49634 * elf/elf.h (ELFOSABI_GNU): New macro.
49635 (ELFOSABI_LINUX): Define to that.
49636
f3cdd467
DZ
496372011-07-29 Denis Zaitceff <zaitceff@gmail.com>
49638
49639 * string/strncat.c (strncat): Undef the symbol in case it has been
49640 defined in bits/string.h.
49641
74718d13
UD
496422011-09-09 Ulrich Drepper <drepper@gmail.com>
49643
633e9e0f
UD
49644 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
49645
0a2349f9 49646 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
49647 link map.
49648
f9924780
AJ
496492011-08-17 Andreas Jaeger <aj@suse.de>
49650
49651 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
49652
7f5517aa
PP
496532011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
49654 Ian Lance Taylor <iant@google.com>
49655
49656 * math/libm-test.inc (lround_test): New testcase.
49657 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
49658
762011fe
UD
496592011-09-08 Ulrich Drepper <drepper@gmail.com>
49660
92963737
UD
49661 * Makefile: Remove support for automatic cvs check-ins.
49662 * Makerules: Likewise.
49663 * config.make.in: Likewise.
49664 * configure.in: Likewise.
49665 * intl/Makefile: Likewise.
49666 * locale/Makefile: Likewise.
49667 * po/Makefile: Likewise.
49668 * posix/Makefile: Likewise.
49669 * sysdeps/gnu/Makefile: Likewise.
49670 * sysdeps/mach/hurd/Makefile: Likewise.
49671 * sysdeps/sparc/sparc32/Makefile: Likewise.
49672
b0727fd8
JS
49673 [BZ #13118]
49674 * posix/Makefile (bug-regex32-ENV): Define.
49675 Patch by John Stanley <jpsinthemix@verizon.net>.
49676
a0f33f99
UD
49677 * misc/Makefile (headers): Add bits/select2.h.
49678 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
49679 * misc/bits/select2.h: New file.
49680 * include/bits/select2.h: New file.
49681 * debug/Makefile (routines): Add fdelt_chk.
49682 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
49683 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
49684 FD_ISSET.
49685 * debug/fdelt_chk.c: New file.
49686
762011fe
UD
49687 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
49688 * wcsmbs/test-wmemcmp.c: Likewise.
49689 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 49690 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
49691
496922011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49693
49694 * string/Makefile (strop-tests): Add memcmp.
49695 * string/test-wmemcmp.c: New file.
49696 * string/test-memcmp.c: Add wmemcmp support.
49697
7f513ec8
RM
496982011-09-08 Roland McGrath <roland@hack.frob.com>
49699
0442afb4
RM
49700 [BZ #13153]
49701 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
49702 2011-07-19 change.
49703
7f513ec8
RM
49704 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
49705 garbage value in a __mach_port_mod_refs call in the cases of the
49706 task-self and thread-self ports.
49707
a12b2239
ST
497082011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49709
49710 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
49711
610f9ab4
AS
497122011-09-08 Andreas Schwab <schwab@redhat.com>
49713
7f513ec8 49714 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 49715
48882a1a
LD
497162011-09-07 Ulrich Drepper <drepper@gmail.com>
49717
b49865be
UD
49718 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
49719
fdc86bc9
UD
49720 * elf/dl-libc.c (dlerror_run): Pass back error code from
49721 dl_catch_error.
49722
c966526a
UD
49723 [BZ #13123]
49724 * elf/dl-load.c (lose): Free l_origin if it is valid.
49725
48882a1a
LD
49726 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
49727 names.
49728 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
49729 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49730 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49731 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49732 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
49733 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
49734
77a2a8b4
AZ
497352011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49736
49737 * sysdeps/powerpc/fpu/e_hypot.c: New file.
49738 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
49739 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
49740 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
49741 * sysdeps/powerpc/fpu/k_cosf.c: New file.
49742 * sysdeps/powerpc/fpu/k_sinf.c: New file.
49743 * sysdeps/powerpc/fpu/s_cosf.c: New file.
49744 * sysdeps/powerpc/fpu/s_sinf.c: New file.
49745 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
49746 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
49747
24f579d8
AM
497482011-08-15 Alan Modra <amodra@gmail.com>
49749
49750 [BZ #13092]
49751 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
49752 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
49753 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
49754 ppc_mcount to static-only-routines.
49755 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
49756 __mcount_internal.
49757 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
49758 __mcount_internal with usual JUMPTARGET. Remove useless nop.
49759
3d4837df
UD
497602011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
49761
49762 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
49763 for finite and infinity parameters.
49764
22700377
WS
497652011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49766
49767 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
49768 and add nop instructions for throughput optimization.
49769 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49770
5025581e
WS
497712011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
49772
49773 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
49774 aligned copy for power7 with vector-scalar instructions.
49775 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49776
08a300c9
L
497772011-07-24 H.J. Lu <hongjiu.lu@intel.com>
49778
49779 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
49780 AVX check.
49781
59178ef9
AS
497822011-09-07 Andreas Schwab <schwab@redhat.com>
49783
49784 [BZ #13144]
49785 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
49786 last change.
49787
e38ba7ab
UD
497882011-09-07 Ulrich Drepper <drepper@gmail.com>
49789
49790 * sysdeps/unix/sysv/linux/x86_64/init-first.c
49791 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
49792 syscall wrapper around clock_gettime in __vdso_clock_gettime.
49793 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
49794 clock_gettime.
49795
d53a73ac
UD
497962011-09-06 Ulrich Drepper <drepper@gmail.com>
49797
fc8bffcc
UD
49798 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
49799 Forgot to demangle the pointer.
49800
ceaa0c5d
UD
49801 * sysdeps/i386/sysdep.h: Define atom_text_section.
49802 * sysdeps/x86_64/sysdep.h: Likewise.
49803 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
49804 section with atom_text_section.
49805 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49806 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49807 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
49808 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49809 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
49810
a77d3c17
UD
49811 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
49812 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
49813 already be defined. Change to take two parameters and don't assign
49814 result to variable. Adjust all users.
49815 Define INTERNAL_GETTIME if not already defined.
49816 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
49817 call.
49818 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
49819 HAVE_CLOCK_GETTIME_VSYSCALL.
49820 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
49821
d53a73ac
UD
49822 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
49823 gettimeofday vsyscall, just use time.
49824
a8f84144
AS
498252011-09-06 Andreas Schwab <schwab@redhat.com>
49826
49827 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
49828 <errno.h>.
49829
ef606249
UD
498302011-09-06 Ulrich Drepper <drepper@gmail.com>
49831
49832 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
49833 syscall on x86-64.
49834 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
49835 syscall.
49836 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
49837 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
49838 syscall if possible.
49839
6585cb60
UD
498402011-09-05 Ulrich Drepper <drepper@gmail.com>
49841
49842 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
49843 e_ident. Don't pass to find_mapsXX.
49844 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
49845
a5f524e4
LD
498462011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49847
49848 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49849 strchr-sse2-no-bsf strrchr-sse2-no-bsf
49850 * sysdeps/x86_64/multiarch/strchr.S: Update.
49851 Check bit_slow_BSF bit.
49852 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49853 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
49854 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
49855
554881ef
UD
498562011-09-05 Ulrich Drepper <drepper@gmail.com>
49857
d96de963
UD
49858 [BZ #13134]
49859 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
49860 before glibc 2.15.
49861 (tryshell): Define.
49862 (__spawni): Change last parameter to be flag. Test
49863 SPAWN_XFLAGS_USE_PATH flag to use path or not.
49864 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
49865 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
49866 * posix/spawni.c: Likewise.
49867 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
49868 * posix/spawnp.c: Likewise. Change normal version to use
49869 SPAWN_XFLAGS_USE_PATH.
49870 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
49871 SPAWN_XFLAGS_TRY_SHELL.
49872
d48e5868
UD
49873 [BZ #13150]
49874 * posix/glob.h: Remove gcc 1.x support.
49875
554881ef
UD
49876 [BZ #13068]
49877 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
49878
693fb948
LD
498792011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49880
49881 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49882 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
49883 strrchr-sse2-bsf
49884 * sysdeps/i386/i686/multiarch/strchr.S: New file.
49885 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
49886 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
49887 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
49888 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
49889 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
49890
1b48c537
UD
498912011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49892
49d42c37
UD
49893 * sysdeps/x86_64/wcscmp.S: New file.
49894
1b48c537
UD
49895 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
49896 wcscmp-c wcscmp-sse2
49897 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
49898 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
49899 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
49900 * wcsmbs/wcscmp.c: Allow renaming.
49901
15c95c5d
DM
499022011-09-05 David S. Miller <davem@davemloft.net>
49903
49904 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
49905 stack slot, rather than the struct return pointer slot.
49906 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
49907 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
49908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
49909 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
49910
2f0ad8f3
UD
499112011-09-05 Ulrich Drepper <drepper@gmail.com>
49912
d88ae418
UD
49913 * po/ja.po: Update from translation team.
49914
2f0ad8f3
UD
49915 [BZ #13144]
49916 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
49917 kernel in 64-bit binaries.
49918
5f4318d1
DM
499192011-09-01 David S. Miller <davem@davemloft.net>
49920
49921 * elf/elf.h (HWCAP_SPARC_*): Move to..
49922 * sysdeps/sparc/sysdep.h: this new file and add new values.
49923 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
49924 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
49925 _DL_HWCAP_COUNT to 24.
49926 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
49927 entries.
49928 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
49929 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
49930 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
49931 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
49932 instead of magic constants.
49933 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49934
3ba57516
DM
499352011-08-31 David S. Miller <davem@davemloft.net>
49936
49937 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
49938 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
49939 Reimplement to do errno handling inline.
49940 (SYSCALL_ERROR_HANDLER): New macro.
49941 (__SYSCALL_STRING): Do not do errno handling in asm.
49942 (__CLONE_SYSCALL_STRING): Delete.
49943 (__INTERNAL_SYSCALL_STRING): Delete.
49944 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
49945 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
49946 (PSEUDO): Reimplement to do errno handling inline.
49947 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
49948 (SYSCALL_ERROR_HANDLER): New macro.
49949 (__SYSCALL_STRING): Do not do errno handling in asm.
49950 (__CLONE_SYSCALL_STRING): Delete.
49951 (__INTERNAL_SYSCALL_STRING): Delete.
49952 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
49953 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
49954 i386.
49955 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
49956 (inline_syscall*): Add 'err' argument.
49957 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
49958 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
49959 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
49960 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
49961
49962 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
49963 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49964
2bc17433
AS
499652011-08-30 Andreas Schwab <schwab@redhat.com>
49966
49967 * elf/rtld.c (dl_main): Relocate objects in dependency order.
49968
fbeb5f4d
JO
499692011-08-29 Jiri Olsa <jolsa@redhat.com>
49970
49971 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
49972 directive.
49973
ad69cc26
DM
499742011-08-24 David S. Miller <davem@davemloft.net>
49975
49976 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
49977
39dd69df
AS
499782011-08-24 Andreas Schwab <schwab@redhat.com>
49979
49980 * elf/Makefile: Add rules to build and run unload8 test.
49981 * elf/unload8.c: New file.
49982 * elf/unload8mod1.c: New file.
49983 * elf/unload8mod1x.c: New file.
49984 * elf/unload8mod2.c: New file.
49985 * elf/unload8mod3.c: New file.
49986
49987 * elf/dl-close.c (_dl_close_worker): Reset private search list if
49988 it wasn't used.
49989
2c0b250a
DM
499902011-08-23 David S. Miller <davem@davemloft.net>
49991
49992 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
49993 subtract stack bias.
49994 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
49995 %sp not %fp in calculations.
49996 (_JMPBUF_UNWINDS_ADJ): Likewise.
49997
22044b48
DM
49998 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
49999 (aio_suspend): Call it to force an exception region around the
50000 AIO_MISC_WAIT() invocation.
50001
2cae4995
AS
500022011-08-23 Andreas Schwab <schwab@redhat.com>
50003
50004 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
50005 backslash.
50006
873a772e
AJ
500072011-07-04 Aurelien Jarno <aurelien@aurel32.net>
50008
50009 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
50010 protection macro.
50011 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
50012 and <dl-machine.h>.
50013 (Elf64_FuncDesc): Remove.
50014
25ad0df1
DM
500152011-08-22 David S. Miller <davem@davemloft.net>
50016
50017 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
50018 sigaltstack check, add missing cfi directives.
50019 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
50020 missing cfi directives, and sigaltstack handling.
50021
e888bcbe
AS
500222011-08-16 Andreas Schwab <schwab@redhat.com>
50023
50024 [BZ #11724]
50025 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
50026 object is seen twice.
50027 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50028
50029 * elf/Makefile (distribute): Add tst-initorder2.c.
50030 (tests): Add tst-initorder2.
50031 (modules-names): Add tst-initorder2a tst-initorder2b
50032 tst-initorder2c tst-initorder2d. Add rules to build them.
50033 ($(objpfx)tst-initorder2.out): New rule.
50034 * elf/tst-initorder2.c: New file.
50035 * elf/tst-initorder2.exp: New file.
50036
87162f46
AS
500372011-08-22 Andreas Schwab <schwab@redhat.com>
50038
70538b7f
AS
50039 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
50040
f55ffe58
AS
50041 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
50042 dependencies back to end of function.
50043
87162f46
AS
50044 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50045 $(elfobjdir)/ld.so.
50046
91b392a4
UD
500472011-08-21 Ulrich Drepper <drepper@gmail.com>
50048
50049 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
50050 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
50051 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
50052 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
50053 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
50054 of __vdso_gettimeofday.
50055 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
50056 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
50057 attribute_hidden.
50058 (_libc_vdso_platform_setup): Remove initialization of
50059 __vdso_gettimeofday and __vdso_time.
50060
5c43483f
UD
500612011-08-20 Ulrich Drepper <drepper@gmail.com>
50062
775a77e7
UD
50063 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
50064 and fgetc_unlocked.
50065 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
50066 getc_unlocked.
89f447ed 50067
49c74ba9
UD
50068 * elf/dl-open.c (add_to_global): Report additions to the global scope
50069 for LD_DEBUG=scopes.
50070 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 50071 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 50072
5c43483f
UD
50073 [BZ #13114]
50074 * stdio-common/Makefile (tests): Add bug24.
50075 * stdio-common/bug24.c: New file.
50076
a101b025
AJ
500772011-08-19 Andreas Jaeger <aj@suse.de>
50078
50079 [BZ #13114]
50080 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
50081 non-existant file when using close-on-exec mode.
50082
c88f1766
UD
500832011-08-20 Ulrich Drepper <drepper@gmail.com>
50084
0276a718
UD
50085 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
50086 the very first instruction.
50087
c88f1766
UD
50088 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
50089 the CFI state in the end.
50090 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
50091 inclusion of dl-trampoline.h.
50092 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
50093
51ccffa0
AS
500942011-08-19 Andreas Schwab <schwab@redhat.com>
50095
94d7165f
AS
50096 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
50097 expectations for long double.
50098
51ccffa0
AS
50099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
50100 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
50101
fd708658 501022011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
50103
50104 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
50105 artificual limit depends upon the system page size.
50106
44f0a71e
UD
501072011-08-17 Ulrich Drepper <drepper@gmail.com>
50108
50109 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
50110 * resolv/Makefile: Define CFLAGS-libresolv.
50111
8de79a24
AS
501122011-08-17 Andreas Schwab <schwab@redhat.com>
50113
50114 * nss/makedb.c (compute_tables): Make variables used in nested
50115 function static.
50116
27724598
UD
501172011-08-17 Ulrich Drepper <drepper@gmail.com>
50118
c5305d88
UD
50119 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
50120 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
50121 if buffer was too small.
50122
27724598
UD
50123 * elf/pldd.c (main): Attach to all threads in the process.
50124 Rewrite /proc handling to use *at functions.
50125
076fe015
UD
501262011-08-16 Ulrich Drepper <drepper@gmail.com>
50127
174baab3
UD
50128 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
50129 specifies first scope to show.
50130 (dl_open_worker): Update callers. Move printing scope of new
50131 object to before the relocation.
44f0a71e 50132 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
50133 * sysdeps/generic/ldsodefs.h: Update declaration.
50134
076fe015
UD
50135 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
50136 string for the scope number.
50137
a60df2c3
UD
501382011-08-14 Ulrich Drepper <drepper@gmail.com>
50139
50140 * nscd/servicescache.c (cache_addserv): Make sure written is always
50141 initialized.
50142
5e4287d1
RM
501432011-08-14 Roland McGrath <roland@hack.frob.com>
50144
85ae0589
RM
50145 * sysdeps/i386/i486/bits/atomic.h
50146 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
50147 statement expression, so as to suppress "set but not used" warning.
50148 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
50149
69f63097
RM
50150 * string/strncat.c (STRNCAT): Use prototype definition.
50151
675456ef
RM
50152 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
50153 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
50154 -Iprograms here.
50155 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
50156 (localedef-modules): Add localedef.
50157 (locale-modules): Add locale.
50158
5e4287d1
RM
50159 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
50160 * elf/rtld.c (dl_main): Invert order of assignment in last change,
50161 to avoid a warning.
50162
9c96ff23
DM
501632011-08-14 David S. Miller <davem@davemloft.net>
50164
50165 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
50166 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
50167
f9ddf089
UD
501682011-08-13 Ulrich Drepper <drepper@gmail.com>
50169
44f0a71e 50170 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
50171 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
50172 * elf/rtld.c (dl_main): Set l_name of vDSO.
50173 Call _dl_show_scope when DL_DEBUG_SCOPES.
50174 (process_dl_debug): Recognize scopes flag and also set it for all.
50175 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
50176 Declare _dl_show_scope.
50177
1dc27704
UD
50178 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
50179 (do_dlopen): Pass caller_dlopen to dl_open.
50180 (__libc_dlopen_mode): Initialize caller_dlopen.
50181
f9ddf089
UD
50182 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
50183 of libc. Make tolower call locale-independent. Optimize a bit by
50184 using isdigit instead of isalnum.
50185 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
50186
9ac533d3
UD
501872011-08-12 Ulrich Drepper <drepper@gmail.com>
50188
50189 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
50190 was a dependency or dynamically loaded.
50191
89edf2e9
UD
501922011-08-11 Ulrich Drepper <drepper@gmail.com>
50193
8e999d29
UD
50194 * intl/l10nflist.c: Allow architecture-specific pop function.
50195 * sysdeps/x86_64/l10nflist.c: New file.
50196
89edf2e9
UD
50197 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
50198 classification.
50199
14d96785
AS
502002011-08-10 Andreas Schwab <schwab@redhat.com>
50201
50202 * include/dirent.h: Add libc_hidden_proto for scandirat and
50203 scandirat64. Don't declare __scandirat64.
50204 * dirent/scandirat.c: Add libc_hidden_def.
50205 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
50206 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
50207
6761ac04
DM
502082011-08-10 David S. Miller <davem@davemloft.net>
50209
50210 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
50211 enum.
50212 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50213 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50214 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50215
c55fbd1e
UD
502162011-08-09 Ulrich Drepper <drepper@gmail.com>
50217
50218 * Versions.def [libc]: Add GLIBC_2.15.
50219 * dirent/Makefile (routines): Add scandirat and scandirat64.
50220 * dirent/Versions [libc]: Export scandirat and scandirat64 for
50221 GLIBC_2.15.
50222 * dirent/dirent.h: Declare scandirat and scandirat64.
50223 * dirent/scandirat.c: New file.
50224 * dirent/scandirat64.c: New file.
50225 * sysdeps/wordsize-64/scandirat.c: New file.
50226 * sysdeps/wordsize-64/scandirat64.c: New file.
50227 * dirent/opendir.c: Define opendirat.
50228 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
50229 using scandirat.
50230 * dirent/scandir64.c: Adjust for scandir.c change.
50231 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
50232 __scandirat64, and __scandir_cancel_handler.
50233 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
50234 additional parameter and use openat instead of open (outside of ld.so).
50235 Add new __opendir as wrapper around __opendirat.
50236 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
50237 here without requiring old scandirat implementation.
50238
879165f2
UD
502392011-08-08 Ulrich Drepper <drepper@gmail.com>
50240
50241 * dirent/scandir.c (cancel_handler): Renamed to
50242 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
50243 defined. Adjust users.
50244 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
50245 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
50246
cb7e923b
UD
502472011-08-04 Ulrich Drepper <drepper@gmail.com>
50248
16292edd
UD
50249 * string/test-string.h (IMPL): Use __STRING to expand name and then
50250 stringify it.
50251
cb7e923b
UD
50252 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
50253 of cleanups.
50254
cff82933
LD
502552011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50256
50257 * string/Makefile: Update.
50258 (strop-tests): Append strncat.
50259 * string/test-wcscmp.c: New file.
50260 New comprehensive test for wcscmp.
50261 * string/test-strcmp.c: Update.
50262 (WIDE): New define.
50263
9be9bfcc
AS
502642011-07-22 Andreas Schwab <schwab@redhat.com>
50265
50266 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
50267 line.
50268
2e96f1c7
AS
502692011-07-26 Andreas Schwab <schwab@redhat.com>
50270
50271 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50272 encoding to ACE if AI_IDN.
50273
85188888
JJ
502742011-08-01 Jakub Jelinek <jakub@redhat.com>
50275
50276 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
50277 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
50278
5fa16e9b
LD
502792011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50280
50281 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
50282 Fix overflow bug in strncat.
50283 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
50284
50285 * string/test-strncat.c: Update.
50286 Add new tests for checking overflow bugs.
50287
502882011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50289
50290 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50291 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
50292 * sysdeps/i386/i686/multiarch/strcat.S: New file.
50293 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
50294 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
50295 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
50296 * sysdeps/i386/i686/multiarch/strncat.S: New file.
50297 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
50298 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
50299
50300 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
50301 (USE_AS_STRCAT): Define.
50302 Add strcat and strncat support.
50303 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50304
8c1a459f
AS
503052011-07-25 Andreas Schwab <schwab@redhat.com>
50306
50307 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
50308 __n bigger than INT_MAX+1.
50309 (__strncmp_g): Likewise.
50310
bba33c28
UD
503112011-07-23 Ulrich Drepper <drepper@gmail.com>
50312
798be72d
UD
50313 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
50314 * libio/stido.h: Likewise.
50315
8accd4dc
UD
50316 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
50317 (AF_NFC): Define.
50318 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
50319 (AF_NFC): Define.
50320
cbff0d96
UD
50321 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
50322 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50323 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50324 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
50325 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50326
9191c04a
UD
50327 [BZ #13021]
50328 * scripts/test-installation.pl: Don't expect libnss_test1 to be
50329 installed.
50330
bba33c28
UD
50331 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
50332 typo.
50333 (_dl_x86_64_save_sse): Likewise.
50334
90f139dd
UD
503352011-07-22 Ulrich Drepper <drepper@gmail.com>
50336
1aae088a
UD
50337 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
50338 OSXSAVE.
50339 (_dl_x86_64_save_sse): Likewise.
50340
8e2045f5
UD
50341 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
50342
90f139dd
UD
50343 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
50344
1d002f25
AS
503452011-07-21 Andreas Schwab <schwab@redhat.com>
50346
50347 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
50348 change.
50349 (_dl_x86_64_save_sse): Use correct AVX check.
50350
21137f89
UD
503512011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50352
50353 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
50354 bug in strncpy/strncat.
50355 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
50356
a65c0b7a
UD
503572011-07-21 Ulrich Drepper <drepper@gmail.com>
50358
50359 * string/tester.c (test_strcat): Add tests for different alignments
50360 of source and destination.
50361 (test_strncat): Likewise.
50362
6986b98a
UD
503632011-07-20 Ulrich Drepper <drepper@gmail.com>
50364
90bb2039
UD
50365 [BZ #12852]
50366 * posix/glob.c (glob): Check passed in values before using them in
50367 expressions to avoid some overflows.
50368 (glob_in_dir): Likewise.
50369
5644ef54
UD
50370 [BZ #13007]
50371 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
50372 check for AVX enablement so that we don't crash with old kernels and
50373 new hardware.
50374 * elf/tst-audit4.c: Add same checks here.
50375 * elf/tst-audit6.c: Likewise.
50376
50377 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 50378
bfc9dc9b
AS
503792011-07-09 Andreas Schwab <schwab@linux-m68k.org>
50380
50381 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
50382
702e64bb
UD
503832011-07-20 Ulrich Drepper <drepper@gmail.com>
50384
50385 * po/cs.po: Update from translation team.
50386 * po/bg.po: Likewise.
50387
295e904f
MP
503882011-07-12 Marek Polacek <mpolacek@redhat.com>
50389
50390 * misc/sys/cdefs.h: Add support for const attribute.
50391 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
50392 to gnu_dev_{major,minor,makedev} functions.
50393
3ff94596
MP
503942011-07-20 Marek Polacek <mpolacek@redhat.com>
50395
50396 * intl/dcigettext.c (get_output_charset): Add missing bracket.
50397
28b59fca
AS
503982011-07-20 Andreas Schwab <schwab@redhat.com>
50399
50400 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
50401 strlen results.
50402
19df733e
AK
504032011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50404
50405 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
50406 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
50407 register in order to avoid conflicts with the soft frame pointer
50408 being held in r11 when necessary.
50409 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
50410 (INTERNAL_VSYSCALL_NCS): Likewise.
50411
c8835729
MP
504122011-07-14 Marek Polacek <mpolacek@redhat.com>
50413
50414 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
50415 * elf/dl-fini.c (_dl_fini): Adjust caller.
50416 * elf/dl-close.c (_dl_close_worker): Likewise.
50417 * sysdeps/generic/ldsodefs.h: Adjust declaration.
50418
b902330c
MP
504192011-07-15 Marek Polacek <mpolacek@redhat.com>
50420
8991e135
MP
50421 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
50422 "aux_cache->nlibs < 0".
50423
b902330c
MP
50424 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
50425 in the reload-count case.
50426
99710781
LD
504272011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50428
50429 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50430 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
50431 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
50432 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
50433 * sysdeps/x86_64/multiarch/strcat.S: New file.
50434 * sysdeps/x86_64/multiarch/strncat.S: New file.
50435 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
50436 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
50437 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
50438 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
50439 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
50440 (USE_AS_STRCAT): Define.
50441 Add strcat and strncat support.
50442 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50443 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
50444 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
50445 * string/strncat.c: Update.
50446 (USE_AS_STRNCAT): Define.
50447 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50448 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
50449 and i7.
50450 * sysdeps/x86_64/multiarch/init-arch.h
50451 (bit_Prefer_PMINUB_for_stringop): New.
50452 (index_Prefer_PMINUB_for_stringop): Likewise.
50453 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
50454 bit_Prefer_PMINUB_for_stringop.
50455
7dc6bd90
UD
504562011-07-19 Ulrich Drepper <drepper@gmail.com>
50457
50458 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
50459 buffer64.
50460 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
50461 of casting of buffer.
50462 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
50463 buffer32 and buffer64.
50464 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
50465 writes instead of casting of buffer.
50466 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
50467 buffer32.
50468 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
50469 casting of buffer.
50470
e0e72284
AS
504712011-07-19 Andreas Schwab <schwab@redhat.com>
50472
50473 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
50474
feb1eb0b
UD
504752011-07-19 Ulrich Drepper <drepper@gmail.com>
50476
50477 * nscd/nscd.c (termination_handler): Don't do anything for a database
50478 if it has not yet been initialized.
50479
298711ff
UD
504802011-07-18 Ulrich Drepper <drepper@gmail.com>
50481
50482 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50483
504842011-07-15 Marek Polacek <mpolacek@redhat.com>
50485
50486 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50487
f9d68389
UD
504882011-07-18 Ulrich Drepper <drepper@gmail.com>
50489
50490 * po/nl.po: Update from translation team.
50491 * po/sv.po: Likewise.
50492
db290cf5
RM
504932011-07-16 Roland McGrath <roland@hack.frob.com>
50494
50495 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
50496 now disallowed by GCC.
5c550700 50497
fd5e21c7
RM
50498 * configure.in (use-default-link): Default to yes if a test -shared
50499 link meets our qualifications.
50500 * configure: Regenerated.
50501
5c550700
RM
50502 * config.make.in (output-format): New variable.
50503 * configure.in: Check for ld --print-output-format support.
50504 * configure: Regenerated.
50505 * Makerules ($(common-objpfx)format.lds)
50506 [$(output-format) != unknown]: Just use $(output-format),
50507 instead of the linker-script munging.
50508
9fa2c032
RM
505092011-07-14 Roland McGrath <roland@hack.frob.com>
50510
a6928d51
RM
50511 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
50512 of $(common-objpfx)shlib.lds.
50513 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
50514
661607b3
RM
50515 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
50516 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
50517
9fa2c032
RM
50518 * configure.in (-z relro check): Adjust test code to add a large
50519 writable data section after it.
50520 * configure: Regenerated.
50521
defe9061
RM
505222011-07-11 Roland McGrath <roland@hack.frob.com>
50523
50524 * configure.in (-z relro check): Fix test code to make the variable
50525 truly const.
50526 * configure: Regenerated.
50527
319b9ad4
UD
505282011-07-11 Ulrich Drepper <drepper@gmail.com>
50529
50530 * nscd/nscd.h (struct traced_file): Define.
50531 (struct database_dyn): Remove inotify_descr, reset_res, and filename
50532 elements. Add traced_files.
50533 (inotify_fd): Declare.
50534 (register_traced_file): Declare.
50535 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
50536 (inotify_fd): Export.
50537 (resolv_conf_descr): Remove.
50538 (nscd_init): Move inotify descriptor creation to main.
50539 Don't register files for notification here.
50540 (register_traced_file): New function.
50541 (invalidate_cache): Don't use reset_res to determine whether to call
50542 res_init, go through the list of registered files.
50543 (main_loop_poll): The inotify descriptors are now stored in the
50544 structures for the traced files.
50545 (main_loop_epoll): Likewise
50546 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
50547 to __nss_disable_nscd.
50548 * nscd/cache.c (prune_cache): There is no single inotify descriptor
50549 for a database anymore. Check the records for all the registered
50550 files instead.
50551 * nss/Makefile (libnss_files-routines): Add files-init.
50552 (libnss_db-routines): Add db-init.
50553 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
50554 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
50555 * nss/nss_db/db-init.c: New file.
50556 * nss/nss_files/files-init.c: New file.
50557 * nss/nsswitch.c (nss_load_library): New function. Broken out of
50558 __nss_lookup_function.
50559 (__nss_lookup_function): Call nss_load_library.
50560 (nss_load_all_libraries): New function.
50561 (__nss_disable_nscd): Take parameter with callback function for files
50562 to register. Set is_nscd. Load all the DSOs for the NSS modules
50563 used for the cached services.
50564 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
50565 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
50566 options for features to all the files in nscd.
50567
50568 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
50569
23bee3e8
RM
505702011-07-10 Roland McGrath <roland@hack.frob.com>
50571
50572 * csu/elf-init.c (__libc_csu_init): Comment typo.
50573
46a5b7f0
UD
505742011-07-09 Ulrich Drepper <drepper@gmail.com>
50575
50576 * po/pl.po: Update from translation team.
50577 * po/ja.po: Likewise.
50578 * po/ru.po: Likewise.
50579 * po/ko.po: Likewise.
50580 * po/fr.po: Likewise.
50581
d30cf5bb
RM
505822011-07-09 Roland McGrath <roland@hack.frob.com>
50583
113ddea4
RM
50584 * configure.in (.ctors/.dtors header and trailer check):
50585 Use an empirical test on a built program.
50586 * configure: Regenerated.
50587
574920b4
RM
50588 * configure.in (-z relro check): Use an empirical test on a built DSO.
50589 Detect, but do not require, on ia64.
50590 * configure: Regenerated.
50591
d30cf5bb
RM
50592 * configure.in (READELF): Find it with AC_CHECK_TOOL.
50593 Update tests that use readelf to use $READELF instead.
50594 * configure: Regenerated.
50595
8538fdb3
UD
505962011-07-08 Ulrich Drepper <drepper@gmail.com>
50597
50598 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
50599 if the result is not used.
50600
04d08991
AJ
506012011-07-05 Andreas Jaeger <aj@suse.de>
50602
50603 [BZ#9696]
50604 * stdlib/tst-strtod.c: Add testcase.
50605
de283087
AD
506062011-07-07 Ulrich Drepper <drepper@gmail.com>
50607
4e5f31c8 50608 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 50609 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
50610 The latter has a higher limit. Take additional parameter to pass to
50611 the new function.
50612 (__pathconf): Pass file to __statfs_link_max.
50613 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
50614 __statfs_link_max.
50615 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
50616 __statfs_link_max.
50617
de283087
AD
50618 [BZ #12868]
50619 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
50620 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50621 Handle Lustre.
50622 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
50623 (__statfs_filesize_max): Likewise.
50624 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
50625
c75fa153
AJ
506262011-07-05 Andreas Jaeger <aj@suse.de>
50627
50628 * resolv/res_comp.c (dn_skipname): Remove unused variable.
50629
1a544854
UD
506302011-07-06 Marek Polacek <mpolacek@redhat.com>
50631
50632 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
50633 `status' variable.
50634 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
50635 Likewise.
50636
6f0eec67
UD
506372011-07-04 H.J. Lu <hongjiu.lu@intel.com>
50638
50639 * Makefile (strop-tests): Add strncat.
50640 * string/test-strncat.c: New file.
50641
aae30307
UD
506422011-06-30 Marek Polacek <mpolacek@redhat.com>
50643
50644 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
50645
c0cfb5eb
UD
506462011-06-21 Andreas Jaeger <aj@suse.de>
50647
50648 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
50649 Copy rule from iconvdata/Makefile.
50650
01636b21
UD
506512011-07-06 Ulrich Drepper <drepper@gmail.com>
50652
50653 [BZ #12922]
50654 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
50655 but no long options are defined, just return 'W'.
50656
9895c8bc
UD
506572011-06-22 Marek Polacek <mpolacek@redhat.com>
50658
50659 [BZ #9696]
50660 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
50661
5d4cf042
UD
506622011-07-06 Ulrich Drepper <drepper@gmail.com>
50663
50664 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
50665 netgroups to read.
960e5535 50666 (innetgr): Likewise.
5d4cf042 50667
751eb97e
RM
506682011-07-05 Roland McGrath <roland@hack.frob.com>
50669
50670 * config.make.in (install_root): Default to $(DESTDIR).
50671
f15f1e45
UD
506722011-07-05 Ulrich Drepper <drepper@gmail.com>
50673
50674 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
50675
4e34ac6a
RM
506762011-07-02 Roland McGrath <roland@hack.frob.com>
50677
5e9b6af4
RM
50678 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
50679
84f9ea0f
RM
50680 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
50681 containing directory rather than embedding absolute directory names.
50682
ea5ee9f7
RM
50683 * scripts/check-local-headers.sh: Rewritten using awk.
50684 Match by word, not by line. Print error messages for matches.
50685 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
50686
1b74661a
RM
50687 * Makerules [shlib-lds-flags empty]:
50688 ($(common-objpfx)libc_pic.opts): New target.
50689 ($(common-objpfx)libc_pic.os.clean): New target.
50690 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
50691
50692 * config.make.in (OBJCOPY): New variable.
50693 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
50694 * configure: Regenerated.
50695
f781ef40
RM
50696 * config.make.in (use-default-link): New variable.
50697 * configure.in (use_default_link): Grok --with-default-link to set it.
50698 * configure: Regenerated.
50699 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
50700 (shlib-lds, shlib-lds-flags): Define to empty.
50701
2d4fa81e
RM
50702 * Makerules (shlib-lds): New variable.
50703 (shlib-lds-flags): New variable.
50704 (build-shlib, build-moduile, build-module-asneeded): Use it.
50705 ($(common-objpfx)libc.so): Use $(shlib-lds).
50706 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
50707 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
50708
31fffa6b
RM
50709 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
50710 DT_FLAGS/DT_FLAGS_1 with zero flags.
50711
4e34ac6a
RM
50712 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
50713 linker script munging.
50714
fcfc776b
UD
507152011-07-02 Ulrich Drepper <drepper@gmail.com>
50716
50717 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
50718 as 128-bit value.
50719 * crypt/sha512.c (sha512_process_block): Perform total addition using
50720 128-bit if possible.
50721 (__sha512_finish_ctx): Likewise.
50722 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
50723 as 64-bit value.
50724 * crypt/sha256.c (SWAP64): Define.
50725 (sha256_process_block): Perform total addition using 64-bit if
50726 possible.
50727 (__sha256_finish_ctx): Likewise.
50728
99231d9a
UD
507292011-07-01 Ulrich Drepper <drepper@gmail.com>
50730
50731 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
50732 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50733 * nscd/hstcache.c (cache_addhst): Likewise.
50734 * nscd/grpcache.c (cache_addgr): Likewise.
50735 * nscd/aicache.c (addhstaiX): Likewise
50736 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
50737
445b4a53
TK
507382011-07-01 Thorsten Kukuk <kukuk@suse.de>
50739
50740 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
50741 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50742 * nscd/hstcache.c (cache_addhst): Likewise.
50743 * nscd/grpcache.c (cache_addgr): Likewise.
50744 * nscd/aicache.c (addhstaiX): Likewise
50745
6d4d8e8e
AS
507462011-07-01 Andreas Schwab <schwab@redhat.com>
50747
50748 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
50749 domain only when needed.
50750
89f654c5
AS
507512011-06-30 Andreas Schwab <schwab@redhat.com>
50752
50753 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
50754 is always restored.
50755
cf3b23ff
UD
507562011-06-29 Ulrich Drepper <drepper@gmail.com>
50757
50758 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
50759 are re-adding the entry.
50760 * nscd/servicescache.c (cache_addserv): Likewise.
50761
751626f9
AJ
507622011-06-30 Aurelien Jarno <aurelien@aurel32.net>
50763
50764 * sysdeps/generic/dl-irel.h: fix protection against multiple
50765 inclusions.
50766 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
50767
9113ea1f
UD
507682011-06-28 Ulrich Drepper <drepper@gmail.com>
50769
5c0b8d90
UD
50770 [BZ #12935]
50771 * malloc/memusage.sh: Fix quoting in message.
50772 * debug/xtrace.sh: Likewise.
50773
9113ea1f
UD
50774 * configure.in: Remove support for --experimental-malloc option, make
50775 it the default.
50776 * config.make.in: Likewise.
50777 * malloc/Makefile: Likewise.
50778
a4172181
AS
507792011-06-27 Andreas Schwab <schwab@redhat.com>
50780
50781 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
50782 two-byte characters.
50783
78a7eee7
RM
507842011-06-27 Roland McGrath <roland@hack.frob.com>
50785
62bede13
RM
50786 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
50787 AC_CACHE_CHECK invocation.
50788 * configure: Regenerated.
50789
78a7eee7
RM
50790 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
50791
5ce33a62
UD
507922011-06-27 Ulrich Drepper <drepper@gmail.com>
50793
034807a9
UD
50794 [BZ #12350]
50795 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
50796 bit from old_res_options.
50797
4902da17
UD
50798 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
50799
5ce33a62
UD
50800 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
50801 value type for setfct.
50802
c2344f56
L
508032011-06-23 H.J. Lu <hongjiu.lu@intel.com>
50804
50805 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50806 __gettimeofday instead of gettimeofday.
50807
68468076
UD
508082011-06-26 Ulrich Drepper <drepper@gmail.com>
50809
50810 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
50811
acb0d739
L
508122011-06-24 H.J. Lu <hongjiu.lu@intel.com>
50813
50814 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
50815
50816 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
50817 info.
50818
8912479f
L
508192011-06-22 H.J. Lu <hongjiu.lu@intel.com>
50820
50821 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50822 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50823 strcpy-sse2-unaligned strncpy-sse2-unaligned
50824 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
50825 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
50826 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
50827 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
50828 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
50829 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
50830 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
50831 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
50832 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
50833 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
50834 (STRCPY): Support SSE2 and SSSE3 versions.
50835
d5495a11
UD
508362011-06-24 Ulrich Drepper <drepper@gmail.com>
50837
50838 [BZ #12874]
50839 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
50840 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
50841 kernels which artificially limit size of requests.
50842
0b1cbaae
L
508432011-06-22 H.J. Lu <hongjiu.lu@intel.com>
50844
50845 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50846 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50847 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
50848 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
50849 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
50850 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
50851 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
50852 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
50853 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
50854 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
50855 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
50856 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
50857 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
50858 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
50859 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
50860 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50861 Enable unaligned load optimization for Intel Core i3, i5 and i7
50862 processors.
50863 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
50864 Define.
50865 (index_Fast_Unaligned_Load): Define.
50866 (HAS_FAST_UNALIGNED_LOAD): Define.
50867
07f494a0
MP
508682011-06-23 Marek Polacek <mpolacek@redhat.com>
50869
50870 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
50871
fa3fc0fe
UD
508722011-06-22 Ulrich Drepper <drepper@gmail.com>
50873
50874 [BZ #12907]
50875 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
50876 until it is clear that the information is realy needed.
50877 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
50878
e12df166
AS
508792011-06-22 Andreas Schwab <schwab@redhat.com>
50880
50881 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
50882
852eb34d
UD
508832011-06-22 Ulrich Drepper <drepper@gmail.com>
50884
84e2a551
UD
50885 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50886 /sys/devices/system/cpu/online if it is usable.
50887
852eb34d
UD
50888 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
50889 reading the information from the /proc filesystem to once a second.
50890
6e502e19
UD
508912011-06-21 Andreas Jaeger <aj@suse.de>
50892
50893 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
50894 NULL after inclusion of kernel headers.
50895
75d39ff2
UD
508962011-06-21 Ulrich Drepper <drepper@gmail.com>
50897
51f9aa6a
UD
50898 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
50899 calls to internal_setent.
50900
c0244a9d
UD
50901 [BZ #12885]
50902 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
50903 addresses using gethostbyname4_r ignore IPv4 addresses.
50904
c5e3c2ae
UD
50905 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
50906 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
50907
75d39ff2
UD
50908 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
50909
42675c6f
DM
509102011-06-20 David S. Miller <davem@davemloft.net>
50911
50912 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
50913 inclusions.
50914 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
50915
50916 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
50917 (elf_irel): Use it.
50918 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
50919 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
50920 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
50921 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
50922 * sysdeps/x86_64/dl-irel.h: Likewise.
50923
50924 * elf/dl-runtime.c: Use elf_ifunc_invoke.
50925 * elf/dl-sym.c: Likewise.
50926
57912a71
UD
509272011-06-15 Ulrich Drepper <drepper@gmail.com>
50928
50929 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
50930 need to dereference resplen2.
50931
ee22793d
AS
509322011-06-14 Andreas Schwab <schwab@redhat.com>
50933
50934 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
50935
a9e836b0
UD
509362011-06-15 Ulrich Drepper <drepper@gmail.com>
50937
77fb9117
UD
50938 * Makeconfig: Define vardbdir and inst_vardbdir.
50939 * nss/Makefile: Add rules to install db-Makefile.
50940
40c1b22c
UD
50941 * nss/nss_db/db-XXX.c: Cleanup.
50942
9f2da732
UD
50943 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
50944 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
50945 GLIBC_PRIVATE.
50946 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
50947 * nss/makedb.c: Implement -g option to specify that value strings
50948 are generated and should not be added to table iterated over for
50949 get*ent calls.
50950 * nss/nss_db/db-initgroups.c: New file.
50951
82e9a1f7
UD
50952 * nss/getent.c: Add support for initgroups lookups through getgrouplist
50953 interface.
50954
c41af17e
UD
50955 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
50956 (internal_getgrouplist): Adjust to name change.
50957 Update use_initgroups_entry if this is not the first call.
50958 * nss/databases.def: Add initgroups entry.
50959
a9e836b0
UD
50960 * nss/makedb.c (compute_tables): Check result of multiple hash table
50961 sizes to minimize maximum chain length.
50962
2666d441
UD
509632011-06-14 Ulrich Drepper <drepper@gmail.com>
50964
50965 * Versions.def: Add entry for libnss_db.
50966 * shlib-versions: Likewise.
50967 * nss/Makefile: Add rules to build libnss_db.
50968 * nss/Versions: Add libnss_db information. Organize libnss_files
50969 entries better.
50970 * nss/db-Makefile: Add gshadow support. Change rules for the new
50971 makedb progra. Some minor improvements to generate smaller files.
50972 * nss/nss_db/nss_db.h: Move NSS database header data structures to
50973 here from...
50974 * nss/makedb.c: ...here.
50975 Improve database format to be smaller and require less memory at
50976 runtime.
50977 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
50978 db anymore.
50979 * nss/nss_db/db-netgrp.c: Likewise.
50980 * nss/nss_db/db-open.c: Likewise.
50981 * nss/nss_files/flies-XXX.x: Adjust comments.
50982 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
50983 * nss/nss_files/files-grp.c: Likewise.
50984 * nss/nss_files/files-hosts.c: Likewise.
50985 * nss/nss_files/files-network.c: Likewise.
50986 * nss/nss_files/files-proto.c: Likewise.
50987 * nss/nss_files/files-pwd.c: Likewise.
50988 * nss/nss_files/files-rpc.c: Likewise.
50989 * nss/nss_files/files-service.c: Likewise.
50990 * nss/nss_files/files-sgrp.c: Likewise.
50991 * nss/nss_files/files-spwd.c: Likewise.
50992 * nss/nss_db/db-alias.c: Removed.
50993 * nss/nss_db/dummy-db.h: Removed.
50994
9ee76b5a
UD
509952011-06-02 Ulrich Drepper <drepper@gmail.com>
50996
50997 * nss/makedb.c: Rewritten to not use database library.
50998 * nss/Makefile: Update to build new makedb program.
50999
c71ca1f8
AJ
510002011-06-14 Andreas Jaeger <aj@suse.de>
51001
51002 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
51003 memset declaration.
51004
3154bfb8
UD
510052011-06-10 Andreas Schwab <schwab@redhat.com>
51006
51007 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
51008 tmpbuf.
51009
b350afab
RM
510102011-06-10 Roland McGrath <roland@hack.frob.com>
51011
decd4e50
RM
51012 * Makerules (shlib.lds): Fail if the linker script comes out empty.
51013 * elf/Makefile ($(objpfx)ld.so): Likewise.
51014
5615eaf2
RM
51015 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
51016 Don't list ld.so twice in dependencies.
51017
51018 * posix/bug-regex31.c: Include <stdlib.h>.
51019
51020 * nscd/hstcache.c (cache_addhst): Remove unused variable.
51021
51022 * nis/nss_compat/compat-spwd.c
51023 (getspent_next_nss_netgr): Remove unused variable.
51024 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
51025
51026 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
51027 nonmembers" output to use the right array.
51028
51029 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
51030
51031 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
51032
51033 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
51034 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
51035 * catgets/gencat.c (read_input_file): Likewise.
51036 * locale/programs/locarchive.c (enlarge_archive): Likewise.
51037
51038 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
51039 variable definition inside #if's controlling its use.
51040
51041 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
51042
51043 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
51044
51045 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
51046
51047 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
51048 unreachable code.
51049
51050 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
51051
b68e08db
RM
51052 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
51053 * configure: Regenerated.
51054
b350afab
RM
51055 * Makerules: Revert last change.
51056 * elf/Makefile: Likewise.
51057
28368601
RM
510582011-06-09 Roland McGrath <roland@hack.frob.com>
51059
51060 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
51061 * elf/Makefile ($(objpfx)librtld.os): Likewise.
51062 (reloc-link): Likewise.
51063
11988f8f
UD
510642011-06-09 Ulrich Drepper <drepper@gmail.com>
51065
51066 * elf/Makefile: Add rules to build pldd.
51067 * elf/pldd.c: New file.
51068 * elf/pldd-xx.c: New file.
51069
e80fab37
UD
510702011-06-07 Ulrich Drepper <drepper@gmail.com>
51071
51072 * version.h: Update for 2.15 development version.
51073
9b849836
DM
510742011-06-07 David S. Miller <davem@davemloft.net>
51075
51076 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
51077 ifuncs.
51078 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
51079 elf_machine_lazy_rel): Likewise.
51080 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
51081 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
51082 elf_machine_lazy_rel): Likewise.
51083 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
51084 dl_hwcap via passed in argument.
51085 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
51086 Likewise.
51087
5a31b283
AK
510882011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51089
51090 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
51091
069e52f8
RM
510922011-06-06 Roland McGrath <roland@hack.frob.com>
51093
51094 [BZ #12849]
51095 * manual/fdl-1.1.texi: New file, verbatim from:
51096 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
51097 * manual/lgpl-2.1.texi: New file, verbatim from:
51098 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
51099 * manual/Makefile (licenses): New variable, list those new file names.
51100 (texis): Use it.
51101 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
51102
51103 * manual/fdl.texi: File removed.
51104 * manual/lesser.texi: File removed.
51105 * manual/libc.texinfo (Copying, Documentation License):
51106 Use new @include file names, put @appendix directive before @include.
51107
f16846a5
JJ
511082011-06-04 Jakub Jelinek <jakub@redhat.com>
51109
51110 [BZ #12841]
51111 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
51112 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
51113 (mq_open): Add __NTH.
51114
3d29045b
L
511152011-06-02 H.J. Lu <hongjiu.lu@intel.com>
51116
51117 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51118 Assume Intel Core i3/i5/i7 processor if AVX is available.
51119
8c297311
UD
511202011-05-31 Ulrich Drepper <drepper@gmail.com>
51121
51122 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51123 typo.
51124
c8fc0c91
UD
511252011-05-31 Andreas Schwab <schwab@redhat.com>
51126
51127 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
51128 memory. Use alloca_account. Fix memory leak when retrying.
51129
5b27a807
UD
511302011-05-31 Ulrich Drepper <drepper@gmail.com>
51131
356f8bc6
UD
51132 * version.h (RELEASE): Bump for 2.14 release.
51133 * include/features.h (__GLIBC_MINOR__): Bump to 14.
51134
5b27a807
UD
51135 * config.make.in (RANLIB): Remove entry.
51136
01f16ab0
UD
511372011-05-30 Ulrich Drepper <drepper@gmail.com>
51138
41fce8bd
UD
51139 * po/Makefile (po-sed-cmd): Add ksh to extensions.
51140 (libc.pot): Work around missing support for .ksh extension in xgettext.
51141
4769ae77
UD
51142 [BZ #12684]
51143 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
51144 if both request failed.
51145 (send_dg): In case of server errors clear resplen or *resplen2.
51146
6b1e7d19
UD
51147 [BZ #12454]
51148 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
51149 when there are multiple maps.
51150 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
51151 (_dl_fini): Remove test here.
51152
01f16ab0
UD
51153 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
51154
b1ebd700
UD
511552011-05-29 Ulrich Drepper <drepper@gmail.com>
51156
7ae22829
UD
51157 [BZ #12350]
51158 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
51159 bit from old_res_options.
51160 (gaih_inet): Likewise.
51161
553149f6 51162 [BZ #11099]
18a84741 51163 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
51164 as signed.
51165
652ffab1
UD
51166 * resolv/res_init.c (res_setoptions): Make the code more compact.
51167
16985fd0
UD
51168 [BZ #11558]
51169 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
51170 set RES_USEVC.
51171
0464f746
UD
51172 [BZ #11634]
51173 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
51174
7d17596c
UD
51175 * malloc/malloc.h: Mark malloc hook variables as deprecated.
51176
cf6bbbd7
UD
51177 [BZ #11781]
51178 * malloc/malloc.h: Declare malloc hook variables as volatile.
51179
13f1ab36
UD
51180 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
51181 in last patch.
51182
b1ebd700
UD
51183 [BZ #11799]
51184 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 51185 raise in the comment.
80e2212d
UD
51186 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51187 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51188 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 51189
ce67228d
UD
511902011-05-28 Ulrich Drepper <drepper@gmail.com>
51191
8887a920
UD
51192 [BZ #12811]
51193 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
51194 grow the buffers more if it already has to be sufficient.
51195 (build_wcs_upper_buffer): Likewise.
51196 * posix/regexec.c (check_matching): Likewise.
51197 (clean_state_log_if_needed): Likewise.
51198 (extend_buffers): Don't enlarge buffers beyond size of the input
51199 buffer.
51200 Patches mostly by Emil Wojak <emil@wojak.eu>.
51201 * posix/bug-regex32.c: New file.
51202 * posix/Makefile (tests): Add bug-regex32.
51203
4f031072
UD
51204 * locale/findlocale.c (_nl_find_locale): Return right away if
51205 _nl_explode_name failed.
51206 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
51207
d0478f0c
UD
51208 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
51209
de81b246
UD
51210 * debug/xtrace.sh: Unify messages.
51211 * malloc/memusage.sh: Likewise.
51212
c738465a
UD
51213 [BZ #12813]
51214 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
51215 time symbol from vDSO. Substitute with vsyscall if not available.
51216 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
51217 __vdso_time.
51218
f1f929d7
UD
51219 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
51220 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
51221 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
51222 Add sendmmsg and internal_sendmmsg.
51223 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
51224 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
51225 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
51226
ce67228d
UD
51227 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
51228 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
51229 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
51230
e57420c6
UD
512312011-05-27 Ulrich Drepper <drepper@gmail.com>
51232
a8509ca5
UD
51233 [BZ #12813]
51234 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
51235 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
51236 available.
51237 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
51238 __vdso_getcpu.
51239
e57420c6
UD
51240 [BZ #12814]
51241 * iconvdata/Makefile (tests): Add bug-iconv9.
51242 * iconvdata/bug-iconv9.c: New file.
51243
4d07db15
AS
512442011-05-27 Andreas Schwab <schwab@redhat.com>
51245
51246 [BZ #12814]
51247 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
51248
ea486f69
JJ
512492011-05-25 Jakub Jelinek <jakub@redhat.com>
51250
51251 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51252 (struct user_regs_struct): Change intcs field back to cs.
51253
6f038433
UD
512542011-05-25 Ulrich Drepper <drepper@gmail.com>
51255
51256 * po/ja.po: Update from translation team.
51257
67f86a25
UD
512582011-05-23 Ulrich Drepper <drepper@gmail.com>
51259
51260 [BZ #12795]
51261 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
51262 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
51263
def7fbd6
AS
512642011-05-20 Andreas Schwab <schwab@redhat.com>
51265
51266 * stdlib/longlong.h: Update from GCC.
51267
f50ef8f1
AS
512682011-05-23 Andreas Schwab <schwab@redhat.com>
51269
51270 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
51271 parameter name.
51272 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
51273 Add parameter name.
51274 (__sysconf): Pass it down.
51275
de7ce8f1
UD
512762011-05-22 Ulrich Drepper <drepper@gmail.com>
51277
f2962a71
UD
51278 [BZ #12671]
51279 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
51280 some situations.
51281 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
51282 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
51283 add in in __libc_use_alloca calls. Adjust callers.
51284 (glob): Use malloc in some situations.
51285
de7ce8f1
UD
51286 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
51287 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
51288 pltexit.
51289
aec84f53
UD
512902011-05-21 Ulrich Drepper <drepper@gmail.com>
51291
05bb4a68
UD
51292 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
51293 and CLOCK_BOOTTIME_ALARM.
51294
7ea72f99
UD
51295 [BZ #12782]
51296 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
51297 is returned.
51298
7e4afad5
UD
51299 * string/_strerror.c (__strerror_r): Print negative errors as signed
51300 numbers.
51301
8e211fec
UD
51302 [BZ #12777]
51303 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
51304 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
51305 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
51306
f7d82dc9
UD
51307 * configure.in: Fix typo in redirection and correct removal of test
51308 files in two cases.
51309
cc9e536d
UD
51310 [BZ #12788]
51311 * locale/setlocale.c (new_composite_name): Fix test to check for
51312 identical name of all categories.
51313
aec84f53
UD
51314 [BZ #12792]
51315 * libio/filedoalloc.c (local_isatty): New function.
51316 (_IO_file_doallocate): Use local_isatty.
51317 * stdio-common/perror.c (perror): In case a new stream is used
51318 forward the stream error.
51319 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
51320 error flag.
51321
78e64fdc
RT
513222011-05-20 Ulrich Drepper <drepper@gmail.com>
51323
34a9094f
UD
51324 [BZ #11869]
51325 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
51326 alloca.
51327 * include/alloca.h (extend_alloca_account): Define.
51328
78e64fdc
RT
51329 [BZ #11857]
51330 * posix/regex.h: Fix comments with documentation of user-accessible
51331 fields after compilation and describe correct free'ing of pattern
51332 after re_compile_pattern.
51333 Patch by Reuben Thomas <rrt@sc3d.org>.
51334
457bddfc
RA
513352011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
51336
51337 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
51338 and -mno-altivec to prevent the compiler from using Altivec and/or
51339 VSX instructions when the corresponding registers are not available.
51340
a4527b51
AS
513412011-05-19 Andreas Schwab <schwab@redhat.com>
51342
51343 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
51344
ed690b2f
UD
513452011-05-19 Ulrich Drepper <drepper@gmail.com>
51346
51347 * libio/freopen.c (freopen): Use __dup2, not dup2.
51348 * libio/freopen64.c (freopen64): Likewise.
51349
8db73634
L
513502011-05-17 H.J. Lu <hongjiu.lu@intel.com>
51351
51352 [BZ #12775]
51353 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
51354 * math/Makefile (tests): Add test-powl.
51355 (CFLAGS-test-powl.c): Define.
51356 * math/test-powl.c: New file.
51357
0a197a9d
L
513582011-05-16 H.J. Lu <hongjiu.lu@intel.com>
51359
51360 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
51361
ee30c380
UD
513622011-05-17 Ulrich Drepper <drepper@gmail.com>
51363
51364 [BZ #11837]
51365 * iconvdata/gb18030.c: Update to GB18020-2005.
51366
6ce75379
UD
513672011-05-16 Ulrich Drepper <drepper@gmail.com>
51368
a4b89fd8
AR
51369 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
51370 RE_SYNTAX_POSIX_AWK): Update to match recent development.
51371 Patch by Aharon Robbins <arnold@skeeve.com>.
51372
ea389b12
UD
51373 [BZ #11892]
51374 * stdlib/putenv.c (putenv): Don't always create copy of the variable
51375 on the stack.
51376
68a3f91f
UD
51377 [BZ #11895]
51378 * misc/pselect.c (__pselect): Handle timeout value errors hidden
51379 through underflows.
51380
15cc7dd1
UD
51381 [BZ #12766]
51382 * misc/error.c (error_at_line): Ensure file_name and old_file_name
51383 point to strings before performing equality test for error_one_per_line
51384 mode.
51385
f3799213
UD
51386 [BZ #11697]
51387 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
51388
d79a9c94
UD
51389 [BZ #11820]
51390 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51391 (struct user_fpregs_struct): Avoid __uint*_t types.
51392
56e5eb46
UD
51393 [BZ #6420]
51394 * malloc/mtrace.c (tr_where): Add additional parameter to point to
51395 symbol info. Use it instead of calling _dl_addr locally.
51396 (lock_and_info): New function.
51397 (tr_freehook): Call lock_and_info and pass symbol info as additional
51398 parameter to tr_where.
51399 (tr_mallochook): Likewise.
51400 (tr_reallochook): Likewise.
51401 (tr_memalignhook): Likewise.
51402
6ce75379
UD
51403 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
51404 used and couldn't be at all thread-safe.
51405
f8a3b5bf
UD
514062011-05-15 Ulrich Drepper <drepper@gmail.com>
51407
94b7cc37
UD
51408 * libio/freopen.c (freopen): Don't close old file descriptor
51409 before the new one is opened. Instead dup the new file descriptor
51410 to the old one after the new stream is created.
51411 * libio/freopen64.c (freopen64): Likewise.
51412 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
51413 * libio/fileops.c (_IO_new_file_close_it): Handle new
51414 _IO_FLAGS2_NOCLOSE flag.
51415 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
51416 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
51417 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
51418 _IO_FLAGS2_NOCLOSE flag.
51419 * include/unistd.h: Add hidden_proto for dup3.
51420 Define __have_dup3.
51421 * io/dup3.c: Define hidden symbol.
51422 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
51423
bd25564e
UD
51424 [BZ #7101]
51425 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
51426 when an incomplete long option is used.
51427 * posix/tst-getopt_long1.c: New file.
51428 * posix/Makefile (tests): Add tst-getopt_long1.
51429
c84cfef4
UD
51430 [BZ #10138]
51431 * scripts/config.guess: Update from autoconf-2.68.
51432 * scripts/config.sub: Likewise.
51433
3b85df27
UD
51434 [BZ #10157]
51435 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
51436 tests into ...
51437 (has_cpuclock): ...this. New function.
51438 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
51439 macro here based on has_cpuclock code.
51440
15a856b1
UD
51441 [BZ #10149]
51442 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51443 First byte (not low byte) is now always NUL.
51444 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
51445
05f399e6
UD
51446 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51447 Use non-cancelable interfaces.
51448
10a52685 51449 [BZ #9809]
94ecc67d
UD
51450 * locale/iso-639.def: Add entry for Sorani.
51451
f8a3b5bf
UD
51452 [BZ #11901]
51453 * include/stdlib.h: Move include protection to the right place.
51454 Define abort_msg_s. Declare __abort_msg with it.
51455 * stdlib/abort.c (__abort_msg): Adjust type.
51456 * assert/assert.c (__assert_fail_base): New function. Majority
51457 of code from __assert_fail. Allocate memory for __abort_msg with
51458 mmap.
51459 (__assert_fail): Now call __assert_fail_base.
51460 * assert/assert-perr.c: Remove bulk of implementation. Use
51461 __assert_fail_base.
51462 * include/assert.hL Declare __assert_fail_base.
51463 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
51464 mmap.
51465 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
51466
1af4e298
UD
514672011-05-14 Ulrich Drepper <drepper@gmail.com>
51468
f8a3b5bf 51469 [BZ #11952]
d26dfc60
MG
51470 [BZ #12453]
51471 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
51472 until all modules are registered in the DTV.
51473 * elf/Makefile: Add rules to build and run tst-tls19.
51474 * elf/tst-tls19.c: New file.
51475 * elf/tst-tls19mod1.c: New file.
51476 * elf/tst-tls19mod2.c: New file.
51477 * elf/tst-tls19mod3.c: New file.
51478 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
51479
2fc54d6f
UD
51480 [BZ #12083]
51481 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
51482 correctly.
51483
98d76b46
UD
51484 [BZ #12601]
51485 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
51486 two-byte sequence errors.
51487 * iconvdata/Makefile (tests): Add bug-iconv8.
51488 * iconvdata/bug-iconv8.c: New file.
51489
da3c19ef
UD
51490 [BZ #12626]
51491 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
51492 buf2 definition.
51493
ca408c15
UD
51494 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
51495
d6f67f7d
UD
51496 [BZ #12432]
51497 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
51498 (dummy_getcfa): New function.
51499 (init): Get _Unwind_GetCFA address, use dummy if not found.
51500 (backtrace_helper): In recursion check, also check whether CFA changes.
51501 (__backtrace): Completely initialize arg.
51502
1af4e298 51503 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
51504 storing incomplete byte sequence in state object. Avoid testing for
51505 guaranteed too small input if we know there is enough data available.
1af4e298 51506
da62f81b
AS
515072011-05-11 Andreas Schwab <schwab@redhat.com>
51508
51509 * Makeconfig (+link-pie): Indent.
51510 * Rules (binaries-pie): Define if $(have-fpie) and
51511 $(build-shared).
51512 (binaries-shared): Also filter out $(binaries-pie).
51513 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
51514 * nscd/Makefile (others-pie): Add nscd.
51515 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
51516 ($(objpfx)nscd): Remove command override.
51517 * login/Makefile (others-pie): Add pt_chown.
51518 ($(objpfx)pt_chown): Remove command override.
51519 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
51520 remove command overrides.
51521
fcabc0f8
UD
515222011-05-13 Ulrich Drepper <drepper@gmail.com>
51523
20030ae6
UD
51524 * libio/tst_putwc.c: Fix error messages.
51525
fcabc0f8
UD
51526 [BZ #12724]
51527 * libio/fileops.c (_IO_new_file_close_it): Always flush when
51528 currently writing and seek to current position when not.
51529 * libio/Makefile (tests): Add bug-fclose1.
51530 * libio/bug-fclose1.c: New file.
51531
320a5dc0
PB
515322011-05-12 Ulrich Drepper <drepper@gmail.com>
51533
51534 [BZ #12511]
51535 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
51536 don't set DF_1_NODELETE here.
51537 (do_lookup_x): When entering new entry test for copy relocation
51538 and if necessary set DF_1_NODELETE flag.
51539 * elf/tst-unique4.cc: New file.
51540 * elf/tst-unique4.h: New file.
51541 * elf/tst-unique4lib.cc: New file.
51542 * elf/Makefile: Add rules to build and run tst-unique4.
51543 Patch by Piotr Bury <pbury@goahead.com>.
51544
22836f52
UD
515452011-05-11 Ulrich Drepper <drepper@gmail.com>
51546
f574184a
UD
51547 [BZ #12052]
51548 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
51549
e1fb097f
UD
51550 [BZ #12625]
51551 * misc/mntent_r.c (addmntent): Flush the stream after the output
51552
22836f52
UD
51553 [BZ #12393]
51554 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
51555 (is_trusted_path_normalize): Skip initial colon. Append slash
51556 to empty buffer. Duplicate is_trusted_path code but allow
51557 constructed patch to be prefix.
51558 (is_dst): Allow $ORIGIN followed by /.
51559 (_dl_dst_substitute): Correct clearing of check_for_trusted.
51560 Correct testing of result of is_trusted_path_normalize
51561 (decompose_rpath): Fix warning.
51562
7b3b0b2a
UD
515632011-05-10 Ulrich Drepper <drepper@gmail.com>
51564
51565 [BZ #11257]
51566 * grp/initgroups.c (internal_getgrouplist): When we found the service
51567 list through the initgroups entry in nsswitch.conf do not always
51568 continue on a successful lookup. Don't always use the
eac80ce2 51569 __nss_group_database value if it is set.
7b3b0b2a
UD
51570 * nss/nsswitch.conf (initgroups): Change action for successful db
51571 lookup to continue for compatibility.
51572
2a81eaa5
UD
515732011-05-09 Ulrich Drepper <drepper@gmail.com>
51574
be97a69e
UD
51575 [BZ #11532]
51576 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
51577 and CP774 modules.
51578 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
51579 and CP774 modules.
51580 * iconvdata/tst-tables.sh: Likewise.
51581 * iconvdata/cp770.c: New file.
51582 * iconvdata/cp771.c: New file.
51583 * iconvdata/cp772.c: New file.
51584 * iconvdata/cp773.c: New file.
51585 * iconvdata/cp774.c: New file.
51586 * iconvdata/testdata/CP770: New file.
51587 * iconvdata/testdata/CP770..UTF8: New file.
51588 * iconvdata/testdata/CP771: New file.
51589 * iconvdata/testdata/CP771..UTF8: New file.
51590 * iconvdata/testdata/CP772: New file.
51591 * iconvdata/testdata/CP772..UTF8: New file.
51592 * iconvdata/testdata/CP773: New file.
51593 * iconvdata/testdata/CP773..UTF8: New file.
51594 * iconvdata/testdata/CP774: New file.
51595 * iconvdata/testdata/CP774..UTF8: New file.
51596
51597 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
51598 END CHARMAP line.
51599 * iconvdata/gen-8bit-gap.sh: Likewise.
51600 * iconvdata/gen-8bit.sh: Likewise.
51601
c1e9e399
UD
51602 * locale/iso-639.def: Add ary entry.
51603
24c55fb3 51604 [BZ #11258]
96b4b1b0
UD
51605 * locale/C-translit.h.in: Add U20A1 transliteration.
51606
bdc2f971
KB
51607 [BZ #12178]
51608 * locale/iso-639.def: Add wae entry.
51609 Patch by Kevin Bortis <bortis@translate-wae.ch>.
51610
2952b117
UD
51611 [BZ #12545]
51612 * locale/programs/localedef.c (construct_output_path): Use ssize_t
51613 for n.
51614
2a81eaa5
UD
51615 [BZ #12711]
51616 * locale/C-translit.h.in: Add entry for U20B9.
51617 Patch by pravin.d.s@gmail.com.
51618
28377d1b
UD
516192011-05-08 Ulrich Drepper <drepper@gmail.com>
51620
7fb90fb8
UD
51621 [BZ #12713]
51622 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
51623 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
51624 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
51625 in rtld. Use *stat64.
7fb90fb8 51626 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 51627 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 51628 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
51629 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
51630 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
51631 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
51632 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
51633 __fstatat64 macros.
7fb90fb8
UD
51634 * include/dirent.h: Add libc_hidden_proto for rewinddir.
51635 * dirent/rewinddir.c: Add libc_hidden_def.
51636 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 51637 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 51638
28377d1b
UD
51639 * include/dirent.h (__alloc_dir): Add flags parameter.
51640 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
51641 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
51642 __alloc_dir.
51643 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
51644 from fdopendir if O_CLOEXEC is already set.
51645
66bdbaa4
AM
516462011-03-15 Alan Modra <amodra@gmail.com>
51647
51648 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
51649 l_tls_firstbyte_offset non-zero. Save padding offset in
51650 l_tls_firstbyte_offset for later use.
51651 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
51652 freeing static tls block.
51653
95721191
JN
516542011-03-05 Jonathan Nieder <jrnieder@gmail.com>
51655
51656 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
51657 where #ifdef was intended. The intent is to prevent ARG_MAX from
51658 being defined by the kernel headers.
51659
f87dfb1f
UD
516602011-05-07 Ulrich Drepper <drepper@gmail.com>
51661
51662 [BZ #12734]
51663 * resolv/resolv.h: Define RES_NOTLDQUERY.
51664 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
51665 no-tld-query and set RES_NOTLDQUERY.
51666 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
51667 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
51668 modern BIND to search name as TLD unless forbidden.
51669
47c3cd7a
UD
516702011-05-07 Petr Baudis <pasky@suse.cz>
51671 Ulrich Drepper <drepper@gmail.com>
51672
51673 [BZ #12393]
51674 * elf/dl-load.c (fillin_rpath): Move trusted path check...
51675 (is_trusted_path): ...to here.
c1e9ea35 51676 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 51677 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 51678 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 51679
8a35c912
PP
516802011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
51681
51682 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
51683 __BEGIN/__END_DECLS.
51684
acd41f47
UD
516852011-05-06 Ulrich Drepper <drepper@gmail.com>
51686
51687 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
51688 NSS_STATUS_NOTFOUND if no record was found.
51689
597df647
AS
516902011-05-05 Andreas Schwab <schwab@redhat.com>
51691
51692 * sunrpc/Makefile (headers): Add rpc/netdb.h.
51693 (headers-not-in-tirpc): Remove rpc/netdb.h
51694 * resolv/netdb.h: Revert last change.
51695
b9af1301
PP
516962011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
51697
51698 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
51699 circular dependency between libgcc.a and libc.a.
51700
4e34d5f5
AS
517012011-05-05 Andreas Schwab <schwab@redhat.com>
51702
51703 * resolv/netdb.h: Don't include <rpc/netdb.h>.
51704 * nis/Makefile: Don't install rpcsvc/*.
51705 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
51706 instead of <rpc/types.h>.
51707 (MAXHOSTNAMELEN): Define.
51708
00ee369c
AS
517092011-05-03 Andreas Schwab <schwab@redhat.com>
51710
51711 * elf/ldconfig.c (add_dir): Don't crash on empty path.
51712
0b592a30
MB
517132011-04-28 Maciej Babinski <mbabinski@google.com>
51714
51715 [BZ #12714]
51716 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
51717 gethostbyname4_r when IPv6 results are possible.
51718
6e04cbbe
UD
517192011-05-02 Ulrich Drepper <drepper@gmail.com>
51720
51721 [BZ #12723]
51722 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
51723 _PC_PIPE_BUF handling.
51724
e4ecafe0
BH
517252011-04-30 Bruno Haible <bruno@clisp.org>
51726
51727 [BZ #12717]
51728 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
51729 * resolv/netdb.h (getnameinfo): Change type of flags parameter
51730 to 'int'.
51731 * inet/getnameinfo.c (getnameinfo): Likewise.
51732
125ee683
UD
517332011-04-29 Ulrich Drepper <drepper@gmail.com>
51734
51735 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
51736 to groups setting in database lookup.
51737 * nss/nsswitch.conf: Add initgroups entry.
51738
b722481a
EB
517392011-04-22 Ulrich Drepper <drepper@gmail.com>
51740
51741 [BZ #12685]
51742 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
51743 mode string.
51744 Patch by Eric Blake <eblake@redhat.com>.
51745
4df46dbd
L
517462011-04-20 H.J. Lu <hongjiu.lu@intel.com>
51747
51748 * sunrpc/Makefile (need-export-routines): Add svc_run.
51749 (routines): Remove svc_run.
51750 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
51751 * sunrpc/clnt_perr.c (clnt_perrno): Export.
51752 * sunrpc/svc_run.c (svc_run): Likewise.
51753 * sunrpc/svc_udp.c (svcudp_create): Likewise.
51754
e84142d2
UD
517552011-04-21 Ulrich Drepper <drepper@gmail.com>
51756
51757 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
51758 problem in reallocation in last patch.
51759
877175d8
UD
517602011-04-20 Ulrich Drepper <drepper@gmail.com>
51761
51762 * sunrpc/Makefile: Move inclusion of Rules.
51763
ab8eed78
UD
517642011-04-19 Ulrich Drepper <drepper@gmail.com>
51765
51766 * nss/nss_files/files-initgroups.c: New file.
51767 * nss/Makefile (libnss_files-routines): Add files-initgroups.
51768 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
51769 _nss_files_initgroups_dyn.
51770
e3d8f584
RS
517712011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
51772
51773 * elf/elf.h (R_ARM_IRELATIVE): Define.
51774
af190f45
UD
517752011-04-19 Ulrich Drepper <drepper@gmail.com>
51776
51777 * po/ru.po: Update from translation team.
51778
53cf59ef
UD
517792011-04-17 Ulrich Drepper <drepper@gmail.com>
51780
51781 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
51782 dependencies.
51783
4c559bcd
MF
517842011-02-06 Mike Frysinger <vapier@gentoo.org>
51785
51786 [BZ #12653]
51787 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
51788 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
51789 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51790 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51791 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51792
4420675c
AS
517932011-03-28 Andreas Schwab <schwab@linux-m68k.org>
51794
51795 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
51796 differing bytes.
51797 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51798 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51799 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51800
75ea32ab
UD
518012011-04-17 Ulrich Drepper <drepper@gmail.com>
51802
51803 [BZ #12420]
51804 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
51805 storing it.
51806 * stdlib/bug-getcontext.c: New file.
51807 * stdlib/Makefile: Add rules to build and run bug-getcontext.
51808
27390476
AK
518092011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51810
51811 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
51812 instructions into .machine "z9-109".
51813 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
51814 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
51815
10442705
AK
518162011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51817
51818 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
51819 between environment variables and auxiliary vector.
51820
7b57bfe5
UD
518212011-04-16 Ulrich Drepper <drepper@gmail.com>
51822
51823 * Makefile: Add rules to build linkobj/libc.so.
51824 * include/libc-symbols.h: Define libc_hidden_nolink.
51825 * include/rpc/auth.h: Mark functions which are to be hidden.
51826 * include/rpc/auth_des.h: Likewise.
51827 * include/rpc/auth_unix.h: Likewise.
51828 * include/rpc/clnt.h: Likewise.
51829 * include/rpc/des_crypt.h: Likewise.
51830 * include/rpc/key_prot.h: Likewise.
51831 * include/rpc/pmap_clnt.h: Likewise.
51832 * include/rpc/pmap_prot.h: Likewise.
51833 * include/rpc/pmap_rmt.h: Likewise.
51834 * include/rpc/rpc_msg.h: Likewise.
51835 * include/rpc/svc.h: Likewise.
51836 * include/rpc/svc_auth.h: Likewise.
51837 * include/rpc/xdr.h: Likewise.
51838 * nis/Makefile: Link all DSOs against linkobj/libc.so.
51839 * nss/Makefile: Likewise.
51840 * sunrpc/Makefile: Don't install headers. Build library with normal
51841 entry points. Don't build rpcinfo. Link RPC tests appropriately.
51842 * sunrpc/auth_des.c: Hide exported symbols by default, export some
51843 for the compat linking library. Remove use of INTDEF/INTUSE.
51844 * sunrpc/auth_none.c: Likewise.
51845 * sunrpc/auth_unix.c: Likewise.
51846 * sunrpc/authdes_prot.c: Likewise.
51847 * sunrpc/authuxprot.c: Likewise.
51848 * sunrpc/clnt_gen.c: Likewise.
51849 * sunrpc/clnt_perr.c: Likewise.
51850 * sunrpc/clnt_raw.c: Likewise.
51851 * sunrpc/clnt_simp.c: Likewise.
51852 * sunrpc/clnt_tcp.c: Likewise.
51853 * sunrpc/clnt_udp.c: Likewise.
51854 * sunrpc/clnt_unix.c: Likewise.
51855 * sunrpc/des_crypt.c: Likewise.
51856 * sunrpc/des_soft.c: Likewise.
51857 * sunrpc/get_myaddr.c: Likewise.
51858 * sunrpc/key_call.c: Likewise.
51859 * sunrpc/key_prot.c: Likewise.
51860 * sunrpc/netname.c: Likewise.
51861 * sunrpc/pm_getmaps.c: Likewise.
51862 * sunrpc/pm_getport.c: Likewise.
51863 * sunrpc/pmap_clnt.c: Likewise.
51864 * sunrpc/pmap_prot.c: Likewise.
51865 * sunrpc/pmap_prot2.c: Likewise.
51866 * sunrpc/pmap_rmt.c: Likewise.
51867 * sunrpc/publickey.c: Likewise.
51868 * sunrpc/rpc_cmsg.c: Likewise.
51869 * sunrpc/rpc_common.c: Likewise.
51870 * sunrpc/rpc_dtable.c: Likewise.
51871 * sunrpc/rpc_prot.c: Likewise.
51872 * sunrpc/rpc_thread.c: Likewise.
51873 * sunrpc/rtime.c: Likewise.
51874 * sunrpc/svc.c: Likewise.
51875 * sunrpc/svc_auth.c: Likewise.
51876 * sunrpc/svc_authux.c: Likewise.
51877 * sunrpc/svc_raw.c: Likewise.
51878 * sunrpc/svc_run.c: Likewise.
51879 * sunrpc/svc_simple.c: Likewise.
51880 * sunrpc/svc_tcp.c: Likewise.
51881 * sunrpc/svc_udp.c: Likewise.
51882 * sunrpc/svc_unix.c: Likewise.
51883 * sunrpc/svcauth_des.c: Likewise.
51884 * sunrpc/xcrypt.c: Likewise.
51885 * sunrpc/xdr.c: Likewise.
51886 * sunrpc/xdr_array.c: Likewise.
51887 * sunrpc/xdr_float.c: Likewise.
51888 * sunrpc/xdr_intXX_t.c: Likewise.
51889 * sunrpc/xdr_mem.c: Likewise.
51890 * sunrpc/xdr_rec.c: Likewise.
51891 * sunrpc/xdr_ref.c: Likewise.
51892 * sunrpc/xdr_sizeof.c: Likewise.
51893 * sunrpc/xdr_stdio.c: Likewise.
51894
e6c61494
UD
518952011-04-10 Ulrich Drepper <drepper@gmail.com>
51896
51897 [BZ #12650]
51898 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
51899 * sysdeps/ia64/dl-tls.h: Likewise.
51900 * sysdeps/powerpc/dl-tls.h: Likewise.
51901 * sysdeps/s390/dl-tls.h: Likewise.
51902 * sysdeps/sh/dl-tls.h: Likewise.
51903 * sysdeps/sparc/dl-tls.h: Likewise.
51904 * sysdeps/x86_64/dl-tls.h: Likewise.
51905 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
51906
34fe483e
AS
519072011-03-14 Andreas Schwab <schwab@redhat.com>
51908
51909 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
51910 rpath element also skip the following colon.
51911 (expand_dynamic_string_token): Add is_path parameter and pass
51912 down to DL_DST_REQUIRED and _dl_dst_substitute.
51913 (decompose_rpath): Call expand_dynamic_string_token with
51914 non-zero is_path. Ignore empty rpaths.
51915 (_dl_map_object_from_fd): Call expand_dynamic_string_token
51916 with zero is_path.
51917
f12a32e6
AS
519182011-04-08 Andreas Schwab <schwab@linux-m68k.org>
51919
51920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
51921 Make cancelable.
51922
38a7d692
UD
519232011-04-09 Ulrich Drepper <drepper@gmail.com>
51924
51925 [BZ #12655]
51926 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
51927 Patch by Filipe David Manana <fdmanana@apache.org>.
51928
e451d22b
AS
519292011-04-07 Andreas Schwab <schwab@redhat.com>
51930
51931 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
51932 Maintain aligned stack.
51933 (CHECK_RSP): Remove unused macro.
51934
dedc7c7b
UD
519352011-04-03 Ulrich Drepper <drepper@gmail.com>
51936
51937 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
51938 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
51939
94521213
UD
519402011-04-02 Ulrich Drepper <drepper@gmail.com>
51941
51942 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
51943
8cb700c0 51944 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 51945
0354e355
L
519462011-03-26 H.J. Lu <hongjiu.lu@intel.com>
51947
51948 [BZ #12518]
51949 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
51950 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
51951 * sysdeps/x86_64/memmove.c: New file.
51952 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
51953 (memcpy): Renamed to ...
51954 (__new_memcpy): This.
51955 (memcpy): Provide GLIBC_2_14 memcpy.
51956 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
51957 (memcpy): Provide GLIBC_2_2_5 memcpy.
51958
8593482f
UD
519592011-04-01 Ulrich Drepper <drepper@gmail.com>
51960
51961 [BZ #12631]
51962 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
51963
81a5726b
AS
519642011-03-30 Andreas Schwab <schwab@redhat.com>
51965
51966 * misc/syncfs.c: New file.
51967 * misc/Makefile (routines): Add syncfs.
51968 * posix/unistd.h: Declare syncfs.
51969 * sysdeps/unix/syscalls.list: Add syncfs.
51970
00e5419f
AS
519712011-04-01 Andreas Schwab <schwab@redhat.com>
51972
51973 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
51974 open_by_handle_at.
51975 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51976 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51977 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51978 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51979 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51980 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
51981 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51982
748876bf
UD
519832011-04-01 Ulrich Drepper <drepper@gmail.com>
51984
658e451d
UD
51985 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
51986 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51987 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
51988 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51989 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51990 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51991 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51992
748876bf
UD
51993 * io/Makefile: Compile fallocate.c, fallocate64.c, and
51994 sync_file_range.c with -fexceptions.
51995 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
51996 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
51997 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
51998 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
51999 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
52000 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52001 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
52002 sync_file_range as cancellation point
52003 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
52004 now a wrapper around __call_sync_file_range with cancellation handling.
52005 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
52006 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
52007 function name to __call_sync_file_range.
52008 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
52009 Add call_sync_file_range.
748876bf 52010
6e63d5e1
AS
520112011-04-01 Andreas Schwab <schwab@redhat.com>
52012
52013 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 52014 bits/timex.h.
6e63d5e1 52015
46998f74
UD
520162011-04-01 Ulrich Drepper <drepper@gmail.com>
52017
4c1423ed
UD
52018 * iconv/iconv.h: Fix typo in comment.
52019 * io/fcntl.h: Likewise.
52020 * libio/stdio.h: Likewise.
52021 * posix/spawn.h: Likewise.
52022 * posix/unistd.h: Likewise.
52023 * stdlib/stdlib.h: Likewise.
52024 * time/time.h: Likewise.
52025 * wcsmbs/wchar.h: Likewise.
52026
158648c0
UD
52027 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
52028 open_by_handle): Add.
52029 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
52030 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
52031 Augment a few comments.
52032 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52033 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52034 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52035 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52036 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52037 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
52038 open_by_handle.
52039
46998f74
UD
52040 * io/fcntl.h (AT_EMPTY_PATH): Define.
52041
83fe108b
UD
520422011-03-30 Ulrich Drepper <drepper@gmail.com>
52043
52044 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
52045 * sysdeps/unix/sysv/linux/bits/time.h: New file.
52046 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
52047 to...
52048 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
52049 * Versions.def: Add GLIBC_2.14.
52050 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
52051 Export.
83fe108b 52052
bb242059
UD
520532011-03-22 Ulrich Drepper <drepper@gmail.com>
52054
52055 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
52056 round counter.
52057 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52058
c97a1282
L
520592011-03-20 H.J. Lu <hongjiu.lu@intel.com>
52060
52061 [BZ #12597]
52062 * string/test-strncmp.c (do_page_test): New function.
52063 (check2): Likewise.
52064 (test_main): Call check2.
52065 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
52066
2a115601
UD
520672011-03-20 Ulrich Drepper <drepper@gmail.com>
52068
52069 [BZ #12587]
52070 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
52071 Handle cache information in CPU leaf 4.
52072 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52073
8126d904
UD
520742011-03-18 Ulrich Drepper <drepper@gmail.com>
52075
042c49c6 52076 [BZ #12583]
8126d904
UD
52077 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
52078 character representation.
52079 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
52080
ccfe366e
RA
520812011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
52082
52083 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
52084 END(__isnan) to END(__isnanf) to match function entry point/label
52085 EALIGN(__isnanf,...).
52086
c6e13027
JJ
520872011-03-10 Jakub Jelinek <jakub@redhat.com>
52088
52089 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
52090
33f85a3f
UD
520912011-03-10 Ulrich Drepper <drepper@gmail.com>
52092
028478fa
UD
52093 [BZ #12510]
52094 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
52095 copy from the symbol referenced in the relocation to initialize the
52096 used variable.
52097 Patch by Piotr Bury <pbury@goahead.com>.
52098 * elf/Makefile: Add rules to build and tst-unique3.
52099 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
52100 * elf/tst-unique3.cc: New file.
52101 * elf/tst-unique3.h: New file.
52102 * elf/tst-unique3lib.cc: New file.
52103 * elf/tst-unique3lib2.cc: New file.
52104
33f85a3f
UD
52105 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
52106
03592fc7
MF
521072011-03-10 Mike Frysinger <vapier@gentoo.org>
52108
52109 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
52110 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
52111 to _start.
03592fc7 52112
6a5ee102
UD
521132011-03-06 Ulrich Drepper <drepper@gmail.com>
52114
52115 * elf/dl-load.c (_dl_map_object): If we are looking for the first
52116 to-be-loaded object along a path to loader is ld.so.
52117
7e4ba49c
HJ
521182011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
52119 Ulrich Drepper <drepper@gmail.com>
52120
52121 * sysdeps/x86_64/memset.S: After aligning destination, code
52122 branches to different locations depending on the value of
52123 misalignment, when multiarch is enabled. Fix this.
52124
521252011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
52126
52127 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
52128 Set _x86_64_preferred_memory_instruction for AMD processsors.
52129 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52130 Set bit_Prefer_SSE_for_memop for AMD processors.
52131
13a804de
UD
521322011-03-04 Ulrich Drepper <drepper@gmail.com>
52133
52134 * libio/fmemopen.c (fmemopen): Optimize a bit.
52135
9d25c392
AS
521362011-03-03 Andreas Schwab <schwab@redhat.com>
52137
52138 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
52139
a5543c6a
RM
521402011-03-03 Roland McGrath <roland@redhat.com>
52141
52142 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
52143
012d35f7
DM
521442011-02-28 Aurelien Jarno <aurelien@aurel32.net>
52145
7e4ba49c 52146 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
52147 __bzero_ultra1 instead of __memset_ultra1.
52148
4bff6e01
AS
521492011-02-23 Andreas Schwab <schwab@redhat.com>
52150 Ulrich Drepper <drepper@gmail.com>
52151
52152 [BZ #12509]
52153 * include/link.h (struct link_map): Add l_orig_initfini.
52154 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
52155 returning unsuccessfully.
52156 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
52157 close of a file loaded at startup, restore the original l_initfini
52158 list.
52159 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
52160 list, store the pointer.
52161 * elf/Makefile ($(objpfx)noload-mem): New rule.
52162 (noload-ENV): Define.
52163 (tests): Add $(objpfx)noload-mem.
52164 * elf/noload.c: Include <memcheck.h>.
52165 (main): Call mtrace. Close all opened handles.
52166
f2092faf
AS
521672011-02-17 Andreas Schwab <schwab@redhat.com>
52168
52169 [BZ #12454]
52170 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
52171 dependencies are missing.
52172
6c8a2e88
ST
521732011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
52174
f2092faf 52175 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
52176 Hurd needs munmap.
52177 * sysdeps/mach/hurd/ifreq.h: New file.
52178
84a42118
PB
521792011-01-27 Petr Baudis <pasky@suse.cz>
52180 Ulrich Drepper <drepper@gmail.com>
52181
071f805e 52182 [BZ 12445]#
84a42118
PB
52183 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
52184 to extend_alloca().
52185 * stdio-common/bug23.c: New file.
52186 * stdio-common/Makefile (tests): Add bug23.
52187
e23fe25b
AS
521882010-09-28 Andreas Schwab <schwab@redhat.com>
52189 Ulrich Drepper <drepper@gmail.com>
52190
52191 [BZ #12489]
52192 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
52193 before performing relro protection. At old place add assertion
52194 to make sure nothing changed.
52195
d3f02e10
NS
521962011-02-17 Nathan Sidwell <nathan@codesourcery.com>
52197 Glauber de Oliveira Costa <glommer@gmail.com>
52198
52199 * elf/elf.h: Add new ARM TLS relocs.
52200
d55fd7a5
RA
522012011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
52202
52203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
52204 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
52205 cast from r3.
52206 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
52207 'tests' variable.
52208 * sysdeps/wordsize-64/tst-writev.c: New file.
52209
2206397e
RA
522102011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
52211
52212 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
52213 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
52214 insns in _dl_start to prevent a TOC reference before relocs are
52215 resolved.
52216
e9433893
UD
522172011-02-15 Ulrich Drepper <drepper@gmail.com>
52218
52219 [BZ #12469]
52220 * Makeconfig: Remove RANLIB definition.
52221 * Makerules: Don't use RANLIB.
52222 * aclocal.m4: Remove ranlib test.
52223 * configure.in: No need to check for ranlib.
52224 * elf/rtld-Rules: Don't use RANLIB.
52225
f75286c6
ST
522262011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
52227
8e31c82d
ST
52228 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
52229 protection macro.
52230 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
52231 inclusion protection macro.
52232
f75286c6
ST
52233 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
52234 SIGRTMIN and SIGRTMAX and print information in that case only when
52235 SIGRTMIN is defined.
52236
c1d0e639
JJ
522372011-02-11 Jakub Jelinek <jakub@redhat.com>
52238
52239 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
52240 arginfo fn returning -1.
52241
52242 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
52243 and thousands string is zero terminated.
52244
edf9294e
AS
522452011-02-03 Andreas Schwab <schwab@redhat.com>
52246
52247 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
52248 sysdeps/unix/sysv/linux/bits/socket.h.
52249
2b7e92df
ST
522502011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
52251
edf9294e
AS
52252 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
52253 (__CPU_COUNT): Remove old macros.
52254 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
52255 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
52256 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
52257 (__sched_cpualloc, __sched_cpufree): Add declarations.
52258
a4c7ea7b
UD
522592011-02-05 Ulrich Drepper <drepper@gmail.com>
52260
52261 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
52262 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
52263 * nscd/aicache.c (addhstaiX): Return timeout of added value.
52264 (readdhstai): Return value of addhstaiX call.
52265 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
52266 (addgrbyX): Return value returned by cache_addgr.
52267 (readdgrbyname): Return value returned by addgrbyX.
52268 (readdgrbygid): Likewise.
52269 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
52270 (addpwbyX): Return value returned by cache_addpw.
52271 (readdpwbyname): Return value returned by addhstbyX.
52272 (readdpwbyuid): Likewise.
52273 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
52274 (addservbyX): Return value returned by cache_addserv.
52275 (readdservbyname): Return value returned by addservbyX:
52276 (readdservbyport): Likewise.
52277 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
52278 (addhstbyX): Return value returned by cache_addhst.
52279 (readdhstbyname): Return value returned by addhstbyX.
52280 (readdhstbyaddr): Likewise.
52281 (readdhstbynamev6): Likewise.
52282 (readdhstbyaddrv6): Likewise.
52283 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
52284 (readdinitgroups): Return value returned by addinitgroupsX.
52285 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
52286 (prune_cache): Keep track of timeout value of re-added entries.
52287 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
52288 * nscd/nscd.h: Adjust prototypes of readd* functions.
52289
a0bf67cc
RM
522902011-02-04 Roland McGrath <roland@redhat.com>
52291
52292 * nis/nis_server.c (nis_servstate): Use the right name for 0.
52293 (nis_stats): Likewise.
52294 * nis/nis_modify.c (nis_modify): Likewise.
52295 * nis/nis_remove.c (nis_remove): Likewise.
52296 * nis/nis_add.c (nis_add): Likewise.
52297
52298 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
52299
52300 * posix/fnmatch_loop.c: Add some consts.
52301
52302 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
52303
435b95eb
L
523042011-02-02 H.J. Lu <hongjiu.lu@intel.com>
52305
52306 [BZ #12460]
52307 * config.make.in (config-cflags-novzeroupper): Define.
52308 * configure.in: Substitute libc_cv_cc_novzeroupper.
52309 * elf/Makefile (AVX-CFLAGS): Define.
52310 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
52311 (CFLAGS-tst-auditmod4a.c): Likewise.
52312 (CFLAGS-tst-auditmod4b.c): Likewise.
52313 (CFLAGS-tst-auditmod6b.c): Likewise.
52314 (CFLAGS-tst-auditmod6c.c): Likewise.
52315 (CFLAGS-tst-auditmod7b.c): Likewise.
52316 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
52317
8517b15e
UD
523182011-02-02 Ulrich Drepper <drepper@gmail.com>
52319
52320 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
52321 function to the callback.
52322 Patch partly by Jiri Olsa <jolsa@redhat.com>.
52323
10a656fe
AS
523242011-02-02 Andreas Schwab <schwab@redhat.com>
52325
52326 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
52327 of errno.
52328
968dad0a
UD
523292011-01-19 Ulrich Drepper <drepper@gmail.com>
52330
9f94d2ea 52331 [BZ #11724]
968dad0a
UD
52332 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
52333 of constructors.
52334 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
52335 of destructors.
52336 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
52337
52338 [BZ #11724]
52339 * elf/Makefile: Add rules to build and run new test.
52340 * elf/tst-initorder.c: New file.
52341 * elf/tst-initorder.exp: New file.
52342 * elf/tst-initordera1.c: New file.
52343 * elf/tst-initordera2.c: New file.
52344 * elf/tst-initordera3.c: New file.
52345 * elf/tst-initordera4.c: New file.
52346 * elf/tst-initorderb1.c: New file.
52347 * elf/tst-initorderb2.c: New file.
52348 * elf/tst-order-a1.c: New file.
52349 * elf/tst-order-a2.c: New file.
52350 * elf/tst-order-a3.c: New file.
52351 * elf/tst-order-a4.c: New file.
52352 * elf/tst-order-b1.c: New file.
52353 * elf/tst-order-b2.c: New file.
52354 * elf/tst-order-main.c: New file.
52355 New test case by George Gensure <werkt0@gmail.com>.
52356
86e92359
UD
523572010-10-01 Andreas Schwab <schwab@redhat.com>
52358
52359 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52360 decoding ACE if AI_CANONIDN.
52361
5d5732b0
UD
523622011-01-18 Ulrich Drepper <drepper@gmail.com>
52363
52364 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
52365
a77e8cbc
UD
523662011-01-17 Ulrich Drepper <drepper@gmail.com>
52367
6392473f
UD
52368 * version.h (RELEASE): Bump for 2.13 release.
52369 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
52370
620a0529
UD
52371 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
52372
18ba70a5
UD
52373 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
52374 MADV_NOHUGEPAGE.
32465c3e
UD
52375 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
52376 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52377 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52378 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52379 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52380 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52381
c0dafcf1
UD
52382 * posix/getconf.c: Update copyright year.
52383 * catgets/gencat.c: Likewise.
52384 * csu/version.c: Likewise.
52385 * debug/catchsegv.sh: Likewise.
52386 * debug/xtrace.sh: Likewise.
52387 * elf/ldconfig.c: Likewise.
52388 * elf/ldd.bash.in: Likewise.
52389 * elf/sprof.c (print_version): Likewise.
52390 * iconv/iconv_prog.c: Likewise.
52391 * iconv/iconvconfig.c: Likewise.
52392 * locale/programs/locale.c: Likewise.
52393 * locale/programs/localedef.c: Likewise.
52394 * malloc/memusage.sh: Likewise.
52395 * malloc/mtrace.pl: Likewise.
52396 * nscd/nscd.c (print_version): Likewise.
52397 * nss/getent.c: Likewise.
52398
a77e8cbc
UD
52399 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
52400 PF_CAIF, and PF_ALG.
52401 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52402
77e8bddf
AS
524032011-01-16 Andreas Schwab <schwab@linux-m68k.org>
52404
1f20b93a
AS
52405 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
52406 (modules-names): Use them.
52407 (ifunc-test-modules, ifunc-pie-tests): Define.
52408 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
52409 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
52410 (test-extras): Likewise.
52411 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
52412 $(compile-command.c).
52413 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
52414 (all-built-dso): Define.
52415 (check-textrel.out, check-execstack.out): Depend on it.
52416
77e8bddf
AS
52417 * configure.in: Don't override --enable-multi-arch.
52418
bc425b33
UD
524192011-01-15 Ulrich Drepper <drepper@gmail.com>
52420
52421 [BZ #6812]
52422 * nscd/hstcache.c (tryagain): Define.
52423 (cache_addhst): Return tryagain not notfound for temporary errors.
52424 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
52425 failed.
52426
794c3ad3
UD
524272011-01-14 Ulrich Drepper <drepper@gmail.com>
52428
70181fdd
UD
52429 [BZ #10563]
52430 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
52431 to make the syscall.
52432 * sysdeps/unix/sysv/linux/setgroups.c: New file.
52433
794c3ad3
UD
52434 [BZ #12378]
52435 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
52436 and fall back to matching as normal character if the string ends before
52437 the matching ']' is found. This is what POSIX requires.
52438 * posix/testfnm.c: Adjust test result.
52439 * posix/globtest.sh: Adjust test result. Add new test.
52440 * posix/tst-fnmatch.input: Likewise.
52441 * posix/tst-fnmatch2.c: Add new test.
52442
68dc9497
AS
524432010-12-28 Andreas Schwab <schwab@linux-m68k.org>
52444
52445 * elf/Makefile (check-execstack): Revert last change. Depend on
52446 check-execstack.h.
52447 (check-execstack.h): New target.
52448 (generated): Add check-execstack.h.
52449 * elf/check-execstack.c: Include "check-execstack.h".
52450 (main): Revert last change.
52451 (handle_file): Return zero if GNU_STACK is absent and
52452 DEFAULT_STACK_PERMS doesn't include PF_X.
52453
451f001b
UD
524542011-01-13 Ulrich Drepper <drepper@gmail.com>
52455
cfa28e56
UD
52456 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
52457 in child fails because the descriptor is already closed.
8cf8ce17
UD
52458 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
52459 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
52460 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 52461
1086d70d
UD
52462 [BZ #12397]
52463 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
52464 syscall.
52465
451f001b
UD
52466 [BZ #10484]
52467 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
52468 temporary buffer used to handle multi lookups locally.
a85b5cb4 52469 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 52470
08769175
UD
524712011-01-12 Ulrich Drepper <drepper@gmail.com>
52472
52473 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
52474 loader is ld.so.
52475
5e49c52e
UD
524762011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
52477
52478 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
52479 alignment for SSE2.
52480
60522a5f
UD
524812011-01-12 Ulrich Drepper <drepper@gmail.com>
52482
52483 [BZ #12394]
52484 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
52485 characters. When rounding increased number of integer digits recompute
52486 number of groups.
52487 * stdio-common/tst-grouping.c: New file.
52488 * stdio-common/Makefile: Add rules to build and run tst-grouping.
52489
f257bbd7
UD
524902011-01-09 Ulrich Drepper <drepper@gmail.com>
52491
52492 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
52493 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
52494
52495 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
52496 void.
52497 * bits/select.h: Likewise.
52498
fa9c15cb
UD
524992011-01-08 Ulrich Drepper <drepper@gmail.com>
52500
52501 * po/ja.po: Update from translation team.
52502
16c2895f
DM
525032011-01-04 David S. Miller <davem@sunset.davemloft.net>
52504
52505 [BZ #11155]
52506 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
52507 implementation just like for lxstat, fxstatat, et al.
52508
2543fef2
JM
525092010-12-27 Jim Meyering <meyering@redhat.com>
52510
52511 [BZ #12348]
52512 * posix/regexec.c (build_trtable): Return failure indication upon
52513 calloc failure. Otherwise, re_search_internal could infloop on OOM.
52514
98727dbe
UD
525152010-12-25 Ulrich Drepper <drepper@gmail.com>
52516
5bd6dc5c
UD
52517 [BZ #12201]
52518 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
52519 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
52520 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
52521 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
52522
97983464
UD
52523 [BZ #12207]
52524 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
52525
98727dbe
UD
52526 [BZ #12204]
52527 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
52528 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
52529
4a531bb0
L
525302010-12-15 H.J. Lu <hongjiu.lu@intel.com>
52531
52532 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
52533 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
52534 script has SORT_BY_INIT_PRIORITY.
52535 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
52536 NO_CTORS_DTORS_SECTIONS is defined.
52537 * elf/soinit.c: Likewise.
52538 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
52539 NO_CTORS_DTORS_SECTIONS is defined.
52540 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
52541 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
52542 * sysdeps/sh/init-first.c: Likewise.
52543 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
52544
07eb4b71
UD
525452010-12-24 Ulrich Drepper <drepper@gmail.com>
52546
52547 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
52548 always use the slow path.
52549
30950a5f
RA
525502010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
52551
52552 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
52553 similar rule which adds the sysdep directories to the header search in
52554 order to pick up the correct platform stackinfo.h.
52555 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
52556 perform test if it is, otherwise return successfully without testing.
52557 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
52558 DEFAULT_STACK_PERMS define in stackinfo.h.
52559 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
52560 defined in stackinfo.h.
52561 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
52562 DEFAULT_STACK_PERMS defined in stackinfo.h.
52563 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
52564 * sysdeps/ia64/stackinfo.h: Likewise.
52565 * sysdeps/s390/stackinfo.h: Likewise.
52566 * sysdeps/sh/stackinfo.h: Likewise.
52567 * sysdeps/sparc/stackinfo.h: Likewise.
52568 * sysdeps/x86_64/stackinfo.h: Likewise.
52569 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
52570 PF_X for powerpc64. Retain PF_X for powerpc32.
52571
db753e2c
UD
525722010-12-19 Ulrich Drepper <drepper@gmail.com>
52573
14b697f7
UD
52574 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
52575 accurately.
db753e2c
UD
52576 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
52577 GETDENTS_64BIT_ALIGNED.
52578
28300719
UD
525792010-12-14 Ulrich Drepper <dreper@gmail.com>
52580
14b697f7 52581 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 52582
4f197237
AS
525832010-12-10 Andreas Schwab <schwab@redhat.com>
52584
dbb0472f
AS
52585 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
52586 _GNU_SOURCE.
52587
4f197237
AS
52588 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
52589 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
52590 Remove __restrict.
52591 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
52592 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
52593
fb88ac72
UD
525942010-12-09 Ulrich Drepper <drepper@gmail.com>
52595
52596 [BZ #11655]
52597 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
52598 are initialized.
52599
42acbb92
JJ
526002010-12-09 Jakub Jelinek <jakub@redhat.com>
52601
52602 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
52603
c038d98d
UD
526042010-12-03 Ulrich Drepper <drepper@gmail.com>
52605
52606 * po/it.po: Update from translation team.
52607
3a4a2499
L
526082010-12-01 H.J. Lu <hongjiu.lu@intel.com>
52609
52610 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
52611 unused codes.
52612
1e24cf6e
UD
526132010-11-30 Ulrich Drepper <drepper@gmail.com>
52614
52615 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
52616
a7690819
AS
526172010-11-24 Andreas Schwab <schwab@redhat.com>
52618
52619 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
52620 specially.
52621 (gaih_getanswer_slice): Likewise.
52622
3bf8d1b1
JJ
526232010-10-20 Jakub Jelinek <jakub@redhat.com>
52624
52625 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
52626
6db52fbb
PB
526272010-05-31 Petr Baudis <pasky@suse.cz>
52628
52629 [BZ #11149]
52630 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
52631 silently even in the chroot mode.
52632
eaca7569
UD
526332010-11-22 Ulrich Drepper <drepper@gmail.com>
52634
52635 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
52636 last patch a bit. Pretty printing
52637
3056dcdb
UD
526382010-05-31 Petr Baudis <pasky@suse.cz>
52639
52640 [BZ #10085]
52641 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
52642 initialization of skip_initgroups_dyn.
52643
cf7c9078
UD
526442010-11-19 Ulrich Drepper <drepper@gmail.com>
52645
52646 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
52647 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52648
a1fb5e3e
UD
526492010-11-16 Ulrich Drepper <drepper@gmail.com>
52650
52651 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
52652
3540d66b
AS
526532010-11-11 Andreas Schwab <schwab@redhat.com>
52654
52655 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
52656 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
52657 (tst-fnmatch-ENV): Set MALLOC_TRACE.
52658 ($(objpfx)tst-fnmatch-mem): New rule.
52659 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
52660 * posix/tst-fnmatch.c (main): Call mtrace.
52661
13b69574
L
526622010-11-11 H.J. Lu <hongjiu.lu@intel.com>
52663
52664 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52665 Support Intel processor model 6 and model 0x2c.
52666
da93d214
LM
526672010-11-10 Luis Machado <luisgpm@br.ibm.com>
52668
52669 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
52670 signed comparison.
52671
8ca52c6e
L
526722010-11-09 H.J. Lu <hongjiu.lu@intel.com>
52673
52674 [BZ #12205]
52675 * string/test-strncasecmp.c (check_result): New function.
52676 (do_one_test): Use it.
52677 (check1): New function.
52678 (test_main): Use it.
52679 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
52680 Support strcasecmp and strncasecmp.
52681
69da074d
UD
526822010-11-08 Ulrich Drepper <drepper@gmail.com>
52683
52684 [BZ #12194]
52685 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
52686 * sysdeps/x86_64/bits/byteswap.h: Likewise.
52687
ff02d528
L
526882010-11-07 H.J. Lu <hongjiu.lu@intel.com>
52689
52690 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
52691 IFUNC support.
52692 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52693 memset-x86-64.
52694 * sysdeps/x86_64/multiarch/bzero.S: New file.
52695 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
52696 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
52697 * sysdeps/x86_64/multiarch/memset.S: New file.
52698 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
52699 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52700 Set bit_Prefer_SSE_for_memop for Intel processors.
52701 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
52702 Define.
52703 (index_Prefer_SSE_for_memop): Define.
52704 (HAS_PREFER_SSE_FOR_MEMOP): Define.
52705
344d0b54
LM
527062010-11-04 Luis Machado <luisgpm@br.ibm.com>
52707
52708 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
52709 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
52710
c0dde15b
UD
527112010-11-03 H.J. Lu <hongjiu.lu@intel.com>
52712
52713 [BZ #12191]
52714 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52715 (__x86_64_raw_data_cache_size_half): Likewise.
52716 (__x86_64_raw_shared_cache_size): Likewise.
52717 (__x86_64_raw_shared_cache_size_half): Likewise.
52718
52719 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52720 (__x86_64_raw_data_cache_size_half): Likewise.
52721 (__x86_64_raw_shared_cache_size): Likewise.
52722 (__x86_64_raw_shared_cache_size_half): Likewise.
52723 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
52724 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
52725 and __x86_64_raw_shared_cache_size_half. Round
52726 __x86_64_data_cache_size_half, __x86_64_data_cache_size
52727 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
52728 to multiple of 256 bytes.
52729
0e516e0e
MS
527302010-11-03 Ulrich Drepper <drepper@gmail.com>
52731
52732 [BZ #12167]
52733 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
52734 of inacessible symlinks. Verify result of symlink before returning it.
52735 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
52736 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
52737
0e012e87
ER
527382010-10-28 Erich Ritz <erichritz@gmail.com>
52739
52740 * math/math.h (isinf): Fix typo in comment.
52741
de0ff7bc
UD
527422010-11-01 Ulrich Drepper <drepper@gmail.com>
52743
52744 * po/da.po: Update from translation team.
52745
fa41c84d
UD
527462010-10-26 Ulrich Drepper <drepper@gmail.com>
52747
52748 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
52749 is added to the list.
52750
f0967738
AK
527512010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52752 Ulrich Drepper <drepper@gmail.com>
52753
52754 * elf/dl-object.c (_dl_new_object): Don't append the new object to
52755 the global list here. Move code to...
52756 (_dl_add_to_namespace_list): ...here. New function.
52757 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
52758 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
52759 * elf/dl-load.c (lose): Don't remove the element from the list.
52760 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
52761 (_dl_map_object): Likewise.
52762
527632010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
52764
52765 [BZ #12159]
52766 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
52767 into all bytes of SSE register.
52768 Patch by Richard Li <richardpku@gmail.com>.
52769
f0967738 527702010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
52771
52772 [BZ #12140]
52773 * malloc/malloc.c (_int_free): Fill correct number of bytes when
52774 perturbing.
52775
d0b9e94f
MB
527762010-10-20 Michael B. Brutman <brutman@us.ibm.com>
52777
52778 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
52779 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
52780 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
52781 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
52783 submachine.
52784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
52785
8e9f92e9
AS
527862010-10-22 Andreas Schwab <schwab@redhat.com>
52787
52788 * include/dlfcn.h (__RTLD_SECURE): Define.
52789 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
52790 mode & __RTLD_SECURE instead.
52791 (open_path): Rename preloaded parameter to secure.
52792 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
52793 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
52794 * elf/dl-deps.c (openaux): Likewise.
52795 * elf/rtld.c (struct map_args): Remove is_preloaded.
52796 (map_doit): Don't use it.
52797 (dl_main): Likewise.
52798 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
52799 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
52800
bc96fbda
AS
528012010-09-09 Andreas Schwab <schwab@redhat.com>
52802
52803 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
52804 (sysd-rules-targets): Remove duplicates.
52805 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
52806 rtld-%.$o dependency.
52807
22cd1c9b
AS
528082010-10-18 Andreas Schwab <schwab@redhat.com>
52809
52810 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
52811 _dl_map_object do it.
52812
18edac48
UD
528132010-10-19 Ulrich Drepper <drepper@gmail.com>
52814
52815 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
52816 fast fma builtins, define the macros in the C99 standard.
52817 (FP_FAST_FMAF): Likewise.
52818 (FP_FAST_FMAL): Likewise.
52819 * sysdeps/x86_64/bits/mathdef.h: Likewise.
52820
52821 * bits/mathdef.h: Update copyright year.
52822 * sysdeps/powerpc/bits/mathdef.h: Likewise.
52823
d2050124
MM
528242010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
52825
52826 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
52827 builtins, define the macros in the C99 standard.
52828 (FP_FAST_FMAF): Likewise.
52829 (FP_FAST_FMAL): Likewise.
52830 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
52831 multiply/add.
52832 (FP_FAST_FMAF): Likewise.
52833
475facd1
JJ
528342010-10-15 Jakub Jelinek <jakub@redhat.com>
52835
52836 [BZ #3268]
52837 * math/libm-test.inc (fma_test): Some new testcases.
52838 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
52839 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
52840 y and infinite z. Do multiplication by C already in long double.
52841 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
52842 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
52843 y and infinite z. Do bitwise or of inexact bit into u.d.
52844 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
52845 * sysdeps/i386/fpu/s_fmaf.S: Removed.
52846 * sysdeps/i386/fpu/s_fma.S: Removed.
52847 * sysdeps/i386/fpu/s_fmal.S: Removed.
52848
7c08a05c
JJ
528492010-10-16 Jakub Jelinek <jakub@redhat.com>
52850
52851 [BZ #3268]
52852 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
52853 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
52854 computation is not scheduled after fetestexcept. Fix value
52855 of minimum denormal long double.
52856
f3f7372d
JJ
528572010-10-14 Jakub Jelinek <jakub@redhat.com>
52858
52859 [BZ #3268]
52860 * math/libm-test.inc (fma_test): Add some more tests.
52861 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
52862 correctly.
52863
14d43591
AS
528642010-10-15 Andreas Schwab <schwab@redhat.com>
52865
52866 * scripts/data/localplt-s390-linux-gnu.data: New file.
52867 * scripts/data/localplt-s390x-linux-gnu.data: New file.
52868
5e908464
JJ
528692010-10-13 Jakub Jelinek <jakub@redhat.com>
52870
52871 [BZ #3268]
52872 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
52873 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
52874 instead of dbl-64.
52875 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
52876 inlines.
52877 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
52878 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
52879 if one of x and y is very large and the other is subnormal.
52880 * sysdeps/s390/fpu/s_fmaf.c: New file.
52881 * sysdeps/s390/fpu/s_fma.c: New file.
52882 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
52883 * sysdeps/powerpc/fpu/s_fma.S: New file.
52884 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
52885 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
52886 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
52887
528882010-10-12 Jakub Jelinek <jakub@redhat.com>
52889
52890 [BZ #3268]
52891 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
52892 fma tests.
52893 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
52894 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
52895 * sysdeps/i386/i686/multiarch/s_fma.c: Include
52896 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
52897 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
52898 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
52899 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
52900
b833d51f
UD
529012010-10-12 Ulrich Drepper <drepper@redhat.com>
52902
52903 [BZ #12078]
52904 * posix/regcomp.c (parse_branch): One more memory leak plugged.
52905 * posix/bug-regex31.input: Add test case.
52906
1751705d
UD
529072010-10-11 Ulrich Drepper <drepper@gmail.com>
52908
e9b9cbf5
UD
52909 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
52910 * posix/bug-regex31.input: New file.
52911
52912 [BZ #12078]
52913 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
52914 (parse_sub_exp): Fix last change, use postorder.
52915
ef06edbe
UD
52916 * posix/bug-regex31.c: New file.
52917 * posix/Makefile: Add rules to build and run bug-regex31.
52918
a129c80d
UD
52919 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
52920
52921 [BZ #12078]
52922 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
52923
b76b818e
UD
52924 [BZ #12108]
52925 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
52926 to have entries in sys_siglist.
52927
1751705d
UD
52928 [BZ #12093]
52929 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
52930 be NULL.
52931
9ff8d36f
JJ
529322010-10-07 Jakub Jelinek <jakub@redhat.com>
52933
52934 [BZ #3268]
52935 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
52936 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
52937 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
52938 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
52939 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52940 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
52941 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
52942 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
52943 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
52944 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
52945 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
52946 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
52947 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
52948 * math/ftestexcept.c (fetestexcept): Likewise.
52949 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
52950 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
52951 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
52952 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
52953 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
52954 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
52955 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
52956
af325969
UD
529572010-10-11 Ulrich Drepper <drepper@gmail.com>
52958
c579b202 52959 [BZ #12107]
af325969
UD
52960 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
52961 newline.
52962
67a67b95
UD
529632010-10-06 Ulrich Drepper <drepper@gmail.com>
52964
52965 * string/bug-strstr1.c: New file.
52966 * string/Makefile: Add rules to build and run bug-strstr1.
52967
5fb308bc
EB
529682010-10-05 Eric Blake <eblake@redhat.com>
52969
52970 [BZ #12092]
52971 * string/str-two-way.h (two_way_long_needle): Always clear memory
52972 when skipping input due to the shift table.
52973
45db99c7
UD
529742010-10-03 Ulrich Drepper <drepper@gmail.com>
52975
3b111893
UD
52976 [BZ #12005]
52977 * malloc/mcheck.c: Handle large requests.
52978
45db99c7
UD
52979 [BZ #12077]
52980 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
52981 for strncmp and strncasecmp.
52982 * string/stratcliff.c: Add tests for strcmp and strncmp.
52983 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
52984
cf7a1eb8
NI
529852010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
52986
52987 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
52988 __set_fpscr.
52989
6484ba5e
AJ
529902010-09-30 Andreas Jaeger <aj@suse.de>
52991
52992 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
52993 (CGROUP_SUPER_MAGIC): Define.
52994 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52995 Handle btrfs and cgroup file systems.
52996 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
52997 Likewise.
52998
91c42559
LM
529992010-09-27 Luis Machado <luisgpm@br.ibm.com>
53000
53001 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
53002 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
53003
87a97932
AK
530042010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53005
53006 [BZ #12067]
53007 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
53008 trying to locate the ELF header.
53009
c21cc9bc
AS
530102010-09-27 Andreas Schwab <schwab@redhat.com>
53011
53012 [BZ #11611]
53013 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
53014 Mask out sign-bit copies when constructing f_fsid.
53015
315970f6
PB
530162010-09-24 Petr Baudis <pasky@suse.cz>
53017
53018 * debug/stack_chk_fail_local.c: Add missing licence exception.
53019 * debug/warning-nop.c: Likewise.
53020
1ac7a2c7
JM
530212010-09-15 Joseph Myers <joseph@codesourcery.com>
53022
53023 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
53024 implementing getdents64 using getdents syscall, set d_type if
53025 __ASSUME_GETDENTS32_D_TYPE.
53026
56801c50
AS
530272010-09-16 Andreas Schwab <schwab@redhat.com>
53028
53029 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
53030 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
53031
dda51327
UD
530322010-09-21 Ulrich Drepper <drepper@redhat.com>
53033
53034 [BZ #12037]
53035 * posix/unistd.h: Undo change of feature selection for ftruncate from
53036 2010-01-11.
53037
8ffcee4a
UD
530382010-09-20 Ulrich Drepper <drepper@redhat.com>
53039
a545ecd9 53040 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
53041 detection.
53042
e24f0a8b
AS
530432010-09-20 Andreas Schwab <schwab@redhat.com>
53044
53045 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
53046 fanotify_mark.
53047 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53048
7291c56f
AS
530492010-09-14 Andreas Schwab <schwab@redhat.com>
53050
53051 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
53052 variables after CHECK_SP call.
53053 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
53054
bc5fb037
AS
530552010-09-13 Andreas Schwab <schwab@redhat.com>
53056 Ulrich Drepper <drepper@redhat.com>
53057
53058 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
53059 re-relocationg ld.so.
53060 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
53061 _dl_init_paths call.
53062 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
53063 here anymore.
53064
e66e7419
UD
530652010-09-14 Ulrich Drepper <drepper@redhat.com>
53066
53067 * resolv/res_init.c (__res_vinit): Count the default server we added.
53068
c044aa75
CLT
530692010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
53070 Ulrich Drepper <drepper@redhat.com>
53071
53072 [BZ #11968]
53073 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53074 (____longjmp_chk): Use %ebx for saving value across system call.
53075 Add unwind info.
53076
32cf4069
AS
530772010-09-06 Andreas Schwab <schwab@redhat.com>
53078
53079 * manual/Makefile: Don't mix pattern rules with normal rules.
53080
817328ee
AS
530812010-09-05 Andreas Schwab <schwab@linux-m68k.org>
53082
53083 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
53084 operation.
53085 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
53086 * libio/iofopncook.c (_IO_cookie_init): Likewise.
53087 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
53088 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
53089 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53090 Likewise.
53091
29fddf61
UD
530922010-09-04 Ulrich Drepper <drepper@redhat.com>
53093
53094 [BZ #11979]
53095 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
53096 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
53097
0959ffc9
UD
530982010-09-02 Ulrich Drepper <drepper@redhat.com>
53099
53100 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
53101 * sysdeps/x86_64/addmul_1.S: Likewise.
53102 * sysdeps/x86_64/lshift.S: Likewise.
53103 * sysdeps/x86_64/mul_1.S: Likewise.
53104 * sysdeps/x86_64/rshift.S: Likewise.
53105 * sysdeps/x86_64/sub_n.S: Likewise.
53106 * sysdeps/x86_64/submul_1.S: Likewise.
53107
ece29840
ST
531082010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
53109
0959ffc9
UD
53110 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
53111 Define __sched_param instead of SCHED_* and sched_param when
ece29840 53112 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 53113 * bits/sched.h [__need_schedparam]
ece29840 53114 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
53115 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
53116 (__defined_schedparam): Define to 1.
ece29840
ST
53117 (__sched_param): New structure, identical to sched_param.
53118 (__need_schedparam): Undefine.
53119
e53a31fe
MF
531202010-08-31 Mike Frysinger <vapier@gentoo.org>
53121
fdc0c10d
MF
53122 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
53123 (epoll_create1): Declare.
53124
e53a31fe
MF
53125 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
53126
a726d796
AS
531272010-08-31 Andreas Schwab <schwab@redhat.com>
53128
53129 [BZ #7066]
53130 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
53131 shifting retval into place.
53132
2f3e3dc7
UD
531332010-09-01 Ulrich Drepper <drepper@redhat.com>
53134
f2933da9
UD
53135 * nis/rpcsvc/nis.h: Update copyright notice.
53136 * nis/rpcsvc/nis.x: Likewise.
53137 * nis/rpcsvc/nis_callback.h: Likewise.
53138 * nis/rpcsvc/nis_callback.x: Likewise.
53139 * nis/rpcsvc/nis_object.x: Likewise.
53140 * nis/rpcsvc/nis_tags.h: Likewise.
53141 * nis/rpcsvc/yp.h: Likewise.
53142 * nis/rpcsvc/yp.x: Likewise.
53143 * nis/rpcsvc/ypupd.h: Likewise.
53144 * nis/yp_xdr.c: Likewise.
53145 * nis/ypupdate_xdr.c: Likewise.
53146
2f3e3dc7
UD
53147 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
53148 mainly the body of pmap_getport. Add parameters to specify timeouts.
53149 (pmap_getport): Use __libc_rpc_getport.
53150 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
53151 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
53152 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
53153
f3dcc2f9
AS
531542010-08-31 Andreas Schwab <schwab@linux-m68k.org>
53155
53156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
53157 fanotify_mark.
53158
6d34eb5b
RM
531592010-08-27 Roland McGrath <roland@redhat.com>
53160
53161 * sysdeps/i386/i686/multiarch/Makefile
53162 (CFLAGS-varshift.c): New variable.
53163
9ea3de11
UD
531642010-08-27 Ulrich Drepper <drepper@redhat.com>
53165
c96d23fc
UD
53166 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
53167 * sysdeps/i386/i686/multiarch/varshift.c: New file.
53168
9ea3de11
UD
53169 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
53170
53171 * sysdeps/x86_64/strlen.S: Minimal code improvement.
53172
623aac7f
L
531732010-08-26 H.J. Lu <hongjiu.lu@intel.com>
53174
53175 * sysdeps/x86_64/strlen.S: Unroll the loop.
53176 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53177 strlen-sse2 strlen-sse2-bsf.
53178 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
53179 __strlen_no_bsf if bit_Slow_BSF is set.
53180 (__strlen_sse42): Removed.
53181 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
53182 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
53183
8b2b7715
RM
531842010-08-25 Roland McGrath <roland@redhat.com>
53185
53186 * sysdeps/x86_64/multiarch/varshift.S: File removed.
53187 * sysdeps/x86_64/multiarch/varshift.c: New file.
53188 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
53189 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
53190 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
53191 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
53192
e73015f2
L
531932010-08-25 H.J. Lu <hongjiu.lu@intel.com>
53194
53195 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53196 strlen-sse2 strlen-sse2-bsf.
53197 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
53198 __strlen_sse2_bsf if bit_Slow_BSF is unset.
53199 (__strlen_sse2): Removed.
53200 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
53201 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
53202 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53203 bit_Slow_BSF for Atom.
53204 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
53205 (index_Slow_BSF): Define.
53206 (HAS_SLOW_BSF): Define.
53207
df24a73e
UD
532082010-08-25 Ulrich Drepper <drepper@redhat.com>
53209
53210 [BZ #10851]
53211 * resolv/res_init.c (__res_vinit): When no server address at all
53212 is given default to loopback.
53213
f2ac4868
RM
532142010-08-24 Roland McGrath <roland@redhat.com>
53215
09055553
RM
53216 * configure.in: Remove config-name.h generation.
53217 * configure: Regenerated.
53218 * config-name.in: File removed.
53219 * scripts/config-uname.sh: New file.
53220 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
53221 ($(objdir)config-name.h): New target.
53222
f2ac4868
RM
53223 * sunrpc/rpc_parse.h: Avoid nested comment.
53224
73f27d5e
RH
532252010-08-24 Richard Henderson <rth@redhat.com>
53226 Ulrich Drepper <drepper@redhat.com>
53227 H.J. Lu <hongjiu.lu@intel.com>
53228
53229 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
53230 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
53231 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
53232 Replace _mm_srli_si128 with __m128i_shift_right. Replace
53233 _mm_alignr_epi8 with _mm_loadu_si128.
53234 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
53235 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
53236 (__m128i_shift_right): Removed.
53237 * sysdeps/i386/i686/multiarch/varshift.h: New file.
53238 * sysdeps/i386/i686/multiarch/varshift.S: New file.
53239 * sysdeps/x86_64/multiarch/varshift.h: New file.
53240 * sysdeps/x86_64/multiarch/varshift.S: New file.
53241
84b9230c
MF
532422010-08-21 Mike Frysinger <vapier@gentoo.org>
53243
53244 * configure.in: Move assembler checks to before sysdep dir checking.
53245
9bbd0ddc
PB
532462010-08-20 Petr Baudis <pasky@suse.cz>
53247
53248 * LICENSES: Sync the sunrpc license.
53249
9da4bb31
UD
532502010-08-19 Ulrich Drepper <drepper@redhat.com>
53251
a7ab6ec8
UD
53252 * sunrpc/auth_des.c: Update copyright notice once again.
53253 * sunrpc/auth_none.c: Likewise.
53254 * sunrpc/auth_unix.c: Likewise.
53255 * sunrpc/authdes_prot.c: Likewise.
53256 * sunrpc/authuxprot.c: Likewise.
53257 * sunrpc/bindrsvprt.c: Likewise.
53258 * sunrpc/clnt_gen.c: Likewise.
53259 * sunrpc/clnt_perr.c: Likewise.
53260 * sunrpc/clnt_raw.c: Likewise.
53261 * sunrpc/clnt_simp.c: Likewise.
53262 * sunrpc/clnt_tcp.c: Likewise.
53263 * sunrpc/clnt_udp.c: Likewise.
53264 * sunrpc/clnt_unix.c: Likewise.
53265 * sunrpc/des_crypt.c: Likewise.
53266 * sunrpc/des_soft.c: Likewise.
53267 * sunrpc/get_myaddr.c: Likewise.
53268 * sunrpc/getrpcport.c: Likewise.
53269 * sunrpc/key_call.c: Likewise.
53270 * sunrpc/key_prot.c: Likewise.
53271 * sunrpc/openchild.c: Likewise.
53272 * sunrpc/pm_getmaps.c: Likewise.
53273 * sunrpc/pm_getport.c: Likewise.
53274 * sunrpc/pmap_clnt.c: Likewise.
53275 * sunrpc/pmap_prot.c: Likewise.
53276 * sunrpc/pmap_prot2.c: Likewise.
53277 * sunrpc/pmap_rmt.c: Likewise.
53278 * sunrpc/rpc/auth.h: Likewise.
53279 * sunrpc/rpc/auth_unix.h: Likewise.
53280 * sunrpc/rpc/clnt.h: Likewise.
53281 * sunrpc/rpc/des_crypt.h: Likewise.
53282 * sunrpc/rpc/key_prot.h: Likewise.
53283 * sunrpc/rpc/netdb.h: Likewise.
53284 * sunrpc/rpc/pmap_clnt.h: Likewise.
53285 * sunrpc/rpc/pmap_prot.h: Likewise.
53286 * sunrpc/rpc/pmap_rmt.h: Likewise.
53287 * sunrpc/rpc/rpc.h: Likewise.
53288 * sunrpc/rpc/rpc_des.h: Likewise.
53289 * sunrpc/rpc/rpc_msg.h: Likewise.
53290 * sunrpc/rpc/svc.h: Likewise.
53291 * sunrpc/rpc/svc_auth.h: Likewise.
53292 * sunrpc/rpc/types.h: Likewise.
53293 * sunrpc/rpc/xdr.h: Likewise.
53294 * sunrpc/rpc_clntout.c: Likewise.
53295 * sunrpc/rpc_cmsg.c: Likewise.
53296 * sunrpc/rpc_common.c: Likewise.
53297 * sunrpc/rpc_cout.c: Likewise.
53298 * sunrpc/rpc_dtable.c: Likewise.
53299 * sunrpc/rpc_hout.c: Likewise.
53300 * sunrpc/rpc_main.c: Likewise.
53301 * sunrpc/rpc_parse.c: Likewise.
53302 * sunrpc/rpc_parse.h: Likewise.
53303 * sunrpc/rpc_prot.c: Likewise.
53304 * sunrpc/rpc_sample.c: Likewise.
53305 * sunrpc/rpc_scan.c: Likewise.
53306 * sunrpc/rpc_scan.h: Likewise.
53307 * sunrpc/rpc_svcout.c: Likewise.
53308 * sunrpc/rpc_tblout.c: Likewise.
53309 * sunrpc/rpc_util.c: Likewise.
53310 * sunrpc/rpc_util.h: Likewise.
53311 * sunrpc/rpcinfo.c: Likewise.
53312 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
53313 * sunrpc/rpcsvc/key_prot.x: Likewise.
53314 * sunrpc/rpcsvc/klm_prot.x: Likewise.
53315 * sunrpc/rpcsvc/mount.x: Likewise.
53316 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
53317 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
53318 * sunrpc/rpcsvc/rex.x: Likewise.
53319 * sunrpc/rpcsvc/rstat.x: Likewise.
53320 * sunrpc/rpcsvc/rusers.x: Likewise.
53321 * sunrpc/rpcsvc/sm_inter.x: Likewise.
53322 * sunrpc/rpcsvc/spray.x: Likewise.
53323 * sunrpc/rpcsvc/yppasswd.x: Likewise.
53324 * sunrpc/rtime.c: Likewise.
53325 * sunrpc/svc.c: Likewise.
53326 * sunrpc/svc_auth.c: Likewise.
53327 * sunrpc/svc_authux.c: Likewise.
53328 * sunrpc/svc_raw.c: Likewise.
53329 * sunrpc/svc_run.c: Likewise.
53330 * sunrpc/svc_simple.c: Likewise.
53331 * sunrpc/svc_tcp.c: Likewise.
53332 * sunrpc/svc_udp.c: Likewise.
53333 * sunrpc/svc_unix.c: Likewise.
53334 * sunrpc/svcauth_des.c: Likewise.
53335 * sunrpc/xcrypt.c: Likewise.
53336 * sunrpc/xdr.c: Likewise.
53337 * sunrpc/xdr_array.c: Likewise.
53338 * sunrpc/xdr_float.c: Likewise.
53339 * sunrpc/xdr_mem.c: Likewise.
53340 * sunrpc/xdr_rec.c: Likewise.
53341 * sunrpc/xdr_ref.c: Likewise.
53342 * sunrpc/xdr_sizeof.c: Likewise.
53343 * sunrpc/xdr_stdio.c: Likewise.
53344
9da4bb31
UD
53345 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
53346 handling.
53347
bdaa77bc
AS
533482010-08-19 Andreas Schwab <schwab@redhat.com>
53349
53350 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
53351
fe2f79db
LM
533522010-08-19 Luis Machado <luisgpm@br.ibm.com>
53353
53354 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
53355 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
53356 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
53357 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
53358 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
53359 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
53360 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
53361 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
53362 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
53363 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
53364 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
53365 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
53366 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
53367 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
53368
b9b42ee0
AB
533692010-07-26 Anton Blanchard <anton@samba.org>
53370
53371 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
53372 * malloc/arena.c (heap_trim): Likewise.
53373
1c06ba31
UD
533742010-08-16 Ulrich Drepper <drepper@redhat.com>
53375
53376 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
53377 here. Not...
53378 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
53379 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
53380
f8392f40
L
533812010-08-12 H.J. Lu <hongjiu.lu@intel.com>
53382
53383 * sysdeps/i386/elf/Makefile: New file.
53384
3162f12e
AS
533852010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53386
53387 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
53388 from fanotify_init.
53389 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
53390 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53391
28c90b2c
UD
533922010-08-15 Ulrich Drepper <drepper@redhat.com>
53393
53394 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
53395 of strncasecmp_l.
1feccb6c 53396 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 53397
ca6bb004
UD
533982010-08-14 Ulrich Drepper <drepper@redhat.com>
53399
e9f82e0d
UD
53400 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53401 strncase_l-nonascii.
53402 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53403 Add strncase_l-ssse3.
53404 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
53405 * sysdeps/x86_64/strcmp.S: Likewise.
53406 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
53407 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
53408 * sysdeps/x86_64/strncase.S: New file.
53409 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
53410 * sysdeps/x86_64/strncase_l.S: New file.
53411 * string/Makefile (strop-tests): Add strncasecmp.
53412 * string/test-strncasecmp.c: New file.
53413
53414 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
53415 warning.
53416
ca6bb004
UD
53417 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
53418 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
53419
052fa7b3
AS
534202010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53421
53422 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
53423
962dba78
UD
534242010-08-12 Ulrich Drepper <drepper@redhat.com>
53425
53426 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
53427 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
53428 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
53429
bebff237
AM
534302010-05-01 Alan Modra <amodra@gmail.com>
53431
53432 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
53433 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
53434 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
53435 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
53436 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
53437 tidying. Don't tail-call __sigjmp_save for static lib.
53438 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
53439 save location.
53440 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
53441 (CALL_MCOUNT): Add eh info, and nop after bl.
53442 (TAIL_CALL_SYSCALL_ERROR): New macro.
53443 (PSEUDO_RET): Use it.
53444 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53445 Correct save location of integer regs and cr.
53446 (_dl_profile_resolve): Correct cr save location. Delete nops
53447 after bl when SHARED. Reduce cfi size a little by better
53448 placement of cfi directives.
53449 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
53450 make a stack frame. Instead use parm save area as a temp.
53451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
53452 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
53453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53454 Don't make a stack frame for parent, use parm save area.
53455 Increase child stack frame to 112 bytes. Don't save unused reg,
53456 and adjust reg usage. Set up cfi on error recovery and
53457 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
53458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53459 (__makecontext): Add dummy nop after jump to exit.
53460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
53461 Use correct parm save area and cr save, reduce stack frame.
53462 Correct cfi for possible PSEUDO_RET frame setup.
53463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
53464 Branch to local label emitted by PSEUDO_RET rather than
53465 __syscall_error.
53466
02637374
AS
534672010-08-12 Andreas Schwab <schwab@redhat.com>
53468
53469 [BZ #11904]
53470 * locale/programs/locale.c (print_assignment): New function.
53471 (show_locale_vars): Use it.
53472
c3e2f19b
UD
534732010-08-11 Ulrich Drepper <drepper@redhat.com>
53474
3cdaa6ad
UD
53475 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
53476 field.
53477 (struct statfs64): Likewise.
53478 (_STATFS_F_FLAGS): Define.
53479 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
53480 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53481 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
53482 (ST_VALID): Define locally.
53483 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
53484 __statvfs_getflags, use the provided value.
53485 * sysdeps/unix/sysv/linux/kernel-features.h: Define
53486 __ASSUME_STATFS_F_FLAGS.
53487
754f7da3
UD
53488 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
53489
10b3bedc
UD
53490 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
53491 Add sys/fanotify.h.
53492 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
53493 fanotify_mask for GLIBC_2.13.
53494 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
53495 fanotify_init and fanotify_mark.
53496 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53497 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
53498
c08fb0d7
UD
53499 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
53500 Add prlimit.
53501 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
53502 prlimit64 for GLIBC_2.13.
53503 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
53504 prlimit64.
53505 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
53506 syscall.
53507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
53508 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53509 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
53510 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
53511 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
53512 add prlimit alias.
53513 * sysdeps/unix/sysv/linux/prlimit.c: New file.
53514
15bac72b
UD
53515 [BZ #11903]
53516 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
53517 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
53518
c3e2f19b
UD
53519 * nss/Makefile: Add rules to build and run tst-nss-test1.
53520 * shlib-versions: Add entry for libnss_test1.
53521 * nss/nss_test1.c: New file.
53522 * nss/tst-nss-test1.c: New file.
53523
53524 * nss/nsswitch.c (__nss_database_custom): Define new variable.
53525 (__nss_configure_lookup): Set appropriate entry in
53526 __nss_configure_lookup to true.
53527 * nss/nsswitch.h: Define enum with indeces of databases in
53528 databases and __nss_database_custom arrays. Declare
53529 __nss_database_custom.
53530 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
53531 to avoid using nscd when custom rules are installed.
53532 * nss/getXXbyYY_r.c: Likewise.
53533 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53534
53535 * nss/nss_files/files-parse.c: Whitespace fixes.
53536
f15ce4d8
UD
535372010-08-09 Ulrich Drepper <drepper@redhat.com>
53538
53539 [BZ #11883]
53540 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
53541 * posix/fnmatch_loop.c: Likewise.
53542
d22e4cc9
AK
535432010-07-17 Andi Kleen <ak@linux.intel.com>
53544
53545 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
53546 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
53547 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
53548 * Versions.def [GLIBC_2.13]: Add.
53549
805bc17d
UD
535502010-08-06 Ulrich Drepper <drepper@redhat.com>
53551
53552 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53553 Also fail if tpwd after pwuid call is NULL.
53554
5a42321d
ST
535552010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
53556
53557 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
53558 when converting to ms.
53559
fd3ebeda
ST
535602010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53561
53562 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
53563 EOPNOTSUPP errors with ENOTTY.
53564 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
53565 EOPNOTSUPP errors with ENOTTY.
53566
73507d3a
UD
535672010-07-31 Ulrich Drepper <drepper@redhat.com>
53568
53569 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53570 Add strcasecmp_l-ssse3.
53571 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
53572 strcasecmp.
53573 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
53574 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
53575 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
53576
fe36dd02
UD
535772010-07-30 Ulrich Drepper <drepper@redhat.com>
53578
66f6765a
UD
53579 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
53580
42e08a54
UD
53581 * string/Makefile (strop-tests): Add strcasecmp.
53582 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53583 strcasecmp_l-nonascii.
53584 (gen-as-const-headers): Add locale-defines.sym.
53585 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
53586 * sysdeps/x86_64/strcasecmp.S: New file.
53587 * sysdeps/x86_64/strcasecmp_l.S: New file.
53588 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
53589 * sysdeps/x86_64/locale-defines.sym: New file.
53590 * string/test-strcasecmp.c: New file.
53591
fe36dd02
UD
53592 * string/test-strcasestr.c: Test both ends of the range of characters.
53593 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
53594
48cbc0d6
RM
535952010-07-29 Roland McGrath <roland@redhat.com>
53596
76e6d6bc 53597 [BZ #11856]
48cbc0d6
RM
53598 * manual/locale.texi (Yes-or-No Questions): Fix example code.
53599
880113d9
UD
536002010-07-27 Ulrich Drepper <drepper@redhat.com>
53601
53602 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
53603 for ld.so.
53604
deb9cabb
AS
536052010-07-27 Andreas Schwab <schwab@redhat.com>
53606
53607 * manual/memory.texi (Malloc Tunable Parameters): Document
53608 M_PERTURB.
53609
1c7570ff
RM
536102010-07-26 Roland McGrath <roland@redhat.com>
53611
53612 [BZ #11840]
53613 * configure.in (-fgnu89-inline check): Set and substitute
53614 gnu89_inline, not libc_cv_gnu89_inline.
53615 * configure: Regenerated.
53616 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
53617
24fb0f88
UD
536182010-07-26 Ulrich Drepper <drepper@redhat.com>
53619
53620 * string/test-strnlen.c: New file.
53621 * string/Makefile (strop-tests): Add strnlen.
53622 * string/tester.c (test_strnlen): Add a few more test cases.
53623 * string/tst-strlen.c: Better error reporting.
53624
53625 * sysdeps/x86_64/strnlen.S: New file.
53626
8e96b93a
UD
536272010-07-24 Ulrich Drepper <drepper@redhat.com>
53628
53629 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
53630 lower-latency instructions.
53631
dbc676d4
UD
536322010-07-23 Ulrich Drepper <drepper@redhat.com>
53633
53634 * string/test-strcasestr.c: New file.
53635 * string/test-strstr.c: New file.
53636 * string/Makefile (strop-tests): Add strstr and strcasestr.
53637 * string/str-two-way.h: Don't undefine MAX.
53638 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
53639
f6a31e0e
AS
536402010-07-21 Andreas Schwab <schwab@redhat.com>
53641
53642 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53643 strcasestr-nonascii.
53644 (CFLAGS-strcasestr-nonascii.c): Define.
53645 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
53646 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
53647 Remove unused attribute.
53648
5dbc3b6c
RM
536492010-07-20 Roland McGrath <roland@redhat.com>
53650
53651 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
53652 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
53653 ld.so.cache was broken. With it, there is no way to disable dsocaps
53654 like LD_HWCAP_MASK can disable hwcaps.
53655
23d101d8
EPM
536562010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53657
53658 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
53659
cc9f2e47
UD
536602010-07-16 Ulrich Drepper <drepper@redhat.com>
53661
53662 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
53663 call in strcasestr.
53664 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
53665 __strcasestr_sse42_nonascii.
53666 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
53667 strcasestr-nonascii.c.
53668 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
53669
77c1b069
LM
536702010-06-15 Luis Machado <luisgpm@br.ibm.com>
53671
53672 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
53673 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
53674 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
53675 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
53676
440566c3
UD
536772010-07-09 Ulrich Drepper <drepper@redhat.com>
53678
53679 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
53680 fcntl.
53681
5be9d05d
AS
536822010-07-06 Andreas Schwab <schwab@redhat.com>
53683
c30b7ee2 53684 [BZ #11577]
5be9d05d
AS
53685 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
53686 dl_signal_cerror.
53687
8a492a67
UD
536882010-07-06 Ulrich Drepper <drepper@redhat.com>
53689
53690 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
53691 _PC_PIPE_BUF using F_GETPIPE_SZ.
53692
713df3d5
RM
536932010-07-05 Roland McGrath <roland@redhat.com>
53694
53695 * manual/arith.texi (Rounding Functions): Fix rint description
53696 implicit in round description.
53697
702e8f14
UD
536982010-07-02 Ulrich Drepper <drepper@redhat.com>
53699
53700 * elf/Makefile: Fix linking for a few tests to make recent linker
53701 happy.
53702
52ed8be9
AS
537032010-06-30 Andreas Schwab <schwab@redhat.com>
53704
53705 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53706 $(common-objpfx)libc_nonshared.a.
53707
f47c9a11
LM
537082010-06-21 Luis Machado <luisgpm@br.ibm.com>
53709
53710 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
53711 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
53712 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53713 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53714 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
53715 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
53716 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53717 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
53719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
53720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
53721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
53723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
53725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
53726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
53727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
53728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
53730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
53732 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
53733 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
53734 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
53735 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
53736 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
53737 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
53738 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
53739 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
53740 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
53741 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
53742 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
53743 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
53744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
53745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
53746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
53747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
53748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
53749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
53750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
53751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
53752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
53753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
53754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
53755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
53756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
53757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
53758
6fb8cbcb
L
537592010-06-25 H.J. Lu <hongjiu.lu@intel.com>
53760
53761 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
53762 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
53763 * string/memmove.c (memmove): Renamed to ...
53764 (MEMMOVE): ...this. Default to memmove.
53765 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
53766 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
53767 (END_CHK): Define.
53768 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53769 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
53770 mempcpy-ssse3-back memmove-ssse3-back.
53771 * sysdeps/x86_64/multiarch/bcopy.S: New file .
53772 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
53773 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
53774 * sysdeps/x86_64/multiarch/memcpy.S: New file.
53775 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
53776 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
53777 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
53778 * sysdeps/x86_64/multiarch/memmove.c: New file.
53779 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
53780 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
53781 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
53782 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
53783 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
53784 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
53785 Define.
53786 (index_Fast_Copy_Backward): Define.
53787 (HAS_ARCH_FEATURE): Define.
53788 (HAS_FAST_REP_STRING): Define.
53789 (HAS_FAST_COPY_BACKWARD): Define.
53790
4e733bac 537912010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
53792
53793 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53794 Restore proper fallback handling.
53795
63c4ed22
UD
537962010-06-19 Ulrich Drepper <drepper@redhat.com>
53797
ac2b484c
UD
53798 [BZ #11701]
53799 * posix/group_member.c (__group_member): Correct checking loop.
53800
63c4ed22
UD
53801 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
53802 OOM in getpwuid_r correctly. Return error number when the caller
53803 should return, otherwise -1.
53804 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
53805 call returning > 0 value.
53806 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
53807
765ade4b
AS
538082010-06-07 Andreas Schwab <schwab@redhat.com>
53809
53810 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
53811 libc_nonshared.a from targets in modules-names.
53812
80da2e09
KS
538132010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
53814
53815 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
53816 requires it.
53817
158db122
LM
538182010-06-10 Luis Machado <luisgpm@br.ibm.com>
53819
53820 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
53821 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
53822 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
53823 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
53824
caa78cf8
AS
538252010-06-02 Andreas Schwab <schwab@redhat.com>
53826
53827 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
53828
b2ef2c01
UD
538292010-06-14 Ulrich Drepper <drepper@redhat.com>
53830
53831 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
53832 and F_GETPIPE_SZ.
53833 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53834 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53835 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53836 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53837 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53838 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
53839
fbd643b6
RM
538402010-06-14 Roland McGrath <roland@redhat.com>
53841
53842 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
53843
f32f2869
JJ
538442010-06-07 Jakub Jelinek <jakub@redhat.com>
53845
53846 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
53847 __REDIRECT followed by __THROW.
53848 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
53849 * posix/getopt.h (getopt): Likewise.
53850
2a50c078
EPM
538512010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53852
53853 * hurd/lookup-at.c (__file_name_lookup_at): Accept
53854 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
53855 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
53856 in AT_FLAGS.
53857 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
53858 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
53859
eb5ad2eb
LM
538602010-05-28 Luis Machado <luisgpm@br.ibm.com>
53861
53862 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
53863
3c88fe1e
L
538642010-05-26 H.J. Lu <hongjiu.lu@intel.com>
53865
53866 [BZ #11640]
53867 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53868 Properly check family and model.
53869
d2f73151
TY
538702010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
53871
53872 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
53873
ebd2e13d
LM
538742010-05-24 Luis Machado <luisgpm@br.ibm.com>
53875
53876 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
53877
b32b8b45
UD
538782010-05-21 Ulrich Drepper <drepper@redhat.com>
53879
53880 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
53881 symbol reference.
53882
9acbe24d
AS
538832010-05-19 Andreas Schwab <schwab@redhat.com>
53884
53885 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
53886 symbol reference.
53887
f0ccf6ea
AS
538882010-05-21 Andreas Schwab <schwab@redhat.com>
53889
3d04ff3a
AS
53890 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
53891 and internal_recvmmsg.
53892 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
53893 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
53894 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
53895 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
53896
f0ccf6ea
AS
53897 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
53898 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
53899 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
53900
5b08ac57
AS
539012010-05-20 Andreas Schwab <schwab@redhat.com>
53902
53903 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
53904
4828935d
LM
539052010-05-17 Luis Machado <luisgpm@br.ibm.com>
53906
53907 POWER7 optimizations.
53908 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
53909 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
53910
373d545e
UD
539112010-05-19 Ulrich Drepper <drepper@redhat.com>
53912
53913 * version.h: Update for 2.13 development version.
53914
21a2b1ae
AS
539152010-05-12 Andrew Stubbs <ams@codesourcery.com>
53916
53917 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
53918 exceptions. Return 0.
53919
3f7dcb2b
RM
539202010-05-07 Roland McGrath <roland@redhat.com>
53921
53922 * elf/ldconfig.c (main): Add a const.
53923
5f24d53a 539242010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 53925
a160f8d8
UD
53926 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
53927 (args_options): Add no-idn option.
53928 (ahosts_keys_int): Add idn_flags to ai_flags.
53929 (parse_option): Handle 'i' option to clear idn_flags.
53930
5f24d53a
UD
53931 * malloc/malloc.c (_int_free): Possible race in the most recently
53932 added check. Only act on the data if no current modification
53933 happened.
265bb1ce
UD
53934
53935See ChangeLog.17 for earlier changes.
This page took 7.714423 seconds and 5 git commands to generate.