diff options
author | vangyzen <vangyzen@FreeBSD.org> | 2017-06-01 15:12:51 +0000 |
---|---|---|
committer | vangyzen <vangyzen@FreeBSD.org> | 2017-06-01 15:12:51 +0000 |
commit | 5e170453372eb92d479ec8beb3e61951b2369f71 (patch) | |
tree | 0cd7b09a937d006e18c1c3d63954d4f015f6239e | |
parent | 5995fe1e066ca199df144e82bab6158f8c6a82fd (diff) | |
download | FreeBSD-src-5e170453372eb92d479ec8beb3e61951b2369f71.zip FreeBSD-src-5e170453372eb92d479ec8beb3e61951b2369f71.tar.gz |
MFC r318954
rtld: fix warnings about redundant declarations
Fix warnings about redundant declarations in rtld
when libthr in increased to WARNS=6.
Sponsored by: Dell EMC
-rw-r--r-- | libexec/rtld-elf/arm/rtld_machdep.h | 5 | ||||
-rw-r--r-- | libexec/rtld-elf/mips/rtld_machdep.h | 5 | ||||
-rw-r--r-- | libexec/rtld-elf/powerpc/rtld_machdep.h | 5 | ||||
-rw-r--r-- | libexec/rtld-elf/powerpc64/rtld_machdep.h | 5 | ||||
-rw-r--r-- | libexec/rtld-elf/riscv/rtld_machdep.h | 5 |
5 files changed, 0 insertions, 25 deletions
diff --git a/libexec/rtld-elf/arm/rtld_machdep.h b/libexec/rtld-elf/arm/rtld_machdep.h index 5639def..de57929 100644 --- a/libexec/rtld-elf/arm/rtld_machdep.h +++ b/libexec/rtld-elf/arm/rtld_machdep.h @@ -67,11 +67,6 @@ typedef struct { round(prev_offset + prev_size, align) #define calculate_tls_end(off, size) ((off) + (size)) -/* - * Lazy binding entry point, called via PLT. - */ -void _rtld_bind_start(void); - extern void *__tls_get_addr(tls_index *ti); #define RTLD_DEFAULT_STACK_PF_EXEC PF_X diff --git a/libexec/rtld-elf/mips/rtld_machdep.h b/libexec/rtld-elf/mips/rtld_machdep.h index 8536061..93a589ab 100644 --- a/libexec/rtld-elf/mips/rtld_machdep.h +++ b/libexec/rtld-elf/mips/rtld_machdep.h @@ -67,11 +67,6 @@ typedef struct { round(prev_offset + prev_size, align) #define calculate_tls_end(off, size) ((off) + (size)) -/* - * Lazy binding entry point, called via PLT. - */ -void _rtld_bind_start(void); - extern void *__tls_get_addr(tls_index *ti); #define RTLD_DEFAULT_STACK_PF_EXEC PF_X diff --git a/libexec/rtld-elf/powerpc/rtld_machdep.h b/libexec/rtld-elf/powerpc/rtld_machdep.h index b4e8b15..5eb8288 100644 --- a/libexec/rtld-elf/powerpc/rtld_machdep.h +++ b/libexec/rtld-elf/powerpc/rtld_machdep.h @@ -54,11 +54,6 @@ Elf_Addr reloc_jmpslot(Elf_Addr *where, Elf_Addr target, (((Elf_Addr (*)(void))ptr)()) /* - * Lazy binding entry point, called via PLT. - */ -void _rtld_bind_start(void); - -/* * PLT functions. Not really correct prototypes, but the * symbol values are needed. */ diff --git a/libexec/rtld-elf/powerpc64/rtld_machdep.h b/libexec/rtld-elf/powerpc64/rtld_machdep.h index a0fed7f..820248a 100644 --- a/libexec/rtld-elf/powerpc64/rtld_machdep.h +++ b/libexec/rtld-elf/powerpc64/rtld_machdep.h @@ -54,11 +54,6 @@ Elf_Addr reloc_jmpslot(Elf_Addr *where, Elf_Addr target, (((Elf_Addr (*)(void))ptr)()) /* - * Lazy binding entry point, called via PLT. - */ -void _rtld_bind_start(void); - -/* * TLS */ diff --git a/libexec/rtld-elf/riscv/rtld_machdep.h b/libexec/rtld-elf/riscv/rtld_machdep.h index 95669ff..bb1f686 100644 --- a/libexec/rtld-elf/riscv/rtld_machdep.h +++ b/libexec/rtld-elf/riscv/rtld_machdep.h @@ -80,11 +80,6 @@ Elf_Addr reloc_jmpslot(Elf_Addr *where, Elf_Addr target, (((Elf_Addr (*)(void))ptr)()) /* - * Lazy binding entry point, called via PLT. - */ -void _rtld_bind_start(void); - -/* * TLS */ #define TLS_TP_OFFSET 0x0 |