OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [config/] [bfin/] [uclinux.h] - Blame information for rev 38

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
/* The GNU C++ standard library requires that these macros be defined.  */
2
#undef CPLUSPLUS_CPP_SPEC
3
#define CPLUSPLUS_CPP_SPEC "-D_GNU_SOURCE %(cpp)"
4
 
5
#undef  STARTFILE_SPEC
6
#define STARTFILE_SPEC \
7
  "%{!shared: crt1%O%s} crti%O%s crtbegin%O%s crtlibid%O%s"
8
 
9
#undef  ENDFILE_SPEC
10
#define ENDFILE_SPEC \
11
  "crtend%O%s crtn%O%s"
12
 
13
#undef  LIB_SPEC
14
#define LIB_SPEC "%{pthread:-lpthread} -lc"
15
 
16
#ifdef __BFIN_FDPIC__
17
#define CRT_CALL_STATIC_FUNCTION(SECTION_OP, FUNC)      \
18
asm (SECTION_OP); \
19
asm ("P3 = [SP + 20];\n\tcall " USER_LABEL_PREFIX #FUNC ";"); \
20
asm (TEXT_SECTION_ASM_OP);
21
#endif
22
 
23
#define NO_IMPLICIT_EXTERN_C

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.