Line 2128... |
Line 2128... |
or32_output_tailcall (file, function);
|
or32_output_tailcall (file, function);
|
asm_fprintf (file, "\tl.add\t%s,%s,%s\n", this_name, this_name, tmp_name);
|
asm_fprintf (file, "\tl.add\t%s,%s,%s\n", this_name, this_name, tmp_name);
|
}
|
}
|
}
|
}
|
|
|
|
static bool
|
|
or32_handle_option (size_t code, const char *arg ATTRIBUTE_UNUSED,
|
|
int value ATTRIBUTE_UNUSED)
|
|
{
|
|
switch (code)
|
|
{
|
|
case OPT_mnewlib:
|
|
or32_libc = or32_libc_newlib;
|
|
return true;
|
|
case OPT_muclibc:
|
|
or32_libc = or32_libc_uclibc;
|
|
return true;
|
|
case OPT_mglibc:
|
|
or32_libc = or32_libc_glibc;
|
|
return false;
|
|
default:
|
|
return true;
|
|
}
|
|
}
|
|
|
|
|
/* ========================================================================== */
|
/* ========================================================================== */
|
/* Target hook initialization.
|
/* Target hook initialization.
|
|
|
In most cases these use the static functions declared above. They have
|
In most cases these use the static functions declared above. They have
|
Line 2146... |
Line 2166... |
|
|
/* Default target_flags if no switches specified. */
|
/* Default target_flags if no switches specified. */
|
#undef TARGET_DEFAULT_TARGET_FLAGS
|
#undef TARGET_DEFAULT_TARGET_FLAGS
|
#define TARGET_DEFAULT_TARGET_FLAGS (MASK_HARD_MUL | MASK_SCHED_LOGUE)
|
#define TARGET_DEFAULT_TARGET_FLAGS (MASK_HARD_MUL | MASK_SCHED_LOGUE)
|
|
|
|
#undef TARGET_HANDLE_OPTION
|
|
#define TARGET_HANDLE_OPTION or32_handle_option
|
|
|
/* Output assembly directives to switch to section name. The section should
|
/* Output assembly directives to switch to section name. The section should
|
have attributes as specified by flags, which is a bit mask of the SECTION_*
|
have attributes as specified by flags, which is a bit mask of the SECTION_*
|
flags defined in ‘output.h’. If decl is non-NULL, it is the VAR_DECL or
|
flags defined in ‘output.h’. If decl is non-NULL, it is the VAR_DECL or
|
FUNCTION_DECL with which this section is associated.
|
FUNCTION_DECL with which this section is associated.
|
|
|