aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-08-13 21:11:54 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-08-13 21:11:54 +0200
commit3012cfb0d26653cbd6ee0c8e4875d3df806bd473 (patch)
tree4bb2d288ab6f1f5b472777c3e8fb5040bea8284e /elf
parent52bcdf267b2c97c90852f1598c8c29d0494cb3b5 (diff)
downloadglibc-3012cfb0d26653cbd6ee0c8e4875d3df806bd473.zip
glibc-3012cfb0d26653cbd6ee0c8e4875d3df806bd473.tar.gz
glibc-3012cfb0d26653cbd6ee0c8e4875d3df806bd473.tar.bz2
ld.so: Remove internal_function attribute from various functions
These functions are invoked from other DSOs and should therefore use the standard calling convention.
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-addr.c1
-rw-r--r--elf/dl-error-skeleton.c4
-rw-r--r--elf/dl-open.c1
-rw-r--r--elf/dl-tls.c3
4 files changed, 0 insertions, 9 deletions
diff --git a/elf/dl-addr.c b/elf/dl-addr.c
index 1fac63d..83e1b01 100644
--- a/elf/dl-addr.c
+++ b/elf/dl-addr.c
@@ -121,7 +121,6 @@ determine_info (const ElfW(Addr) addr, struct link_map *match, Dl_info *info,
int
-internal_function
_dl_addr (const void *address, Dl_info *info,
struct link_map **mapp, const ElfW(Sym) **symbolp)
{
diff --git a/elf/dl-error-skeleton.c b/elf/dl-error-skeleton.c
index 8de6c87..5b0fc89 100644
--- a/elf/dl-error-skeleton.c
+++ b/elf/dl-error-skeleton.c
@@ -104,7 +104,6 @@ _dl_signal_exception (int errcode, struct dl_exception *exception,
libc_hidden_def (_dl_signal_exception)
void
-internal_function
_dl_signal_error (int errcode, const char *objname, const char *occation,
const char *errstring)
{
@@ -150,7 +149,6 @@ _dl_signal_cexception (int errcode, struct dl_exception *exception,
}
void
-internal_function
_dl_signal_cerror (int errcode, const char *objname, const char *occation,
const char *errstring)
{
@@ -210,7 +208,6 @@ _dl_catch_exception (struct dl_exception *exception,
libc_hidden_def (_dl_catch_exception)
int
-internal_function
_dl_catch_error (const char **objname, const char **errstring,
bool *mallocedp, void (*operate) (void *), void *args)
{
@@ -225,7 +222,6 @@ libc_hidden_def (_dl_catch_error)
#if DL_ERROR_BOOTSTRAP
void
-internal_function
_dl_receive_error (receiver_fct fct, void (*operate) (void *), void *args)
{
struct catch *old_catch = catch_hook;
diff --git a/elf/dl-open.c b/elf/dl-open.c
index 91a1d1a..2d8948a 100644
--- a/elf/dl-open.c
+++ b/elf/dl-open.c
@@ -162,7 +162,6 @@ add_to_global (struct link_map *new)
address ADDR. Returns the pointer to the link map of the matching DSO, or
NULL if a match is not found. */
struct link_map *
-internal_function
_dl_find_dso_for_object (const ElfW(Addr) addr)
{
struct link_map *l;
diff --git a/elf/dl-tls.c b/elf/dl-tls.c
index 5aba33b..ddf9fb2 100644
--- a/elf/dl-tls.c
+++ b/elf/dl-tls.c
@@ -439,7 +439,6 @@ _dl_resize_dtv (dtv_t *dtv)
void *
-internal_function
_dl_allocate_tls_init (void *result)
{
if (result == NULL)
@@ -532,7 +531,6 @@ _dl_allocate_tls_init (void *result)
rtld_hidden_def (_dl_allocate_tls_init)
void *
-internal_function
_dl_allocate_tls (void *mem)
{
return _dl_allocate_tls_init (mem == NULL
@@ -543,7 +541,6 @@ rtld_hidden_def (_dl_allocate_tls)
void
-internal_function
_dl_deallocate_tls (void *tcb, bool dealloc_tcb)
{
dtv_t *dtv = GET_DTV (tcb);