aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-runtime.c4
-rw-r--r--elf/rtld.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/elf/dl-runtime.c b/elf/dl-runtime.c
index 7a77f46b93..d9c99c4785 100644
--- a/elf/dl-runtime.c
+++ b/elf/dl-runtime.c
@@ -42,7 +42,7 @@
function. */
#ifndef ELF_MACHINE_NO_PLT
-static ElfW(Addr) __attribute__ ((unused))
+static ElfW(Addr) __attribute_used__
fixup (
# ifdef ELF_MACHINE_RUNTIME_FIXUP_ARGS
ELF_MACHINE_RUNTIME_FIXUP_ARGS,
@@ -126,7 +126,7 @@ fixup (
#if !defined PROF && !defined ELF_MACHINE_NO_PLT && !__BOUNDED_POINTERS__
-static ElfW(Addr) __attribute__ ((unused))
+static ElfW(Addr) __attribute_used__
profile_fixup (
#ifdef ELF_MACHINE_RUNTIME_FIXUP_ARGS
ELF_MACHINE_RUNTIME_FIXUP_ARGS,
diff --git a/elf/rtld.c b/elf/rtld.c
index cf7f7efca9..47ac3e3cb6 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -145,7 +145,7 @@ RTLD_START
# error "sysdeps/MACHINE/dl-machine.h fails to define RTLD_START"
#endif
-static ElfW(Addr)
+static ElfW(Addr) __attribute_used__
_dl_start (void *arg)
{
struct link_map bootstrap_map;