diff options
author | 2015-05-03 22:11:06 +0200 | |
---|---|---|
committer | 2015-05-10 21:10:19 -0400 | |
commit | 4d9363b9df5f800ecd13d5a55181a20707a3c243 (patch) | |
tree | 048a9b225ddd0b37371819c990834ec0f92a6325 | |
parent | net-misc/openssh: disable stack-protector for x86 and ppc (diff) | |
download | hardened-dev-4d9363b9df5f800ecd13d5a55181a20707a3c243.tar.gz hardened-dev-4d9363b9df5f800ecd13d5a55181a20707a3c243.tar.bz2 hardened-dev-4d9363b9df5f800ecd13d5a55181a20707a3c243.zip |
sys-devel/gcc: fix patch for powerpc
-rw-r--r-- | sys-devel/gcc/Manifest | 2 | ||||
-rw-r--r-- | sys-devel/gcc/files/gcc-4.7.4-secure-plt.patch | 14 |
2 files changed, 15 insertions, 1 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest index eaa53fb7..743b9910 100644 --- a/sys-devel/gcc/Manifest +++ b/sys-devel/gcc/Manifest @@ -5,7 +5,7 @@ AUX c99 446 SHA256 057b348cf5be9b4fb9db99a4549f6433c89d21e5f91dc5e46b0b4dc6b7043 AUX fix_libtool_files.sh 1679 SHA256 0037e3f1303560f1ffadc61c7ed6bca13a41d6f2f70f196276938cda9dd158f0 SHA512 834beeb04f1057a0b1f79025fc9bbe0193ea8457055cc10b5b4c528a60e37ead7614a686aa6e7285e040161a91d4b5ff394539a33fc2f4b44be5c2514d0bb283 WHIRLPOOL c7e2f517e0c5c9a8930cd615f68222b44a6f227518ea71b5eb9b6436e1642be748d9cb4c0732f27df6c2ded2eb2c758d67ee9cb58e409f30814f988523dc649b AUX gcc-4.7.3-musl-linker-path.patch 3097 SHA256 dbc140267f3ccaf7dce4dbb153920d90018c453ffbc531864cc73a2dc5f002a2 SHA512 2c33899aa8bb8a8b1ad974c3da9039984aa52fe2d2f52d0f6ddf3aa6386419ee32907f40f60db552abcd0e1dee04cae91a029e37fe531938614f9c66e9518cd7 WHIRLPOOL d4f8a1a6abb083566d4ceb5deed31c2c35bd06f4b786ecd365d19606413c5e7f8579fac05a990a12157a139c243286ebcb7c61108ed69ae6477ef20f579cec86 AUX gcc-4.7.3-powerpc-libc-stack-end.patch 5374 SHA256 880028136d6a3352e74664d0fccda293fe078a5adb58ddb84cbf4d301aee01c7 SHA512 c66b561cb8db68f86b9c001625fb5599db268e576ac163eb47226976e81dc97b3d4ad3cd9f9b0ef44cac0ca9d353be3ae4709e75ed319ff08175ff4e1b1aa174 WHIRLPOOL c7ae1a535410ca5c7d5a8e3b2f8f2bcaeaceaf1cc9c20b3426efd09422b3a957cca7527842f720655a94b5bc8c82642eef0d693003071bd7f80a381d58be848b -AUX gcc-4.7.4-secure-plt.patch 1490 SHA256 f6b81360b1c5eb0521ef3dbee0a116657eb9d29bca37a2ec79db9a10b992327e SHA512 26176eaa4494b40349fe59043aaff176fe868d533d2af0f887970a49eaf579e1148141de023e8e78e6fbec15975e7d83ddc44eefbc1c6d99707aa30b79df64f9 WHIRLPOOL 8707e110e194fff674b6a76c9f31bff69df3dc0fd911458016d06479be389059d51152dbe7ce79adb4b9354dc70f99820e226fc2f788c9a805f3fc5e1957b289 +AUX gcc-4.7.4-secure-plt.patch 1915 SHA256 668c57298064abf6d58857126cdbcefab6d3117726198185ca4f24855c3f7180 SHA512 0e23385b9e654acc296e5b3f333b5859174dea852f38bc5acb182ce15d6ac568dc588c69407b066dc0b91ffb48a1f1c0d8d25720d3ab268da8a56d1c6c40492a WHIRLPOOL 9e061026ea0f87416ea0cd39dc64c074d79001f26d513ec2a6777b42caf47b6bf250bedebcace52c351cf95710318012039da58fdc7d2ef59e51fffc445e3edf AUX gcc-4.8.3-musl-fix-libc5-assumption.patch 529 SHA256 74cdaebe0e376c05f64808f9ec61682b5dc6f29fd36883af8e54dfcc261d68f8 SHA512 7fac0b48acf187d4a56f63148af51a17fff75d97fbe2b8256efbb51ba26d74ea06e11e0834f04f5d1f4b492cfd5860b52252428b9c87d7dfbe813d4601e782d5 WHIRLPOOL 6b830b5fcc56ae2cfe96ce17278063004a0aaa80db022daf6199d5c8cb49764ed7e2d9863d0d16e9b5e29ae031c4326ad940fa816d64f0ae257899c392fe9d18 AUX gcc-4.8.3-musl-linker-path.patch 3425 SHA256 d5415e1ae64dfb0e2b9e164806884441c62e5261e3d253437afd8e885529d2c5 SHA512 c2d62fb4e7e636c95ed013910b84ea46b09e7af8dc03ca7b7018f9623ebfdb3aadf277a3248a9e01a913445cb03dc1a91e46152198d02c272f35c559ea6b825f WHIRLPOOL 02666002615a49f45b3c977e90053de399d88664c6332c886e6aded8faa73abcdda7374e67f7848a40f05ed2a13bef0ef5725f237a1a9b971e467790176b0f35 AUX gcc-4.8.3-musl-res_state.patch 668 SHA256 ff5948712855a10f4b65750b9fa3fb188adf69ff5612161aeff5e6674cf292ba SHA512 bf30a772b5858210ac8ed46c50146655df98809c1daeb755fad9de592e7339c2e25b0870efd6351067f12e93a2270774a0e7bfbf0dfe8e0301c145c0dd966b30 WHIRLPOOL 457a548a900536024d722a2ff27f757a167c2ac9f1c4b3f38b0bbd29836b80938ad977617a1dfb71d81e063b2dc7213e8332ef4f9ad2a36eb402b8f97727b427 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 62778249..1cc395f2 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 |