public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* RFA: Doc update: Describe new MSP430 feature
@ 2015-05-05 15:37 Nick Clifton
  2015-05-05 22:10 ` Gerald Pfeifer
  0 siblings, 1 reply; 3+ messages in thread
From: Nick Clifton @ 2015-05-05 15:37 UTC (permalink / raw)
  To: gerald, joseph, sandra; +Cc: gcc-patches

Hi Gerald, Hi Joesph, Hi Sandra,

  I recently contributes a patch to enhance the MSP430 backend with the
  ability to automatically distribute code and data between high and low
  memory regions.  Below is a patch to update the html documentation
  with a description of this new feature.  Is it OK to apply ?

Cheers
  Nick

Index: htdocs/gcc-5/changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-5/changes.html,v
retrieving revision 1.120
diff -u -3 -p -r1.120 changes.html
--- htdocs/gcc-5/changes.html	1 May 2015 22:44:45 -0000	1.120
+++ htdocs/gcc-5/changes.html	5 May 2015 15:31:03 -0000
@@ -859,6 +859,27 @@ here</a>.</p>
       when compiling for soft-float targets.</li>
   </ul>
 
+<h3 id="msp430">MSP430</h3>
+  <ul>
+    <li><p>The MSP430 compiler now has the ability to automatically distribute code
+      and data between low (less than 64K) memory and high memory.  This only
+      applies parts that actually have both memory regions and only if the
+      linker script for the part has been specifically set up to support this
+      feature.</p>
+
+      <p>A new attribute of <code>either</code> can be applied to both functions
+      and data, and this tells the compiler to place the object into low memory
+      if there is room and into high memory otherwise.  Two other new attributes
+      - <code>lower</code> and <code>upper</code> - can be used to explicitly
+      state that an object should be placed in the specified memory region.  If
+      there is not enough left in that region the compilation will fail.</p>
+
+      <p>Two new command line options - <code>-mcode-region=[lower|upper|either]</code>
+      and <code>-mdata-region=[lower|upper|either]</code> - can be used to tell
+      the compiler what to do with objects that do not have one of these new
+      attributes.</p></li>
+  </ul>
+
 <h3 id="nds32">NDS32</h3>
   <ul>
     <li>The variadic function ABI implementation is now compatible with

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-05-06  9:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-05 15:37 RFA: Doc update: Describe new MSP430 feature Nick Clifton
2015-05-05 22:10 ` Gerald Pfeifer
2015-05-06  9:57   ` Nicholas Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).