This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: [PATCH] hppa: use hidden_def with internal pthread funcs
- From: "Carlos O'Donell" <carlos at systemhalted dot org>
- To: Mike Frysinger <vapier at gentoo dot org>
- Cc: libc-ports at sourceware dot org
- Date: Mon, 19 Nov 2012 00:46:26 -0500
- Subject: Re: [PATCH] hppa: use hidden_def with internal pthread funcs
- References: <1353229479-24994-1-git-send-email-vapier@gentoo.org>
On Sun, Nov 18, 2012 at 4:04 AM, Mike Frysinger <vapier@gentoo.org> wrote:
> This matches what everyone else has done already, and allows to it
> to actually compile.
Thanks for this!
I'm sorry for not having pushed this out earlier, since I also have
this change in my local git stash.
I've just pushed out 4 more commits which should be useful to gentoo,
the most important being the implementation of fpu_control.h and
get-rounding-mode.h.
> 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
Wrong architecture ;-)
> + _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
Missed copyright year update and merge.
> @@ -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
>
Checked in.
Cheers,
Carlos.