Mercurial > ecos-v2_0-branch
diff packages/hal/mips/idt32334/current/src/mips_idt32334.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 | e6da0776b0a4 |
| children |
line wrap: on
line diff
--- a/packages/hal/mips/idt32334/current/src/mips_idt32334.ld +++ b/packages/hal/mips/idt32334/current/src/mips_idt32334.ld @@ -62,7 +62,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 /* FIXME: The MLT should pass in the required alignment since it must be * the same as the VMA's alignment. As a result of this bug, all the MIPS32 @@ -330,7 +334,7 @@ GROUP(libtarget.a libgcc.a) #define SECTION_sdata(_region_, _vma_, _lma_) \ .sdata _vma_ : _lma_ \ { \ - FORCE_OUTPUT; *(.sdata) *(.sdata.*) *(.gnulinkonce.s*) \ + FORCE_OUTPUT; *(.sdata) *(.sdata.*) *(.gnu.linkonce.s*) \ } > _region_ #define SECTION_lit8(_region_, _vma_, _lma_) \
