This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
[PATCH] hppa: use hidden_def with internal pthread funcs
- From: Mike Frysinger <vapier at gentoo dot org>
- To: libc-ports at sourceware dot org
- Cc: carlos at systemhalted dot org
- Date: Sun, 18 Nov 2012 04:04:39 -0500
- Subject: [PATCH] hppa: use hidden_def with internal pthread funcs
This matches what everyone else has done already, and allows to it
to actually compile.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
ports/ChangeLog.hppa | 5 +++++
ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread_once.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/ports/ChangeLog.hppa b/ports/ChangeLog.hppa
index 201dd01..eeb8d45 100644
--- a/ports/ChangeLog.hppa
+++ b/ports/ChangeLog.hppa
@@ -1,3 +1,8 @@
+2012-11-18 Mike Frysinger <vapier@gentoo.org>
+
+ * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Replace
+ _internal alias by hidden_def.
+
2012-11-05 Joseph Myers <joseph@codesourcery.com>
[BZ #14805]
diff --git a/ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread_once.c b/ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread_once.c
index 974819e..94dc71a 100644
--- a/ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread_once.c
+++ b/ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread_once.c
@@ -90,4 +90,4 @@ __pthread_once (once_control, init_routine)
return 0;
}
weak_alias (__pthread_once, pthread_once)
-strong_alias (__pthread_once, __pthread_once_internal)
+hidden_def (__pthread_once)
--
1.7.12.4