svn commit: r319434 - in stable/11/libexec/rtld-elf: arm mips powerpc powerpc64 riscv

Eric van Gyzen vangyzen at FreeBSD.org
Thu Jun 1 15:12:52 UTC 2017


Author: vangyzen
Date: Thu Jun  1 15:12:51 2017
New Revision: 319434
URL: https://svnweb.freebsd.org/changeset/base/319434

Log:
  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

Modified:
  stable/11/libexec/rtld-elf/arm/rtld_machdep.h
  stable/11/libexec/rtld-elf/mips/rtld_machdep.h
  stable/11/libexec/rtld-elf/powerpc/rtld_machdep.h
  stable/11/libexec/rtld-elf/powerpc64/rtld_machdep.h
  stable/11/libexec/rtld-elf/riscv/rtld_machdep.h
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/libexec/rtld-elf/arm/rtld_machdep.h
==============================================================================
--- stable/11/libexec/rtld-elf/arm/rtld_machdep.h	Thu Jun  1 15:11:18 2017	(r319433)
+++ stable/11/libexec/rtld-elf/arm/rtld_machdep.h	Thu Jun  1 15:12:51 2017	(r319434)
@@ -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: stable/11/libexec/rtld-elf/mips/rtld_machdep.h
==============================================================================
--- stable/11/libexec/rtld-elf/mips/rtld_machdep.h	Thu Jun  1 15:11:18 2017	(r319433)
+++ stable/11/libexec/rtld-elf/mips/rtld_machdep.h	Thu Jun  1 15:12:51 2017	(r319434)
@@ -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: stable/11/libexec/rtld-elf/powerpc/rtld_machdep.h
==============================================================================
--- stable/11/libexec/rtld-elf/powerpc/rtld_machdep.h	Thu Jun  1 15:11:18 2017	(r319433)
+++ stable/11/libexec/rtld-elf/powerpc/rtld_machdep.h	Thu Jun  1 15:12:51 2017	(r319434)
@@ -54,11 +54,6 @@ Elf_Addr reloc_jmpslot(Elf_Addr *where, Elf_Addr targe
 	(((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: stable/11/libexec/rtld-elf/powerpc64/rtld_machdep.h
==============================================================================
--- stable/11/libexec/rtld-elf/powerpc64/rtld_machdep.h	Thu Jun  1 15:11:18 2017	(r319433)
+++ stable/11/libexec/rtld-elf/powerpc64/rtld_machdep.h	Thu Jun  1 15:12:51 2017	(r319434)
@@ -54,11 +54,6 @@ Elf_Addr reloc_jmpslot(Elf_Addr *where, Elf_Addr targe
 	(((Elf_Addr (*)(void))ptr)())
 
 /*
- * Lazy binding entry point, called via PLT.
- */
-void _rtld_bind_start(void);
-
-/*
  * TLS
  */
 

Modified: stable/11/libexec/rtld-elf/riscv/rtld_machdep.h
==============================================================================
--- stable/11/libexec/rtld-elf/riscv/rtld_machdep.h	Thu Jun  1 15:11:18 2017	(r319433)
+++ stable/11/libexec/rtld-elf/riscv/rtld_machdep.h	Thu Jun  1 15:12:51 2017	(r319434)
@@ -80,11 +80,6 @@ Elf_Addr reloc_jmpslot(Elf_Addr *where, Elf_Addr targe
 	(((Elf_Addr (*)(void))ptr)())
 
 /*
- * Lazy binding entry point, called via PLT.
- */
-void _rtld_bind_start(void);
-
-/*
  * TLS
  */
 #define	TLS_TP_OFFSET	0x0


More information about the svn-src-all mailing list