Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 May 2017 15:55:03 +0000 (UTC)
From:      Eric van Gyzen <vangyzen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r318954 - in head/libexec/rtld-elf: arm mips powerpc powerpc64 riscv
Message-ID:  <201705261555.v4QFt37L088210@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705261555.v4QFt37L088210>