Mercurial > ecos-v2_0-branch
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 794:1d4e1e38bd0f | 795:db69ea2c9293 |
|---|---|
| 60 STARTUP(vectors.o) | 60 STARTUP(vectors.o) |
| 61 ENTRY(reset_vector) | 61 ENTRY(reset_vector) |
| 62 #ifdef EXTRAS | 62 #ifdef EXTRAS |
| 63 INPUT(extras.o) | 63 INPUT(extras.o) |
| 64 #endif | 64 #endif |
| 65 #if (__GNUC__ >= 3) | |
| 66 GROUP(libtarget.a libgcc.a libsupc++.a) | |
| 67 #else | |
| 65 GROUP(libtarget.a libgcc.a) | 68 GROUP(libtarget.a libgcc.a) |
| 69 #endif | |
| 66 | 70 |
| 67 /* FIXME: The MLT should pass in the required alignment since it must be | 71 /* FIXME: The MLT should pass in the required alignment since it must be |
| 68 * the same as the VMA's alignment. As a result of this bug, all the MIPS32 | 72 * the same as the VMA's alignment. As a result of this bug, all the MIPS32 |
| 69 * ROM mlt files have alignment 8, when some should have alignment 4 | 73 * ROM mlt files have alignment 8, when some should have alignment 4 |
| 70 * (902557-CR) | 74 * (902557-CR) |
| 328 we can shorten the on-disk segment size. */ | 332 we can shorten the on-disk segment size. */ |
| 329 | 333 |
| 330 #define SECTION_sdata(_region_, _vma_, _lma_) \ | 334 #define SECTION_sdata(_region_, _vma_, _lma_) \ |
| 331 .sdata _vma_ : _lma_ \ | 335 .sdata _vma_ : _lma_ \ |
| 332 { \ | 336 { \ |
| 333 FORCE_OUTPUT; *(.sdata) *(.sdata.*) *(.gnulinkonce.s*) \ | 337 FORCE_OUTPUT; *(.sdata) *(.sdata.*) *(.gnu.linkonce.s*) \ |
| 334 } > _region_ | 338 } > _region_ |
| 335 | 339 |
| 336 #define SECTION_lit8(_region_, _vma_, _lma_) \ | 340 #define SECTION_lit8(_region_, _vma_, _lma_) \ |
| 337 .lit8 _vma_ : _lma_ \ | 341 .lit8 _vma_ : _lma_ \ |
| 338 { \ | 342 { \ |
