File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -1761,6 +1761,13 @@ arc64_limm_addr_p (rtx op)
17611761#undef TARGET_ASM_FUNCTION_PROLOGUE
17621762#define TARGET_ASM_FUNCTION_PROLOGUE arc64_output_function_prologue
17631763
1764+ #undef TARGET_CONSTANT_ALIGNMENT
1765+ #define TARGET_CONSTANT_ALIGNMENT constant_alignment_word_strings
1766+
1767+ #undef TARGET_PROMOTE_FUNCTION_MODE
1768+ #define TARGET_PROMOTE_FUNCTION_MODE \
1769+ default_promote_function_mode_always_promote
1770+
17641771struct gcc_target targetm = TARGET_INITIALIZER ;
17651772
17661773#include "gt-arc64.h"
Original file line number Diff line number Diff line change 188188 uses alloca. */
189189#define EXIT_IGNORE_STACK (cfun -> calls_alloca )
190190
191- #define STATIC_CHAIN_REGNUM R14_REGNUM
191+ #define STATIC_CHAIN_REGNUM R11_REGNUM
192192#define HARD_FRAME_POINTER_REGNUM R27_REGNUM
193193#define FRAME_POINTER_REGNUM SFP_REGNUM
194194#define STACK_POINTER_REGNUM SP_REGNUM
@@ -268,6 +268,8 @@ enum reg_class
268268/* Stack layout; function entry, exit and calling. */
269269#define STACK_GROWS_DOWNWARD 1
270270
271+ /* Addresses of local variables slots are at negative offsets from the
272+ frame pointer. */
271273#define FRAME_GROWS_DOWNWARD 1
272274
273275/* If defined, the maximum amount of space required for outgoing
You can’t perform that action at this time.
0 commit comments