diff options
author | 2015-04-27 13:25:10 +0000 | |
---|---|---|
committer | 2015-04-27 13:25:10 +0000 | |
commit | 65ffbbf604b7e3584122fe15d26ad667d1edbd08 (patch) | |
tree | 507cb7b234cb6fb747928dd258e187e561100857 | |
parent | remove some extraneous text; ok nicm (diff) | |
download | wireguard-openbsd-65ffbbf604b7e3584122fe15d26ad667d1edbd08.tar.xz wireguard-openbsd-65ffbbf604b7e3584122fe15d26ad667d1edbd08.zip |
Adjust ld semantics to make static PIE the default. Forgotten by pascal@.
Original commit message:
Change gcc and ld semantics to make static PIE the default when invoking
'cc -static'. To explicitly request the legacy behaviour, use -nopie.
For the few port affected by this, bumps will follow shortly.
looks good to kettenis@, ok kurt@
-rw-r--r-- | gnu/usr.bin/binutils-2.17/ld/lexsup.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gnu/usr.bin/binutils-2.17/ld/lexsup.c b/gnu/usr.bin/binutils-2.17/ld/lexsup.c index 6df8c2110f8..654edb52f27 100644 --- a/gnu/usr.bin/binutils-2.17/ld/lexsup.c +++ b/gnu/usr.bin/binutils-2.17/ld/lexsup.c @@ -722,8 +722,6 @@ parse_args (unsigned argc, char **argv) break; case OPTION_NON_SHARED: config.dynamic_link = FALSE; - if (! link_info.shared) - link_info.pie = FALSE; break; case OPTION_CREF: command_line.cref = TRUE; |