diff options
author | Gregor Richards <gregor.richards@uwaterloo.ca> | 2015-10-23 19:44:24 +0000 |
---|---|---|
committer | Szabolcs Nagy <nsz@gcc.gnu.org> | 2015-10-23 19:44:24 +0000 |
commit | 0d6be0b10358ca2a8f26b2b9a1b63692731f7fbe (patch) | |
tree | bb93b528e4575d26d81dc22f15af7f3bad12f923 /gcc | |
parent | 0a8c1e23903c43a5869abef9bff30337f6122137 (diff) | |
download | gcc-0d6be0b10358ca2a8f26b2b9a1b63692731f7fbe.zip gcc-0d6be0b10358ca2a8f26b2b9a1b63692731f7fbe.tar.gz gcc-0d6be0b10358ca2a8f26b2b9a1b63692731f7fbe.tar.bz2 |
[rs6000] Enable secureplt by default on musl
* config.gcc (enable_secureplt): Add *-linux*-musl*.
Co-Authored-By: Szabolcs Nagy <szabolcs.nagy@arm.com>
From-SVN: r229268
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config.gcc | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 29d1ffa..7234019 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config.gcc b/gcc/config.gcc index 33d2cb8..c0b5c9e 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 |