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/24_all_gcc49_invoke.texi.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/24_all_gcc49_invoke.texi.patch')
-rw-r--r-- | main/gcc/24_all_gcc49_invoke.texi.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/main/gcc/24_all_gcc49_invoke.texi.patch b/main/gcc/24_all_gcc49_invoke.texi.patch new file mode 100644 index 0000000000..20f98f6909 --- /dev/null +++ b/main/gcc/24_all_gcc49_invoke.texi.patch @@ -0,0 +1,44 @@ +2014-04-24 Magnus Granberg <zorry@gentoo.org> + + * gcc/doc/invoke.texi Add NOTES about -fstack-protector-all, -pie and + -fPIE/-fpie when --enable-esp is enable, this options is on by default. + +--- a/gcc/doc/invoke.texi 2009-04-01 09:18:47.000000000 +0200 ++++ b/gcc/doc/invoke.texi 2009-06-18 14:08:38.000000000 +0200 +@@ -9233,6 +9245,11 @@ If a guard check fails, an error message + @opindex fstack-protector-all + Like @option{-fstack-protector} except that all functions are protected. + ++NOTE: NOTE: When --enable-esp this option is enabled by default ++for C, C++, ObjC, ObjC++, if neither @option{-fno-stack-protector}, ++@option{-nostdlib}, @option{-ffreestanding}, @option{-fstack-protector}, ++@option{-fstack-protector-strong}or @option{-fstack-protector-all}are found. ++ + @item -fstack-protector-strong + @opindex fstack-protector-strong + Like @option{-fstack-protector} but includes additional functions to +@@ -7960,6 +7965,12 @@ + that were used to generate code (@option{-fpie}, @option{-fPIE}, + or model suboptions) when you specify this option. + ++NOTE: When --enable-esp this option is enabled by default ++for C, C++, ObjC, ObjC++, if neither @option{-fno-pie} or @option{-fno-PIE} ++or @option{-fno-pic} or @option{-fno-PIC} or @option{-nostdlib} or ++@option{-nostartfiles} or @option{-shared} or @option{-pg} or @option{-p} ++are found. ++ + @item -rdynamic + @opindex rdynamic + Pass the flag @option{-export-dynamic} to the ELF linker, on targets +@@ -15889,6 +15910,11 @@ + @code{__pie__} and @code{__PIE__}. The macros have the value 1 + for @option{-fpie} and 2 for @option{-fPIE}. + ++NOTE: When --enable-esp this option is enabled by default ++for C, C++, ObjC, ObjC++, if neither @option{-fno-pie} or @option{-fno-PIE} ++or @option{-fno-pic} or @option{-fno-PIC} or @option{-nostdlib} or ++@option{-nostartfiles} or @option{-shared} are found. ++ + @item -fno-jump-tables + @opindex fno-jump-tables + Do not use jump tables for switch statements even where it would be |