]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - arch/parisc/kernel/vmlinux.lds.S
all-archs: consolidate .text section definition in asm-generic
[mirror_ubuntu-zesty-kernel.git] / arch / parisc / kernel / vmlinux.lds.S
index 7b943b45f7cd518f7749aa50fcf6ed081d5615f0..321de82fa86703c5bef12bf1d3d9d7e777c4dedc 100644 (file)
@@ -51,7 +51,7 @@ SECTIONS
 
   _text = .;                   /* Text and read-only data */
   .text ALIGN(16) : {
-       *(.text)
+       TEXT_TEXT
        SCHED_TEXT
        LOCK_TEXT
        *(.text.do_softirq)
@@ -68,6 +68,8 @@ SECTIONS
 
   RODATA
 
+  BUG_TABLE
+
   /* writeable */
   . = ALIGN(ASM_PAGE_SIZE);    /* Make sure this is page aligned so
                                   that we can properly leave these
@@ -173,11 +175,13 @@ SECTIONS
      from .altinstructions and .eh_frame */
   .exit.text : { *(.exit.text) }
   .exit.data : { *(.exit.data) }
+#ifdef CONFIG_BLK_DEV_INITRD
   . = ALIGN(ASM_PAGE_SIZE);
   __initramfs_start = .;
   .init.ramfs : { *(.init.ramfs) }
   __initramfs_end = .;
-  . = ALIGN(32);
+#endif
+  . = ALIGN(ASM_PAGE_SIZE);
   __per_cpu_start = .;
   .data.percpu  : { *(.data.percpu) }
   __per_cpu_end = .;