public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Get rid of __libm_error_support PLT entry on IA-64
@ 2004-04-23 13:36 Jakub Jelinek
  2004-05-03 22:41 ` Ulrich Drepper
  0 siblings, 1 reply; 2+ messages in thread
From: Jakub Jelinek @ 2004-04-23 13:36 UTC (permalink / raw)
  To: Ulrich Drepper; +Cc: Glibc hackers

Hi!

2004-04-23  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Add
	libc_hidden_proto.  Define to __GI___libm_error_support for
	assembly going into libc.so.
	* sysdeps/ia64/fpu/libc_libm_error.c (__libm_error_support): Add
	libc_hidden_def.

--- libc/sysdeps/ia64/fpu/libm_support.h.jj	2004-04-21 19:00:15.000000000 -0400
+++ libc/sysdeps/ia64/fpu/libm_support.h	2004-04-23 09:20:11.000000000 -0400
@@ -239,6 +239,7 @@ typedef enum
 } error_types;
 
 void __libm_error_support(void*,void*,void*,error_types);
+libc_hidden_proto(__libm_error_support)
 
 #define BIAS_64  1023
 #define EXPINF_64  2047
@@ -340,6 +341,13 @@ extern _LIB_VERSION_TYPE _LIB_VERSION;
 // This is a run-time variable and may effect
 // floating point behavior of the libm functions
 
+#elif defined _LIBC
+
+# if !defined NOT_IN_libc && defined SHARED && defined DO_VERSIONING \
+     && !defined HAVE_BROKEN_ALIAS_ATTRIBUTE && !defined NO_HIDDEN
+#  define __libm_error_support  __GI___libm_error_support
+# endif
+
 #endif	/* __ASSEMBLER__ */
 
 /* Support for compatible assembler handling.  */
--- libc/sysdeps/ia64/fpu/libc_libm_error.c.jj	2001-02-19 17:08:30.000000000 -0500
+++ libc/sysdeps/ia64/fpu/libc_libm_error.c	2004-04-23 09:16:00.000000000 -0400
@@ -11,3 +11,4 @@ __libm_error_support (void *arg1, void *
 {
   __set_errno (ERANGE);
 }
+libc_hidden_def (__libm_error_support)

	Jakub

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Get rid of __libm_error_support PLT entry on IA-64
  2004-04-23 13:36 [PATCH] Get rid of __libm_error_support PLT entry on IA-64 Jakub Jelinek
@ 2004-05-03 22:41 ` Ulrich Drepper
  0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Drepper @ 2004-05-03 22:41 UTC (permalink / raw)
  To: Jakub Jelinek; +Cc: Glibc hackers

Applied.

-- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-05-03 22:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-23 13:36 [PATCH] Get rid of __libm_error_support PLT entry on IA-64 Jakub Jelinek
2004-05-03 22:41 ` Ulrich Drepper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).