From: "Anthony G. Basile" <blueness@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/hardened-dev:musl commit in: sys-devel/gcc/files/
Date: Mon, 11 May 2015 01:10:19 +0000 (UTC) [thread overview]
Message-ID: <1431306619.4d9363b9df5f800ecd13d5a55181a20707a3c243.blueness@gentoo> (raw)
commit: 4d9363b9df5f800ecd13d5a55181a20707a3c243
Author: Felix Janda <felix.janda <AT> posteo <DOT> de>
AuthorDate: Sun May 3 20:11:06 2015 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Mon May 11 01:10:19 2015 +0000
URL: https://gitweb.gentoo.org/proj/hardened-dev.git/commit/?id=4d9363b9
sys-devel/gcc: fix patch for powerpc
sys-devel/gcc/files/gcc-4.7.4-secure-plt.patch | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/sys-devel/gcc/files/gcc-4.7.4-secure-plt.patch b/sys-devel/gcc/files/gcc-4.7.4-secure-plt.patch
index 6277824..1cc395f 100644
--- a/sys-devel/gcc/files/gcc-4.7.4-secure-plt.patch
+++ b/sys-devel/gcc/files/gcc-4.7.4-secure-plt.patch
@@ -1,4 +1,18 @@
adapted from musl-cross gcc-patches
+diff -ur a/gcc/config.gcc b/gcc/config.gcc
+--- a/gcc/config.gcc 2013-10-03 02:52:23.000000000 -0200
++++ b/gcc/config.gcc 2015-05-03 22:05:10.855150177 -0200
+@@ -2091,6 +2091,10 @@
+ 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
diff -r 6097333f2ab4 gcc/config/rs6000/secureplt.h
--- a/gcc/config/rs6000/secureplt.h Tue May 20 11:06:08 2014 -0400
+++ b/gcc/config/rs6000/secureplt.h Tue May 20 11:06:11 2014 -0400
next reply other threads:[~2015-05-11 1:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-11 1:10 Anthony G. Basile [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-12-09 14:22 [gentoo-commits] proj/hardened-dev:musl commit in: sys-devel/gcc/files/ Anthony G. Basile
2014-08-28 1:16 Anthony G. Basile
2014-08-20 13:39 Anthony G. Basile
2014-04-07 11:45 Anthony G. Basile
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1431306619.4d9363b9df5f800ecd13d5a55181a20707a3c243.blueness@gentoo \
--to=blueness@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox