aboutsummaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-08-13 21:11:38 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-08-13 21:11:38 +0200
commite1d2ae8d217e50551802f3906099c8adc9f0811e (patch)
tree25b4656da90b19e7ea2edfb3b9e4a9f0e0b0280a /nptl
parentc4ce038287c907495d589104e497991185d43c89 (diff)
downloadglibc-e1d2ae8d217e50551802f3906099c8adc9f0811e.zip
glibc-e1d2ae8d217e50551802f3906099c8adc9f0811e.tar.gz
glibc-e1d2ae8d217e50551802f3906099c8adc9f0811e.tar.bz2
NPTL: Remove internal_function from stack marking functions
These are called across DSO boundaries and therefore should use the ABI calling convention.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/allocatestack.c1
-rw-r--r--nptl/pthreadP.h3
2 files changed, 1 insertions, 3 deletions
diff --git a/nptl/allocatestack.c b/nptl/allocatestack.c
index ce2e24a..6d1bcaa 100644
--- a/nptl/allocatestack.c
+++ b/nptl/allocatestack.c
@@ -784,7 +784,6 @@ __deallocate_stack (struct pthread *pd)
int
-internal_function
__make_stacks_executable (void **stack_endp)
{
/* First the main thread's stack. */
diff --git a/nptl/pthreadP.h b/nptl/pthreadP.h
index 6e7d6ff..5f0c182 100644
--- a/nptl/pthreadP.h
+++ b/nptl/pthreadP.h
@@ -356,8 +356,7 @@ extern void __deallocate_stack (struct pthread *pd)
extern void __reclaim_stacks (void) attribute_hidden;
/* Make all threads's stacks executable. */
-extern int __make_stacks_executable (void **stack_endp)
- internal_function attribute_hidden;
+extern int __make_stacks_executable (void **stack_endp) attribute_hidden;
/* longjmp handling. */
extern void __pthread_cleanup_upto (__jmp_buf target, char *targetframe);