[rs6000] Enable secureplt by default on musl
authorGregor Richards <gregor.richards@uwaterloo.ca>
Fri, 23 Oct 2015 19:44:24 +0000 (19:44 +0000)
committerSzabolcs Nagy <nsz@gcc.gnu.org>
Fri, 23 Oct 2015 19:44:24 +0000 (19:44 +0000)
* config.gcc (enable_secureplt): Add *-linux*-musl*.

Co-Authored-By: Szabolcs Nagy <szabolcs.nagy@arm.com>
From-SVN: r229268

gcc/ChangeLog
gcc/config.gcc

index 29d1ffab0fc370a24c57e276739fa22438f7875a..7234019258667ee480f5248ba11aa94f6964f0d9 100644 (file)
@@ -1,3 +1,8 @@
+2015-10-23  Gregor Richards  <gregor.richards@uwaterloo.ca>
+           Szabolcs Nagy  <szabolcs.nagy@arm.com>
+
+       * config.gcc (enable_secureplt): Add *-linux*-musl*.
+
 2015-10-23  Jeff Law  <law@redhat.com>
 
        PR tree-optimization/67830
index 33d2cb83bcaa53c05bb93ce801a1980d3fe2e16d..c0b5c9e1a0f08ed19d3f2c36dc846c4e42d8514b 100644 (file)
@@ -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