Line 46... |
Line 46... |
#define EXTRA_SPECS \
|
#define EXTRA_SPECS \
|
{ "target_prefix", TARGET_PREFIX }
|
{ "target_prefix", TARGET_PREFIX }
|
|
|
#undef CPP_SPEC
|
#undef CPP_SPEC
|
#define CPP_SPEC \
|
#define CPP_SPEC \
|
"%{!mnewlib*:%{pthread:-D_XOPEN_SOURCE=700}}" \
|
"%{!mnewlib:%{pthread:-D_XOPEN_SOURCE=700}}"
|
"%{mnewlib*:-idirafter %(target_prefix)/newlib-include}"
|
|
|
|
/* Make sure we pick up the crti.o, crtbegin.o, crtend.o and crtn.o files. */
|
/* Make sure we pick up the crti.o, crtbegin.o, crtend.o and crtn.o files. */
|
#undef STARTFILE_SPEC
|
#undef STARTFILE_SPEC
|
#define STARTFILE_SPEC \
|
#define STARTFILE_SPEC \
|
"%{!shared:"\
|
"%{!shared:"\
|
"%{mnewlib*:%(target_prefix)/lib/crt0.o} "\
|
"%{mnewlib:%(target_prefix)/lib/crt0.o} "\
|
"%{mnewlib-*:%(target_prefix)/lib/crtparam-%*.o} "\
|
"%{!mnewlib:crt0.o%s} crti.o%s crtbegin.o%s}"
|
"%{!mnewlib*:crt0.o%s} crti.o%s crtbegin.o%s}"
|
|
|
|
#undef ENDFILE_SPEC
|
#undef ENDFILE_SPEC
|
#define ENDFILE_SPEC "crtend.o%s crtn.o%s"
|
#define ENDFILE_SPEC "crtend.o%s crtn.o%s"
|
|
|
/* Specify the newlib library path if necessary */
|
/* Specify the newlib library path if necessary */
|
Line 787... |
Line 785... |
#define INCOMING_RETURN_ADDR_RTX gen_rtx_REG (Pmode, LINK_REGNUM)
|
#define INCOMING_RETURN_ADDR_RTX gen_rtx_REG (Pmode, LINK_REGNUM)
|
|
|
#define RETURN_ADDR_RTX(COUNT, FP) \
|
#define RETURN_ADDR_RTX(COUNT, FP) \
|
((COUNT) ? NULL_RTX : get_hard_reg_initial_val (Pmode, LINK_REGNUM))
|
((COUNT) ? NULL_RTX : get_hard_reg_initial_val (Pmode, LINK_REGNUM))
|
|
|
|
|
/* Addressing modes, and classification of registers for them. */
|
/* Addressing modes, and classification of registers for them. */
|
|
|
/* #define HAVE_POST_INCREMENT */
|
/* #define HAVE_POST_INCREMENT */
|
/* #define HAVE_POST_DECREMENT */
|
/* #define HAVE_POST_DECREMENT */
|
|
|
Line 1003... |
Line 1000... |
DWARF2_UNWIND_INFO is non-zero, but we set so this so, we can produce frame
|
DWARF2_UNWIND_INFO is non-zero, but we set so this so, we can produce frame
|
info even when it is zero. Override any default value. */
|
info even when it is zero. Override any default value. */
|
#undef DWARF2_FRAME_INFO
|
#undef DWARF2_FRAME_INFO
|
#define DWARF2_FRAME_INFO 1
|
#define DWARF2_FRAME_INFO 1
|
|
|
/* Macro to idenfity where the incoming return address is on a function call
|
/* Macro specifying which register holds the return address */
|
before the start of the prologue (i.e. the link register). Used to produce
|
#define DWARF_FRAME_RETURN_COLUMN DWARF_FRAME_REGNUM (LINK_REGNUM)
|
DWARF2 frame debug info when DWARF2_UNWIND_INFO is non-zero. Override any
|
|
default value. */
|
|
#undef INCOMING_RETURN_ADDR_RTX
|
|
#define INCOMING_RETURN_ADDR_RTX gen_rtx_REG (Pmode, LINK_REGNUM)
|
|
|
|
/* Where is the start of our stack frame in relation to the end of the
|
/* Where is the start of our stack frame in relation to the end of the
|
previous stack frame at the start of a function, before the prologue */
|
previous stack frame at the start of a function, before the prologue */
|
#define INCOMING_FRAME_SP_OFFSET 0
|
#define INCOMING_FRAME_SP_OFFSET 0
|
|
|