[PATCH 16/23] mcf5235/.../linkcmds: Use dram region consistently like other variants

Joel Sherrill joel.sherrill at oarcorp.com
Wed Sep 3 15:26:10 UTC 2014


"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 file 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) }
-- 
1.9.3



More information about the devel mailing list