ports/devel/binutils/files/patch-bfd_elfnn-riscv.c
Li-Wen Hsu 1c7cd2d77f - Fix RISC-V ELF dynamic interpreter path
Approved by:	bapt (maintainer)
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D16319
2018-07-24 16:46:43 +00:00

13 lines
476 B
C

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