svn commit: r475265 - in head/devel/binutils: . files

Li-Wen Hsu lwhsu at FreeBSD.org
Tue Jul 24 16:46:44 UTC 2018


Author: lwhsu
Date: Tue Jul 24 16:46:43 2018
New Revision: 475265
URL: https://svnweb.freebsd.org/changeset/ports/475265

Log:
  - Fix RISC-V ELF dynamic interpreter path
  
  Approved by:	bapt (maintainer)
  Sponsored by:	The FreeBSD Foundation
  Differential Revision:	https://reviews.freebsd.org/D16319

Added:
  head/devel/binutils/files/patch-bfd_elfnn-riscv.c   (contents, props changed)
Modified:
  head/devel/binutils/Makefile

Modified: head/devel/binutils/Makefile
==============================================================================
--- head/devel/binutils/Makefile	Tue Jul 24 15:54:00 2018	(r475264)
+++ head/devel/binutils/Makefile	Tue Jul 24 16:46:43 2018	(r475265)
@@ -3,7 +3,7 @@
 
 PORTNAME=	binutils
 PORTVERSION=	2.30
-PORTREVISION=	3
+PORTREVISION=	4
 PORTEPOCH?=	1
 CATEGORIES?=	devel
 MASTER_SITES=	SOURCEWARE/binutils/releases

Added: head/devel/binutils/files/patch-bfd_elfnn-riscv.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/binutils/files/patch-bfd_elfnn-riscv.c	Tue Jul 24 16:46:43 2018	(r475265)
@@ -0,0 +1,13 @@
+--- bfd/elfnn-riscv.c.orig	2018-07-18 12:09:50 UTC
++++ bfd/elfnn-riscv.c
+@@ -46,8 +46,8 @@
+ /* The name of the dynamic interpreter.  This is put in the .interp
+    section.  */
+ 
+-#define ELF64_DYNAMIC_INTERPRETER "/lib/ld.so.1"
+-#define ELF32_DYNAMIC_INTERPRETER "/lib32/ld.so.1"
++#define ELF64_DYNAMIC_INTERPRETER "/libexec/ld-elf.so.1"
++#define ELF32_DYNAMIC_INTERPRETER "/libexec/ld-elf32.so.1"
+ 
+ #define ELF_ARCH			bfd_arch_riscv
+ #define ELF_TARGET_ID			RISCV_ELF_DATA


More information about the svn-ports-all mailing list