Ok, thank you very much. Then probably I'll start working on that, after adding 'calla' to the compiler.
I'm not planning to add 20-bit data instructions to the compiler, because that would be very hard, and mostly useless. What I intend to do is add only tha calla and reta to support 1Mb of code size. What I ran into is that the msp430.c nor the msp430.md do not use an emit_call instruction, like other architectures do. That complicates things a lot. I do not know where to make it use a 20-bit call, if I implement that in binutils. So I'd like to see first, that it does generate the correct assembler code, and than add the binutils functionality. Your help would be really appreciated, Regards, Oszkar Grant Edwards <[email protected]> Sent by: [email protected] 04/12/2007 05:41 PM Please respond to "GCC for MSP430 - http://mspgcc.sf.net" <[email protected]> To [email protected] cc Subject Re: [Mspgcc-users] mspcgg to support MSP430X On 2007-04-12, Oszkar Ambrus <[email protected]> wrote: > Thank you for your answers. So actually there isn't any > instruction generation for the MSP430X. > > Which version should I work on, if I want to add support for > that? The CVS mspgcc contains mspgcc for gcc-4.1.1 as well. > > And how should I start working? I added the 'reta' instruction > into the msp430.c file, but can't seem to find where to add > 'calla'. Are there many other things that need to be changed > (like binutils)? I presume that new 20-bit relocation types need to be defined and added to binutils? > Can I get any help on this anywhere? Should I post these > questions somewhere else? :) -- Grant Edwards grante Yow! If I pull this SWITCH at I'll be RITA HAYWORTH!! Or visi.com a SCIENTOLOGIST! ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Mspgcc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mspgcc-users
