Hi all! I'd like to ask whether stack-protector changes for Android could go to 4.7?
Pathes are: http://gcc.gnu.org/ml/gcc-patches/2012-05/msg01089.html http://gcc.gnu.org/ml/gcc-patches/2012-07/msg01157.html Thanks, Igor On Wed, Jul 25, 2012 at 2:08 AM, Maxim Kuvyrkov <ma...@codesourcery.com> wrote: > On 24/07/2012, at 10:08 PM, Uros Bizjak wrote: > >> On Mon, Jul 23, 2012 at 10:00 PM, Igor Zamyatin <izamya...@gmail.com> wrote: >> >>> 2012-07-23 Sergey Melnikov <sergey.melni...@intel.com> >>> >>> * config/i386/i386.md (stack_protect_set): Disable the pattern >>> for Android since Android libc (bionic) does not provide random >>> value for stack protection guard at gs:0x14. Guard value >>> will be provided from external symbol (default implementation). >>> (stack_protect_set_<mode>): Likewise. >>> (stack_protect_test): Likewise. >>> (stack_protect_test_<mode>): Likewise. >>> * gcc/defaults.h: Define macro TARGET_HAS_BIONIC to 0 - target does >>> not have Bionic by default >>> * config/linux.h: Redefine macro TARGET_HAS_BIONIC to (OPTION_BIONIC) >>> Macro OPTION_BIONIC is defined in this file and provides Bionic >>> accessibility status >> >> Looks OK to me, patch needs approval from Maxim. > > OK. Thanks for fixing this. > > -- > Maxim Kuvyrkov > CodeSourcery / Mentor Graphics >