Module Name: src
Committed By: joerg
Date: Thu Jul 12 21:39:24 UTC 2018
Modified Files:
src/external/gpl3/gcc/dist/gcc/config: netbsd-elf.h
Log Message:
Static PIE should have no linker, otherwise it isn't really static.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/external/gpl3/gcc/dist/gcc/config/netbsd-elf.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/gcc/dist/gcc/config/netbsd-elf.h
diff -u src/external/gpl3/gcc/dist/gcc/config/netbsd-elf.h:1.14 src/external/gpl3/gcc/dist/gcc/config/netbsd-elf.h:1.15
--- src/external/gpl3/gcc/dist/gcc/config/netbsd-elf.h:1.14 Sat Jun 2 01:40:02 2018
+++ src/external/gpl3/gcc/dist/gcc/config/netbsd-elf.h Thu Jul 12 21:39:24 2018
@@ -89,7 +89,7 @@ along with GCC; see the file COPYING3.
%{rdynamic:-export-dynamic} \
%(netbsd_link_ld_elf_so)} \
%{static:-static \
- %{pie: %(netbsd_link_ld_elf_so)}}} \
+ %{pie: --no-dynamic-linker}}} \
%{!shared:%{!nostdlib:%{!nodefaultlibs:\
%{%:sanitize(address): -lasan } \
%{%:sanitize(undefined): -lubsan}}}}"