Re: [Mspgcc-users] msp430 startup code issue

2012-02-16 Thread Peter Bigot
Some additional information that might be relevant: In current mspgcc, the vector table is linked with a crtXivtbl.o file, with the correct one selected by the -mivcnt option to msp430-gcc. The value is set to the appropriate default (16, 32, 64) based on the mmcu option; in most cases you won't n

Re: [Mspgcc-users] msp430 startup code issue

2012-02-16 Thread Peter Bigot
To help the compiler stay consistent with the C startup code, that code moved from msp430-libc to the compiler, and lives in a different object file now. Use msp430-gcc instead of msp430-ld to perform the link step. Make sure you include the -mmcu argument so the linker uses the right memory and p

[Mspgcc-users] msp430 startup code issue

2012-02-16 Thread Stefan Nürnberger
Hello, I am currently migrating a project from mspgcc4 to the new mspgcc toolchain. I am using the msp430-gcc (GNU GCC patched mspgcc-20110716) 4.5.3 from the official debian repositories. I am missing some hints on what changed between those versions. Here are my questions: In our project we are