Skip to content
Snippets Groups Projects
Commit cbf6da16 authored by Andrew Burgess's avatar Andrew Burgess Committed by Iain Sandoe
Browse files

target: Support heap-based trampolines


Enable -ftrampoline-impl=heap by default if we are on macOS 11
or later.

Co-Authored-By: default avatarMaxim Blinov <maxim.blinov@embecosm.com>
Co-Authored-By: default avatarFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Co-Authored-By: default avatarIain Sandoe <iain@sandoe.co.uk>

gcc/ChangeLog:

	* config.gcc: Default to heap trampolines on macOS 11 and above.
	* config/i386/darwin.h: Define X86_CUSTOM_FUNCTION_TEST.
	* config/i386/i386.h: Define X86_CUSTOM_FUNCTION_TEST.
	* config/i386/i386.cc: Use X86_CUSTOM_FUNCTION_TEST.
parent 28d8c680
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment