Mercurial > ecos-v2_0-branch
diff packages/hal/sparclite/arch/current/src/sparclite.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 |
line wrap: on
line diff
--- a/packages/hal/sparclite/arch/current/src/sparclite.ld +++ b/packages/hal/sparclite/arch/current/src/sparclite.ld @@ -42,7 +42,11 @@ ENTRY(reset_vector) #ifdef EXTRAS INPUT(extras.o) #endif +#if (__GNUC__ >= 3) +GROUP(libtarget.a libgcc.a libsupc++.a) +#else GROUP(libtarget.a libgcc.a) +#endif #define ALIGN_LMA 8 #define FOLLOWING(_section_) AT ((LOADADDR (_section_) + SIZEOF (_section_) + ALIGN_LMA - 1) & ~ (ALIGN_LMA - 1))
