Skip to content

Commit

Permalink
* sysdeps/ieee754/ldbl-128ibm/strtold_l.c (___new_strtold_l,
Browse files Browse the repository at this point in the history
___new_wcstold_l): New weak aliases. 
(strtold_l, wcstold_l): Use them as second argument for 
long_double_symbol.
2007-08-10  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/ieee754/ldbl-128ibm/strtold_l.c (___new_strtold_l,
	___new_wcstold_l): New weak aliases.
	(strtold_l, wcstold_l): Use them as second argument for
	long_double_symbol.
  • Loading branch information
Jakub Jelinek committed Aug 10, 2007
1 parent 6479496 commit 1e28665
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
7 changes: 7 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
2007-08-10 Jakub Jelinek <jakub@redhat.com>

* sysdeps/ieee754/ldbl-128ibm/strtold_l.c (___new_strtold_l,
___new_wcstold_l): New weak aliases.
(strtold_l, wcstold_l): Use them as second argument for
long_double_symbol.

2007-08-09 Ulrich Drepper <drepper@redhat.com>

* sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Use correct
Expand Down
6 changes: 4 additions & 2 deletions sysdeps/ieee754/ldbl-128ibm/strtold_l.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,12 @@ libc_hidden_proto (STRTOF)
#ifdef __LONG_DOUBLE_MATH_OPTIONAL
# include <math_ldbl_opt.h>
# ifdef USE_WIDE_CHAR
long_double_symbol (libc, __new_wcstold_l, wcstold_l);
weak_alias (____new_wcstold_l, ___new_wcstold_l);
long_double_symbol (libc, ___new_wcstold_l, wcstold_l);
long_double_symbol (libc, ____new_wcstold_l, __wcstold_l);
# else
long_double_symbol (libc, __new_strtold_l, strtold_l);
weak_alias (____new_strtold_l, ___new_strtold_l);
long_double_symbol (libc, ___new_strtold_l, strtold_l);
long_double_symbol (libc, ____new_strtold_l, __strtold_l);
# endif
#endif

0 comments on commit 1e28665

Please sign in to comment.