diff options
author | Andrew Stubbs <ams@baylibre.com> | 2024-08-08 13:12:43 +0000 |
---|---|---|
committer | Andrew Stubbs <ams@baylibre.com> | 2024-08-08 13:49:10 +0000 |
commit | 6f71e050a51378e1811b90fe9c16cd37bf4c48ec (patch) | |
tree | 75cbf2cf82cb40797496fde01dcf3e822063c47b /gcc | |
parent | 190ad81282057b0e5884faaaad30a7270356b9b1 (diff) | |
download | gcc-6f71e050a51378e1811b90fe9c16cd37bf4c48ec.zip gcc-6f71e050a51378e1811b90fe9c16cd37bf4c48ec.tar.gz gcc-6f71e050a51378e1811b90fe9c16cd37bf4c48ec.tar.bz2 |
amdgcn: Re-enable trampolines
The stacks are executable since the reverse-offload features were added, so
trampolines actually do work.
gcc/ChangeLog:
* config/gcn/gcn.cc (gcn_trampoline_init): Re-enable trampolines.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/gcn/gcn.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/config/gcn/gcn.cc b/gcc/config/gcn/gcn.cc index 00f2978..b22132d 100644 --- a/gcc/config/gcn/gcn.cc +++ b/gcc/config/gcn/gcn.cc @@ -3799,11 +3799,6 @@ gcn_asm_trampoline_template (FILE *f) static void gcn_trampoline_init (rtx m_tramp, tree fndecl, rtx chain_value) { - // FIXME - if (TARGET_GCN5_PLUS) - sorry ("nested function trampolines not supported on GCN5 due to" - " non-executable stacks"); - emit_block_move (m_tramp, assemble_trampoline_template (), GEN_INT (TRAMPOLINE_SIZE), BLOCK_OP_NORMAL); |