diff options
author | Timo Teräs <timo.teras@iki.fi> | 2014-12-10 14:47:02 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2014-12-10 16:24:01 +0000 |
commit | d75e8d77a6d1c5df59f53a584d40a48b27d37ffc (patch) | |
tree | a03b69c8b07771898c234a0549b469ed43358083 /main/gcc/41_all_gcc48_config_esp_relro.patch | |
parent | 90f74af8899eea8f68ec594e964e2c14f9b5a393 (diff) | |
download | aports-d75e8d77a6d1c5df59f53a584d40a48b27d37ffc.tar.bz2 aports-d75e8d77a6d1c5df59f53a584d40a48b27d37ffc.tar.xz |
main/gcc: upgrade to 4.9.2, drop uclibc support
* refresh gentoo esp patches
* split alpine specific esp changes to nice patch
* update musl, poison-system-directories and cloog-dl patches
* rebase our ada-musl and ada-no-pie patches
* remove unneeded patches (bugs fixed upstream, and uclibc patches)
Diffstat (limited to 'main/gcc/41_all_gcc48_config_esp_relro.patch')
-rw-r--r-- | main/gcc/41_all_gcc48_config_esp_relro.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/main/gcc/41_all_gcc48_config_esp_relro.patch b/main/gcc/41_all_gcc48_config_esp_relro.patch deleted file mode 100644 index 3d6630299e..0000000000 --- a/main/gcc/41_all_gcc48_config_esp_relro.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- gcc-4.8.2/gcc/config/esp.h.orig 2014-03-25 08:25:41.665838981 +0000 -+++ gcc-4.8.2/gcc/config/esp.h 2014-03-25 08:28:24.415497899 +0000 -@@ -4,7 +4,7 @@ - #ifndef GCC_ESP_H - #define GCC_ESP_H - --/* This file will add -fstack-protector-all, -fPIE, -pie and -z now -+/* This file will add -fstack-protector-all, -fPIE, -pie, -z now and -z relro - as default if the defines and the spec allow it. - Added a hack for gcc-specs-* in toolchain-funcs.eclass and _filter-hardened in flag-o-matic.eclass - to support older hardened GCC patches and we don't need to change the code on gcc-specs-* and _filter-hardened. -@@ -34,8 +34,9 @@ - /* ESP_LINK_SPEC is added to LINK_PIE_SPEC if esp is enable - -z now will be added if we don't have -vanilla spec. We do a -pie incompatible check - Don't remove the specs in the end */ -- #define ESP_LINK_SPEC "%(esp_link_now) %(esp_link_pie_check) " -+ #define ESP_LINK_SPEC "%(esp_link_now) %(esp_link_relro) %(esp_link_pie_check) " - #define ESP_LINK_NOW_SPEC "%{!nonow:-z now}" -+ #define ESP_LINK_RELRO_SPEC "%{!norelro:-z relro}" - - /* We use ESP_ESP_DRIVER_SELF_SPEC to add pie and ssp command-line options. */ - #define ESP_DRIVER_SELF_SPEC "%{D__KERNEL__:;:%{!nopie:%(esp_options_pie) \ -@@ -114,6 +115,7 @@ - { "esp_cc1_strict_overflow", ESP_CC1_STRICT_OVERFLOW_SPEC }, \ - { "esp_link", ESP_LINK_SPEC }, \ - { "esp_link_now", ESP_LINK_NOW_SPEC }, \ -+ { "esp_link_relro", ESP_LINK_RELRO_SPEC }, \ - { "esp_link_pie", ESP_LINK_PIE_SPEC }, \ - { "esp_link_pie_check", ESP_LINK_PIE_CHECK_SPEC }, \ - { "esp_driver_self", ESP_DRIVER_SELF_SPEC }, \ |