aarch64: Allow aarch64-linux-muscl for heap trampolines [PR113971].
This allows the same trampoline pattern to be used on all linux variants rather than restricting it to linux gnu. PR target/113971 libgcc/ChangeLog: * config/aarch64/heap-trampoline.c: Allow all linux variants. Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
This commit is contained in:
parent
4238100cdd
commit
61ab046a32
1 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ void *allocate_trampoline_page (void);
|
|||
void __gcc_nested_func_ptr_created (void *chain, void *func, void *dst);
|
||||
void __gcc_nested_func_ptr_deleted (void);
|
||||
|
||||
#if defined(__gnu_linux__)
|
||||
#if defined(__linux__)
|
||||
static const uint32_t aarch64_trampoline_insns[] = {
|
||||
0xd503245f, /* hint 34 */
|
||||
0x580000b1, /* ldr x17, .+20 */
|
||||
|
@ -82,7 +82,7 @@ allocate_trampoline_page (void)
|
|||
{
|
||||
void *page;
|
||||
|
||||
#if defined(__gnu_linux__)
|
||||
#if defined(__linux__)
|
||||
page = mmap (0, getpagesize (), PROT_WRITE | PROT_EXEC,
|
||||
MAP_ANON | MAP_PRIVATE, 0, 0);
|
||||
#elif __APPLE__
|
||||
|
|
Loading…
Add table
Reference in a new issue