Mercurial > ecos-v2_0-branch
comparison packages/hal/h8300/h8300h/current/src/h8300_h8300h.ld @ 795:db69ea2c9293
Update various .ld and .ldi files to cope with C++ and fix some typos.
Also add a test program for C++ support to infra package.
See individual ChangeLogs for details.
| author | nickg |
|---|---|
| date | Wed, 16 Apr 2003 17:55:07 +0000 |
| parents | d2c90368aeef |
| children |
comparison
equal
deleted
inserted
replaced
| 794:1d4e1e38bd0f | 795:db69ea2c9293 |
|---|---|
| 42 STARTUP(vectors.o) | 42 STARTUP(vectors.o) |
| 43 ENTRY(CYG_LABEL_DEFN(_start)) | 43 ENTRY(CYG_LABEL_DEFN(_start)) |
| 44 #ifdef EXTRAS | 44 #ifdef EXTRAS |
| 45 INPUT(extras.o) | 45 INPUT(extras.o) |
| 46 #endif | 46 #endif |
| 47 #if (__GNUC__ >= 3) | |
| 48 GROUP(libtarget.a libgcc.a libsupc++.a) | |
| 49 #else | |
| 47 GROUP(libtarget.a libgcc.a) | 50 GROUP(libtarget.a libgcc.a) |
| 48 | 51 #endif |
| 49 | |
| 50 | 52 |
| 51 #define ALIGN_LMA 4 | 53 #define ALIGN_LMA 4 |
| 52 #define FOLLOWING(_section_) AT ((LOADADDR (_section_) + SIZEOF (_section_) + ALIGN_LMA - 1) & ~ (ALIGN_LMA - 1)) | 54 #define FOLLOWING(_section_) AT ((LOADADDR (_section_) + SIZEOF (_section_) + ALIGN_LMA - 1) & ~ (ALIGN_LMA - 1)) |
| 53 #define LMA_EQ_VMA | 55 #define LMA_EQ_VMA |
| 54 #define FORCE_OUTPUT . = . | 56 #define FORCE_OUTPUT . = . |
| 111 . = ALIGN (4); \ | 113 . = ALIGN (4); \ |
| 112 CYG_LABEL_DEFN(__CTOR_LIST__) = ABSOLUTE (.); KEEP (*(SORT (.ctors*))) CYG_LABEL_DEFN(__CTOR_END__) = ABSOLUTE (.); \ | 114 CYG_LABEL_DEFN(__CTOR_LIST__) = ABSOLUTE (.); KEEP (*(SORT (.ctors*))) CYG_LABEL_DEFN(__CTOR_END__) = ABSOLUTE (.); \ |
| 113 CYG_LABEL_DEFN(__DTOR_LIST__) = ABSOLUTE (.); KEEP (*(SORT (.dtors*))) CYG_LABEL_DEFN(__DTOR_END__) = ABSOLUTE (.); \ | 115 CYG_LABEL_DEFN(__DTOR_LIST__) = ABSOLUTE (.); KEEP (*(SORT (.dtors*))) CYG_LABEL_DEFN(__DTOR_END__) = ABSOLUTE (.); \ |
| 114 CYG_LABEL_DEFN(_GOT_START) = ABSOLUTE (.); CYG_LABEL_DEFN(_GLOBAL_OFFSET_TABLE_) = ABSOLUTE (.) + 32768; CYG_LABEL_DEFN(_SDA_BASE_) = ABSOLUTE (.); \ | 116 CYG_LABEL_DEFN(_GOT_START) = ABSOLUTE (.); CYG_LABEL_DEFN(_GLOBAL_OFFSET_TABLE_) = ABSOLUTE (.) + 32768; CYG_LABEL_DEFN(_SDA_BASE_) = ABSOLUTE (.); \ |
| 115 *(.got.plt) *(.got) CYG_LABEL_DEFN(_GOT_END_) = ABSOLUTE (.); \ | 117 *(.got.plt) *(.got) CYG_LABEL_DEFN(_GOT_END_) = ABSOLUTE (.); \ |
| 118 *(.eh_frame) \ | |
| 116 *(.dynamic) *(.sdata*) *(.sbss*) } \ | 119 *(.dynamic) *(.sdata*) *(.sbss*) } \ |
| 117 > _region_ \ | 120 > _region_ \ |
| 118 CYG_LABEL_DEFN(__rom_data_start) = LOADADDR (.data); \ | 121 CYG_LABEL_DEFN(__rom_data_start) = LOADADDR (.data); \ |
| 119 CYG_LABEL_DEFN(__ram_data_end) = .; PROVIDE (CYG_LABEL_DEFN(__ram_data_end) = .); CYG_LABEL_DEFN(_edata) = .; PROVIDE (edata = .); | 122 CYG_LABEL_DEFN(__ram_data_end) = .; PROVIDE (CYG_LABEL_DEFN(__ram_data_end) = .); CYG_LABEL_DEFN(_edata) = .; PROVIDE (edata = .); |
| 120 | 123 |
