aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2018-07-24 16:46:43 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2018-07-24 16:46:43 +0000
commit1c7cd2d77fee9ef19728901c59ec706c1a207200 (patch)
treefa1e01546324690f683672f64b7328f0af937557
parent29078f60d1fcca7c8de491d4e0425c015fbc8710 (diff)
downloadports-1c7cd2d77fee9ef19728901c59ec706c1a207200.tar.gz
ports-1c7cd2d77fee9ef19728901c59ec706c1a207200.zip
Notes
-rw-r--r--devel/binutils/Makefile2
-rw-r--r--devel/binutils/files/patch-bfd_elfnn-riscv.c13
2 files changed, 14 insertions, 1 deletions
diff --git a/devel/binutils/Makefile b/devel/binutils/Makefile
index b55b56e49657..ad90d822ce92 100644
--- a/devel/binutils/Makefile
+++ b/devel/binutils/Makefile
@@ -3,7 +3,7 @@
PORTNAME= binutils
PORTVERSION= 2.30
-PORTREVISION= 3
+PORTREVISION= 4
PORTEPOCH?= 1
CATEGORIES?= devel
MASTER_SITES= SOURCEWARE/binutils/releases
diff --git a/devel/binutils/files/patch-bfd_elfnn-riscv.c b/devel/binutils/files/patch-bfd_elfnn-riscv.c
new file mode 100644
index 000000000000..5f9ed6fadcac
--- /dev/null
+++ b/devel/binutils/files/patch-bfd_elfnn-riscv.c
@@ -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