build a compressed kernel image to use with i386 bootloaders
[openwrt-10.03/.git] / target / linux / image / ar7 / src / ld.script.in
index 9a9f3ef4f4eac6ccc8b881a5df453a1585a8420d..40389e644fe0af30abb64d8f673fe7470488dd84 100644 (file)
@@ -5,15 +5,15 @@ ENTRY(tikernelunzip)
 {
 
        /* Allocate memory space on top of kernel bss space */
-       . = _fbss;
+       . = 0x94200000;
        .text :
        {
                *(.text)
-                       *(.rodata)
-                       *(.rodata1)
-                       *(.gnu.warning)
-                       *(.text.init)
-                       *(.data.init)
+               *(.rodata)
+               *(.rodata1)
+               *(.gnu.warning)
+               *(.text.init)
+               *(.data.init)
        }                    
 
        .data :
@@ -21,21 +21,14 @@ ENTRY(tikernelunzip)
                *(*)
        }
 
-bss :
+       .bss :
        {
-               inflate_bss_start = .;
                *(.dynbss)
-                       *(.bss)
-                       *(COMMON)
-                       *(.sbss)
-                       *(.scommon)
-                       inflate_bss_end = .;
+               *(COMMON)
+               *(.bss)
+               *(.sbss)
+               *(.scommon)
                . = ALIGN (0x8000);
-               inflate_slide_window = .;
-               . += 0x8000;  /* slide window is 8000h */
-               inflate_free_memory_start = .;
+               workspace = .;
        }
-
-
-
 }