OSDN Git Service

Backport from mainline r189840 and r187586:
authorkyukhin <kyukhin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Aug 2012 13:59:04 +0000 (13:59 +0000)
committerkyukhin <kyukhin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Aug 2012 13:59:04 +0000 (13:59 +0000)
commita807bef3f0831df1e222c113b50607520eb9c422
treed4c94b4753aaa6339f13b4d46a1990c08de41f15
parent4e6ee3b36e0094a29459eb6f952b089b55b04e24
    Backport from mainline r189840 and r187586:

        2012-07-25 Sergey Melnikov <sergey.melnikov@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

        2012-05-16  Igor Zamyatin  <igor.zamyatin@intel.com>

        * configure.ac: Stack protector enabling for Android targets.
        * configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190383 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386.md
gcc/config/linux.h
gcc/configure
gcc/configure.ac
gcc/defaults.h