Author: vangyzen Date: Fri May 26 15:55:03 2017 New Revision: 318954 URL: https://svnweb.freebsd.org/changeset/base/318954
Log: rtld: fix warnings about redundant declarations Fix warnings about redundant declarations in rtld when libthr in increased to WARNS=6. Reviewed by: kib MFC after: 3 days Sponsored by: Dell EMC Differential Revision: https://reviews.freebsd.org/D10934 Modified: head/libexec/rtld-elf/arm/rtld_machdep.h head/libexec/rtld-elf/mips/rtld_machdep.h head/libexec/rtld-elf/powerpc/rtld_machdep.h head/libexec/rtld-elf/powerpc64/rtld_machdep.h head/libexec/rtld-elf/riscv/rtld_machdep.h Modified: head/libexec/rtld-elf/arm/rtld_machdep.h ============================================================================== --- head/libexec/rtld-elf/arm/rtld_machdep.h Fri May 26 15:53:27 2017 (r318953) +++ head/libexec/rtld-elf/arm/rtld_machdep.h Fri May 26 15:55:03 2017 (r318954) @@ -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 Modified: head/libexec/rtld-elf/mips/rtld_machdep.h ============================================================================== --- head/libexec/rtld-elf/mips/rtld_machdep.h Fri May 26 15:53:27 2017 (r318953) +++ head/libexec/rtld-elf/mips/rtld_machdep.h Fri May 26 15:55:03 2017 (r318954) @@ -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 Modified: head/libexec/rtld-elf/powerpc/rtld_machdep.h ============================================================================== --- head/libexec/rtld-elf/powerpc/rtld_machdep.h Fri May 26 15:53:27 2017 (r318953) +++ head/libexec/rtld-elf/powerpc/rtld_machdep.h Fri May 26 15:55:03 2017 (r318954) @@ -54,11 +54,6 @@ Elf_Addr reloc_jmpslot(Elf_Addr *where, (((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. */ Modified: head/libexec/rtld-elf/powerpc64/rtld_machdep.h ============================================================================== --- head/libexec/rtld-elf/powerpc64/rtld_machdep.h Fri May 26 15:53:27 2017 (r318953) +++ head/libexec/rtld-elf/powerpc64/rtld_machdep.h Fri May 26 15:55:03 2017 (r318954) @@ -54,11 +54,6 @@ Elf_Addr reloc_jmpslot(Elf_Addr *where, (((Elf_Addr (*)(void))ptr)()) /* - * Lazy binding entry point, called via PLT. - */ -void _rtld_bind_start(void); - -/* * TLS */ Modified: head/libexec/rtld-elf/riscv/rtld_machdep.h ============================================================================== --- head/libexec/rtld-elf/riscv/rtld_machdep.h Fri May 26 15:53:27 2017 (r318953) +++ head/libexec/rtld-elf/riscv/rtld_machdep.h Fri May 26 15:55:03 2017 (r318954) @@ -80,11 +80,6 @@ Elf_Addr reloc_jmpslot(Elf_Addr *where, (((Elf_Addr (*)(void))ptr)()) /* - * Lazy binding entry point, called via PLT. - */ -void _rtld_bind_start(void); - -/* * TLS */ #define TLS_TP_OFFSET 0x0 _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"