From 0d6be0b10358ca2a8f26b2b9a1b63692731f7fbe Mon Sep 17 00:00:00 2001 From: Gregor Richards Date: Fri, 23 Oct 2015 19:44:24 +0000 Subject: [PATCH] [rs6000] Enable secureplt by default on musl * config.gcc (enable_secureplt): Add *-linux*-musl*. Co-Authored-By: Szabolcs Nagy From-SVN: r229268 --- gcc/ChangeLog | 5 +++++ gcc/config.gcc | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 29d1ffab0fc..72340192586 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-10-23 Gregor Richards + Szabolcs Nagy + + * config.gcc (enable_secureplt): Add *-linux*-musl*. + 2015-10-23 Jeff Law PR tree-optimization/67830 diff --git a/gcc/config.gcc b/gcc/config.gcc index 33d2cb83bca..c0b5c9e1a0f 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -2443,6 +2443,10 @@ powerpc*-*-linux*) powerpc*-*-linux*paired*) tm_file="${tm_file} rs6000/750cl.h" ;; esac + case ${target} in + *-linux*-musl*) + enable_secureplt=yes ;; + esac if test x${enable_secureplt} = xyes; then tm_file="rs6000/secureplt.h ${tm_file}" fi -- 2.30.2