[rtems commit] mcf5235/.../linkcmds: Use dram region consistently like other variants

Joel Sherrill joel at rtems.org
Thu Sep 4 13:59:25 UTC 2014


Module:    rtems
Branch:    master
Commit:    ae03ad26062b79bb7b25ffcccb6a8e9b1e7bb9fe
Changeset: http://git.rtems.org/rtems/commit/?id=ae03ad26062b79bb7b25ffcccb6a8e9b1e7bb9fe

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Tue Sep  2 12:29:42 2014 -0500

mcf5235/.../linkcmds: Use dram region consistently like other variants

"ram" and "dram" regions were used inconsistently. Most variants
used the "dram" memory region so this was changed to be consistent.

---

 c/src/lib/libbsp/m68k/mcf5235/startup/linkcmds |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/c/src/lib/libbsp/m68k/mcf5235/startup/linkcmds b/c/src/lib/libbsp/m68k/mcf5235/startup/linkcmds
index e4e752d..1fa3bef 100644
--- a/c/src/lib/libbsp/m68k/mcf5235/startup/linkcmds
+++ b/c/src/lib/libbsp/m68k/mcf5235/startup/linkcmds
@@ -40,7 +40,7 @@ _VBR = 0x0;
 ENTRY(start)
 MEMORY
 {
-    ram : ORIGIN = 0, LENGTH = 16M
+    dram : ORIGIN = 0, LENGTH = 16M
     sram : ORIGIN = 0x20000000, LENGTH = 64K
     flash : ORIGIN = 0xFFE00000, LENGTH = 2M
 }
@@ -139,7 +139,7 @@ SECTIONS
         . = ALIGN(16);
         _estuff = .;
     PROVIDE (_etext = .);
-    } >ram
+    } > dram
 
     .tdata : {
         _TLS_Data_begin = .;
@@ -171,7 +171,7 @@ SECTIONS
             PROVIDE (_edata = .);
         PROVIDE (_copy_end = .);
         PROVIDE (_data_dest_end = . );
-        } >ram
+        } > dram
 
         _data_src_start = _estuff;
         _data_src_end = _data_dest_start + SIZEOF(.data);        
@@ -185,7 +185,7 @@ SECTIONS
                 _clear_end = .;
 
                 WorkAreaBase = .;
-        } >ram
+        } > dram
   /* Stabs debugging sections.  */
   .stab 0 : { *(.stab) }
   .stabstr 0 : { *(.stabstr) }



More information about the vc mailing list