diff cos/linker.ld @ 20:b1fed2171e1a

Now working with 2 MB pages
author windel
date Mon, 28 Nov 2011 20:54:40 +0100
parents 92ace1ca50a8
children
line wrap: on
line diff
--- a/cos/linker.ld	Sun Nov 27 21:38:38 2011 +0100
+++ b/cos/linker.ld	Mon Nov 28 20:54:40 2011 +0100
@@ -1,26 +1,23 @@
-ENTRY(loader)
+OUTPUT_FORMAT("binary")
 
 SECTIONS {
-  . = 0x00100000;
-
-  .text : {
+  .text 0x100000: 
+  {
     *(.text)
-   }
+  }
 
-  .rodata ALIGN (0x1000) : {
-    
+  .rodata ALIGN (4096) : 
+  {
     *(.rodata)
   }
 
-  .data ALIGN (0x1000) : {
+  .data ALIGN (4096) : 
+  {
     *(.data)
   }
 
   .bss : {
-    sbss = .;
-    *(COMMON)
     *(.bss)
-    ebss = .;
    }
 
 }