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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 38 julius
#define OBJECT_FORMAT_ELF
2
 
3
#define LOCAL_LABEL_PREFIX "L$"
4
 
5
#undef ASM_GENERATE_INTERNAL_LABEL
6
#define ASM_GENERATE_INTERNAL_LABEL(LABEL, PREFIX, NUM)         \
7
     sprintf (LABEL, "*%s%s$%d", LOCAL_LABEL_PREFIX, PREFIX, (int) NUM)
8
 
9
#undef  STARTFILE_SPEC
10
#define STARTFILE_SPEC  "%{!shared: crt0%O%s} crti%O%s crtbegin%O%s crtlibid%O%s"
11
 
12
#undef  ENDFILE_SPEC
13
#define ENDFILE_SPEC    "crtend%O%s crtn%O%s"
14
 
15
#undef USER_LABEL_PREFIX
16
#define USER_LABEL_PREFIX "_"
17
 
18
#ifdef __BFIN_FDPIC__
19
#define CRT_CALL_STATIC_FUNCTION(SECTION_OP, FUNC)      \
20
asm (SECTION_OP); \
21
asm ("P3 = [SP + 20];\n\tcall " USER_LABEL_PREFIX #FUNC ";"); \
22
asm (TEXT_SECTION_ASM_OP);
23
#endif
24
 
25
#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.