Development release 20120627 of mspgcc is now available. This is a development release. It is beta-quality. It provides full support for 20-bit code and data, with all memory models. So please be adventurous, download it or checkout the workspace, and try it.
The sole documentation for 20-bit use is at: https://sourceforge.net/apps/mediawiki/mspgcc/index.php?title=Gcc47:20-Bit_Design As of this version, there are no known bugs related to 20-bit mode. All memory models should work. Optimization of code will be the next phase of development; this will begin in a couple weeks, after we've all had a chance to use the toolchain on non-trivial programs. The following key fixes have been made since 20120618: * A few remaining issues in induction variable optimization have been identified and fixed. * The toolchain has been updated to detect when object files were compiled with incompatible flags such as saved register and data and code pointer sizes. Attempts to link incompatible object files will succeed, but will produce a link-time warning such as: Warning: Conflicting CPUX target flags main-small.o: -msr20 bad-obj.elf: -mc20 -msr20 The following known limitations are present: * All the 20-bit features were intended to be controlled through type and declaration attributes, with default settings controlled by compiler flags. While this is still how it is implemented, gcc is not prepared to deal with the sort of mixed pointers that individual control enables. See https://sourceforge.net/apps/mediawiki/mspgcc/index.php?title=Gcc47:20-Bit_Design#Warning_about_Mixing_Memory_Models, and stick to the pre-defined memory models. * DWARF2 data for CPUX MCUs now uses 32 bits for addresses instead of 16 bits. This enables building application with -ggdb when 20-bit addresses are present. However, gdb has not been updated to recognize this change, and gdb on CPUX MCUs is probably no longer usable. * All testing has been done on toy programs, almost entirely with -Os. Real applications and other optimization flags may produce errors. The patch bundle for 20120627 is available at: https://sourceforge.net/projects/mspgcc/files/mspgcc/DEVEL-4.7.x The tag workspace/release/20120627 in git://mspgcc.git.sourceforge.net/gitroot/mspgcc/mspgcc checks out a workspace configured for this release. The tag workspace/master checks out a workspace configured for the development series. Downstream packagers: If you bundle this, please mark it as experimental. The stable series remains LTS-20120406. As usual, please submit problems as tracker tickets at: https://sourceforge.net/tracker/?group_id=42303&atid=432701 Summary of changes in mspgcc release 20120627 since release 20120618 binutils: changes from binutils-2.22-20120618 to binutils-2.22-20120627: - 7077174 [2012-06-27 17:15:03 -0500] Update DEV-PHASE for release - bef747c [2012-06-22 15:11:35 -0500] SF 3537200 detect incompatible object files gcc: changes from gcc-4.7.0-20120618 to gcc-4.7.0-20120627: - 85808f3 [2012-06-27 17:13:53 -0500] Update DEV-PHASE for release - 83b5607 [2012-06-21 08:32:30 -0500] Anticipatory patch for PR middle-end/38756 - f8d8515 [2012-03-07 14:31:40 +0000] 2012-03-07 Richard Guenther <rguent...@suse.de> - 5472342 [2012-06-20 14:00:03 -0500] Refine ivopts fix for SF 3534450 large problems with large memory model - 11dc40d [2012-03-12 13:04:43 +0000] 2012-03-12 Richard Guenther <rguent...@suse.de> - 2162011 [2012-06-20 10:58:25 -0500] SF 3534574 invalid data written to packed structure with int20_t field - 59f94d6 [2012-06-27 17:11:38 -0500] Update for release - e70026b [2012-06-22 13:53:16 -0500] SF 3537200 detect incompatible object files - a88c967 [2012-06-20 10:20:01 -0500] Clean up formatting of multi-line macros gdb: no changes msp430-libc: changes from msp430libc-20120606 to msp430libc-20120627: - fc08f06 [2012-06-27 17:16:21 -0500] Regenerate - 5ca2214 [2012-06-27 17:16:21 -0500] Update version number and release notes - 6e37f52 [2012-06-22 13:52:14 -0500] SF 3537200 detect incompatible object files - 57ca209 [2012-06-18 17:58:14 -0500] Regenerate - 851dcd1 [2012-05-16 01:13:07 +0100] Add DESTDIR support to installation process - 9576f2a [2012-06-18 17:57:44 -0500] Update version number for internal development msp430mcu: changes from msp430mcu-20120606 to msp430mcu-20120627: - 26f84d5 [2012-06-27 17:17:20 -0500] Regenerate - 1ac2f7e [2012-06-27 17:17:12 -0500] Update version number and release notes - 12649d7 [2012-06-18 17:59:29 -0500] Regenerate - 8f0829b [2012-05-15 23:58:07 +0100] Add DESTDIR support to install.sh - 3a603b1 [2012-06-18 17:58:52 -0500] Update version for development ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Mspgcc-users mailing list Mspgcc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mspgcc-users