URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 38 |
Rev 154 |
/* The GNU C++ standard library requires that these macros be defined. */
|
/* The GNU C++ standard library requires that these macros be defined. */
|
#undef CPLUSPLUS_CPP_SPEC
|
#undef CPLUSPLUS_CPP_SPEC
|
#define CPLUSPLUS_CPP_SPEC "-D_GNU_SOURCE %(cpp)"
|
#define CPLUSPLUS_CPP_SPEC "-D_GNU_SOURCE %(cpp)"
|
|
|
#undef STARTFILE_SPEC
|
#undef STARTFILE_SPEC
|
#define STARTFILE_SPEC \
|
#define STARTFILE_SPEC \
|
"%{!shared: crt1%O%s} crti%O%s crtbegin%O%s crtlibid%O%s"
|
"%{!shared: crt1%O%s} crti%O%s crtbegin%O%s crtlibid%O%s"
|
|
|
#undef ENDFILE_SPEC
|
#undef ENDFILE_SPEC
|
#define ENDFILE_SPEC \
|
#define ENDFILE_SPEC \
|
"crtend%O%s crtn%O%s"
|
"crtend%O%s crtn%O%s"
|
|
|
#undef LIB_SPEC
|
#undef LIB_SPEC
|
#define LIB_SPEC "%{pthread:-lpthread} -lc"
|
#define LIB_SPEC "%{pthread:-lpthread} -lc"
|
|
|
#ifdef __BFIN_FDPIC__
|
#ifdef __BFIN_FDPIC__
|
#define CRT_CALL_STATIC_FUNCTION(SECTION_OP, FUNC) \
|
#define CRT_CALL_STATIC_FUNCTION(SECTION_OP, FUNC) \
|
asm (SECTION_OP); \
|
asm (SECTION_OP); \
|
asm ("P3 = [SP + 20];\n\tcall " USER_LABEL_PREFIX #FUNC ";"); \
|
asm ("P3 = [SP + 20];\n\tcall " USER_LABEL_PREFIX #FUNC ";"); \
|
asm (TEXT_SECTION_ASM_OP);
|
asm (TEXT_SECTION_ASM_OP);
|
#endif
|
#endif
|
|
|
#define NO_IMPLICIT_EXTERN_C
|
#define NO_IMPLICIT_EXTERN_C
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.