further ivt and isr implementation
[cortex-from-scratch] / link.ld
diff --git a/link.ld b/link.ld
index 8301b2c..085ab79 100644 (file)
--- a/link.ld
+++ b/link.ld
@@ -14,9 +14,9 @@ SECTIONS
        {
                /* (.vector_table */ 
                *(.text)
-
-       } 
-       . = 0x20000000;
+               *(.rodata)
+       }
+        . = 0x20000000;        
        .data :  
        {
                *(.data)
@@ -24,5 +24,6 @@ SECTIONS
        .bss : ALIGN(256)
        {
                *(.bss)
-       } 
+       }
+               _endofbss = .;  
 }