]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/h8300/kernel/vmlinux.lds.S
Merge branch 'for_paulus' of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc
[linux-2.6-omap-h63xx.git] / arch / h8300 / kernel / vmlinux.lds.S
index 756325dd480e40ba5cfe5056d23e2675d04ed6da..65f1cdc5ee0459fd20b3fab62ee5f36a2e962216 100644 (file)
@@ -70,6 +70,7 @@ SECTIONS
 #endif
         .text :
        {
+       _text = .;
 #if defined(CONFIG_ROMKERNEL)
        *(.int_redirect)
 #endif
@@ -125,10 +126,12 @@ SECTIONS
        ___con_initcall_end = .;
                *(.exit.text)
                *(.exit.data)
+#if defined(CONFIG_BLK_DEV_INITRD)
                . = ALIGN(4);
        ___initramfs_start = .;
                *(.init.ramfs)
        ___initramfs_end = .;
+#endif
        . = ALIGN(0x4) ;
        ___init_end = .;
        __edata = . ;