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 \
|
"%{!mor32-newlib*:%{pthread:-D_XOPEN_SOURCE=600}}" \
|
"%{!mor32-newlib*:%{pthread:-D_XOPEN_SOURCE=700}}" \
|
"%{mor32-newlib*:-idirafter %(target_prefix)/newlib-include}"
|
"%{mor32-newlib*:-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 "%{!shared:%{mor32-newlib*:%(target_prefix)/lib/crt0.o} \
|
#define STARTFILE_SPEC "%{!shared:%{mor32-newlib*:%(target_prefix)/lib/crt0.o} \
|
Line 247... |
Line 247... |
The latter must include the registers where values are returned
|
The latter must include the registers where values are returned
|
and the register where structure-value addresses are passed.
|
and the register where structure-value addresses are passed.
|
Aside from that, you can include as many other registers as you like. */
|
Aside from that, you can include as many other registers as you like. */
|
#define CALL_USED_REGISTERS { \
|
#define CALL_USED_REGISTERS { \
|
1, 1, 0, 1, 1, 1, 1, 1, \
|
1, 1, 0, 1, 1, 1, 1, 1, \
|
1, 1, 1, 1, 0, 1, 0, 1, \
|
1, 1, 1, 1, 1, 1, 0, 1, \
|
0, 1, 0, 1, 0, 1, 0, 1, \
|
0, 1, 0, 1, 0, 1, 0, 1, \
|
0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1}
|
0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1}
|
|
|
/* stack pointer: must be FIXED and CALL_USED */
|
/* stack pointer: must be FIXED and CALL_USED */
|
/* hard frame pointer: must be call saved. */
|
/* hard frame pointer: must be call saved. */
|