From 6d1d60341747a49cc98d0bc2ff20875401e0d9a7 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Wed, 11 Nov 2020 14:39:51 +0000 Subject: [PATCH] htl: Fix spurious symbols in namespaces pthread_attr_{{get,set}stack{addr,size},setstack} were defining a strong alias for no reason, turning them to weak. --- sysdeps/htl/pt-attr-getstackaddr.c | 2 +- sysdeps/htl/pt-attr-getstacksize.c | 2 +- sysdeps/htl/pt-attr-setstack.c | 2 +- sysdeps/htl/pt-attr-setstackaddr.c | 2 +- sysdeps/htl/pt-attr-setstacksize.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sysdeps/htl/pt-attr-getstackaddr.c b/sysdeps/htl/pt-attr-getstackaddr.c index a35a940578..663cd02b41 100644 --- a/sysdeps/htl/pt-attr-getstackaddr.c +++ b/sysdeps/htl/pt-attr-getstackaddr.c @@ -25,4 +25,4 @@ __pthread_attr_getstackaddr (const pthread_attr_t *attr, void **stackaddr) *stackaddr = attr->__stackaddr; return 0; } -strong_alias (__pthread_attr_getstackaddr, pthread_attr_getstackaddr) +weak_alias (__pthread_attr_getstackaddr, pthread_attr_getstackaddr) diff --git a/sysdeps/htl/pt-attr-getstacksize.c b/sysdeps/htl/pt-attr-getstacksize.c index e4f6f68186..0fc61662a5 100644 --- a/sysdeps/htl/pt-attr-getstacksize.c +++ b/sysdeps/htl/pt-attr-getstacksize.c @@ -25,4 +25,4 @@ __pthread_attr_getstacksize (const pthread_attr_t *attr, size_t * stacksize) *stacksize = attr->__stacksize; return 0; } -strong_alias (__pthread_attr_getstacksize, pthread_attr_getstacksize) +weak_alias (__pthread_attr_getstacksize, pthread_attr_getstacksize) diff --git a/sysdeps/htl/pt-attr-setstack.c b/sysdeps/htl/pt-attr-setstack.c index 3c7a7e69b1..56e8ee87c1 100644 --- a/sysdeps/htl/pt-attr-setstack.c +++ b/sysdeps/htl/pt-attr-setstack.c @@ -47,4 +47,4 @@ __pthread_attr_setstack (pthread_attr_t *attr, void *stackaddr, size_t stacksize return 0; } -strong_alias (__pthread_attr_setstack, pthread_attr_setstack) +weak_alias (__pthread_attr_setstack, pthread_attr_setstack) diff --git a/sysdeps/htl/pt-attr-setstackaddr.c b/sysdeps/htl/pt-attr-setstackaddr.c index 57d03ce269..7d09047929 100644 --- a/sysdeps/htl/pt-attr-setstackaddr.c +++ b/sysdeps/htl/pt-attr-setstackaddr.c @@ -25,4 +25,4 @@ __pthread_attr_setstackaddr (pthread_attr_t *attr, void *stackaddr) attr->__stackaddr = stackaddr; return 0; } -strong_alias (__pthread_attr_setstackaddr, pthread_attr_setstackaddr) +weak_alias (__pthread_attr_setstackaddr, pthread_attr_setstackaddr) diff --git a/sysdeps/htl/pt-attr-setstacksize.c b/sysdeps/htl/pt-attr-setstacksize.c index a82ac68aca..b1cbcdb636 100644 --- a/sysdeps/htl/pt-attr-setstacksize.c +++ b/sysdeps/htl/pt-attr-setstacksize.c @@ -25,4 +25,4 @@ __pthread_attr_setstacksize (pthread_attr_t *attr, size_t stacksize) attr->__stacksize = stacksize; return 0; } -strong_alias (__pthread_attr_setstacksize, pthread_attr_setstacksize) +weak_alias (__pthread_attr_setstacksize, pthread_attr_setstacksize)