diff options
author | Florian Weimer <fweimer@redhat.com> | 2017-08-13 21:11:38 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2017-08-13 21:11:38 +0200 |
commit | e1d2ae8d217e50551802f3906099c8adc9f0811e (patch) | |
tree | 25b4656da90b19e7ea2edfb3b9e4a9f0e0b0280a /sysdeps/generic/ldsodefs.h | |
parent | c4ce038287c907495d589104e497991185d43c89 (diff) | |
download | glibc-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 'sysdeps/generic/ldsodefs.h')
-rw-r--r-- | sysdeps/generic/ldsodefs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h index 1c0b9cb..55bb5e9 100644 --- a/sysdeps/generic/ldsodefs.h +++ b/sysdeps/generic/ldsodefs.h @@ -377,7 +377,7 @@ struct rtld_global /* If loading a shared object requires that we make the stack executable when it was not, we do it by calling this function. It returns an errno code or zero on success. */ - EXTERN int (*_dl_make_stack_executable_hook) (void **) internal_function; + EXTERN int (*_dl_make_stack_executable_hook) (void **); /* Prevailing state of the stack, PF_X indicating it's executable. */ EXTERN ElfW(Word) _dl_stack_flags; @@ -632,7 +632,7 @@ extern size_t _dl_phnum; /* This is the initial value of GL(dl_make_stack_executable_hook). A threads library can change it. */ -extern int _dl_make_stack_executable (void **stack_endp) internal_function; +extern int _dl_make_stack_executable (void **stack_endp); rtld_hidden_proto (_dl_make_stack_executable) /* Variable pointing to the end of the stack (or close to it). This value |