]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] initramfs support
authorMatthew Wilcox <willy@debian.org>
Thu, 7 Nov 2002 00:12:52 +0000 (16:12 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Thu, 7 Nov 2002 00:12:52 +0000 (16:12 -0800)
Support initramfs on parisc

arch/parisc/Makefile
arch/parisc/vmlinux.lds.S

index 7d8ea38ddb75703ddeb60e63958f8e8309904017..fe1bd50632d13e07b9df5742dea345886a30750d 100644 (file)
@@ -20,7 +20,7 @@
 ifdef CONFIG_PARISC64
 CROSS_COMPILE := hppa64-linux-
 UTS_MACHINE := parisc64
-#CFLAGS += -b hppa64-linux
+LDFLAGS_BLOB := --format binary --oformat elf64-hppa-linux
 
 else
 MACHINE        := $(subst 64,,$(shell uname -m))
@@ -28,6 +28,7 @@ ifneq (${MACHINE},parisc)
 # cross compilation
 CROSS_COMPILE := hppa-linux-
 endif
+LDFLAGS_BLOB := --format binary --oformat elf32-hppa-linux
 endif
 
 FINAL_LD=$(CROSS_COMPILE)ld --warn-common --warn-section-align 
index 7de651049a4100501047e4b8485e217de2eebfa7..01e4aaa7550e66f8f9f87fca2b0d6bd89eacf99a 100644 (file)
@@ -79,6 +79,10 @@ SECTIONS
        *(.initcall7.init)
   }
   __initcall_end = .;
+  . = ALIGN(4096);
+  __initramfs_start = .;
+  .init.ramfs : { *(.init.ramfs) }
+  __initramfs_end = .;
   . = ALIGN(32);
   __per_cpu_start = .;
   .data.percpu  : { *(.data.percpu) }