Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/dist/gcc/config Static PIE should have no ...



details:   https://anonhg.NetBSD.org/src/rev/4328d54d1eb5
branches:  trunk
changeset: 320581:4328d54d1eb5
user:      joerg <joerg%NetBSD.org@localhost>
date:      Thu Jul 12 21:39:24 2018 +0000

description:
Static PIE should have no linker, otherwise it isn't really static.

diffstat:

 external/gpl3/gcc/dist/gcc/config/netbsd-elf.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 7353f6b54eba -r 4328d54d1eb5 external/gpl3/gcc/dist/gcc/config/netbsd-elf.h
--- a/external/gpl3/gcc/dist/gcc/config/netbsd-elf.h    Thu Jul 12 21:38:16 2018 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/netbsd-elf.h    Thu Jul 12 21:39:24 2018 +0000
@@ -89,7 +89,7 @@
        %{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}}}}"



Home | Main Index | Thread Index | Old Index