Mercurial > ecos-v2_0-branch
comparison packages/hal/synth/arch/current/src/synth.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 |
|---|---|
| 51 STARTUP(vectors.o) | 51 STARTUP(vectors.o) |
| 52 ENTRY(_start) | 52 ENTRY(_start) |
| 53 #ifdef EXTRAS | 53 #ifdef EXTRAS |
| 54 INPUT(extras.o) | 54 INPUT(extras.o) |
| 55 #endif | 55 #endif |
| 56 #if (__GNUC__ >= 3) | |
| 57 GROUP(libtarget.a libgcc.a libsupc++.a) | |
| 58 #else | |
| 56 GROUP(libtarget.a libgcc.a) | 59 GROUP(libtarget.a libgcc.a) |
| 60 #endif | |
| 57 | 61 |
| 58 #define ALIGN_LMA 8 | 62 #define ALIGN_LMA 8 |
| 59 #define FOLLOWING(_section_) AT ((LOADADDR (_section_) + SIZEOF (_section_) + ALIGN_LMA - 1) & ~ (ALIGN_LMA - 1)) | 63 #define FOLLOWING(_section_) AT ((LOADADDR (_section_) + SIZEOF (_section_) + ALIGN_LMA - 1) & ~ (ALIGN_LMA - 1)) |
| 60 #define LMA_EQ_VMA | 64 #define LMA_EQ_VMA |
| 61 #define FORCE_OUTPUT . = . | 65 #define FORCE_OUTPUT . = . |
