gnu.h (TARGET_THREAD_SSP_OFFSET): Define.

* config/i386/gnu.h (TARGET_THREAD_SSP_OFFSET): Define.
	(TARGET_CAN_SPLIT_STACK): Define.
	(TARGET_THREAD_SPLIT_STACK_OFFSET): Define.

From-SVN: r267886
This commit is contained in:
Svante Signell 2019-01-12 21:17:56 +00:00 committed by Ian Lance Taylor
parent 865f11b619
commit 8d5d3edddf
2 changed files with 15 additions and 6 deletions

View File

@ -1,3 +1,9 @@
2019-01-12 Svante Signell <svante.signell@gmail.com>
* config/i386/gnu.h (TARGET_THREAD_SSP_OFFSET): Define.
(TARGET_CAN_SPLIT_STACK): Define.
(TARGET_THREAD_SPLIT_STACK_OFFSET): Define.
2019-01-05 Jan Hubicka <hubicka@ucw.cz>
* params.def (inline-unit-growth): Set to 40.

View File

@ -37,11 +37,14 @@ along with GCC. If not, see <http://www.gnu.org/licenses/>.
#ifdef TARGET_LIBC_PROVIDES_SSP
/* Not supported yet. */
# undef TARGET_THREAD_SSP_OFFSET
/* Not supported yet. */
# undef TARGET_CAN_SPLIT_STACK
# undef TARGET_THREAD_SPLIT_STACK_OFFSET
/* i386 glibc provides __stack_chk_guard in %gs:0x14. */
#define TARGET_THREAD_SSP_OFFSET 0x14
/* We only build the -fsplit-stack support in libgcc if the
assembler has full support for the CFI directives. */
#if HAVE_GAS_CFI_PERSONALITY_DIRECTIVE
#define TARGET_CAN_SPLIT_STACK
#endif
/* We steal the last transactional memory word. */
#define TARGET_THREAD_SPLIT_STACK_OFFSET 0x30
#endif