Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jan 2019 02:33:20 +0000 (UTC)
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r342985 - head/libexec/rtld-elf/powerpc64
Message-ID:  <201901130233.x0D2XKma046599@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhibbits
Date: Sun Jan 13 02:33:20 2019
New Revision: 342985
URL: https://svnweb.freebsd.org/changeset/base/342985

Log:
  Fix rtld-elf compilation warning for powerpc64 ELFv2 ABI
  
  Summary: reloc_jmpslot function parameter 'defobj' is not used when using ELFv2
  ABI
  
  Submitted by:	alfredo.junior_eldorado.org.br
  Reviewed By: kib, git_bdragon.rtk0.net, emaste, jhibbits
  Differential Revision: https://reviews.freebsd.org/D18808

Modified:
  head/libexec/rtld-elf/powerpc64/reloc.c

Modified: head/libexec/rtld-elf/powerpc64/reloc.c
==============================================================================
--- head/libexec/rtld-elf/powerpc64/reloc.c	Sun Jan 13 02:28:37 2019	(r342984)
+++ head/libexec/rtld-elf/powerpc64/reloc.c	Sun Jan 13 02:33:20 2019	(r342985)
@@ -447,7 +447,7 @@ reloc_jmpslots(Obj_Entry *obj, int flags, RtldLockStat
  * Update the value of a PLT jump slot.
  */
 Elf_Addr
-reloc_jmpslot(Elf_Addr *wherep, Elf_Addr target, const Obj_Entry *defobj,
+reloc_jmpslot(Elf_Addr *wherep, Elf_Addr target, const Obj_Entry *defobj __unused,
     const Obj_Entry *obj __unused, const Elf_Rel *rel __unused)
 {
 



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