Index: devel/binutils/Makefile =================================================================== --- devel/binutils/Makefile +++ devel/binutils/Makefile @@ -4,7 +4,7 @@ PORTNAME= binutils PORTVERSION= 2.33.1 PORTEPOCH?= 1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES?= devel MASTER_SITES= SOURCEWARE/binutils/releases Index: devel/binutils/files/patch-ld_emulparams_elf32lriscv-defs.sh =================================================================== --- /dev/null +++ devel/binutils/files/patch-ld_emulparams_elf32lriscv-defs.sh @@ -0,0 +1,20 @@ +--- ld/emulparams/elf32lriscv-defs.sh.orig 2020-02-03 18:09:14 UTC ++++ ld/emulparams/elf32lriscv-defs.sh +@@ -16,15 +16,8 @@ if test `echo "$host" | sed -e s/64//` = `echo "$targe + esac + fi + +-# Enable shared library support for everything except an embedded elf target. +-case "$target" in +- riscv*-elf) +- ;; +- *) +- GENERATE_SHLIB_SCRIPT=yes +- GENERATE_PIE_SCRIPT=yes +- ;; +-esac ++GENERATE_SHLIB_SCRIPT=yes ++GENERATE_PIE_SCRIPT=yes + + TEXT_START_ADDR=0x10000 + MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"