diff options
| author | Matthew Wilcox <willy@debian.org> | 2002-11-06 16:12:52 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-11-06 16:12:52 -0800 |
| commit | 2c4618541ac5c3c3d15f544e1ef4c018c9c503be (patch) | |
| tree | ad257e69b76856757d479603cf76338763e0ec76 | |
| parent | ec4d1c683543037f29c2f517856f5efc0e3f5c51 (diff) | |
[PATCH] initramfs support
Support initramfs on parisc
| -rw-r--r-- | arch/parisc/Makefile | 3 | ||||
| -rw-r--r-- | arch/parisc/vmlinux.lds.S | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/arch/parisc/Makefile b/arch/parisc/Makefile index 7d8ea38ddb75..fe1bd50632d1 100644 --- a/arch/parisc/Makefile +++ b/arch/parisc/Makefile @@ -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 diff --git a/arch/parisc/vmlinux.lds.S b/arch/parisc/vmlinux.lds.S index 7de651049a41..01e4aaa7550e 100644 --- a/arch/parisc/vmlinux.lds.S +++ b/arch/parisc/vmlinux.lds.S @@ -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) } |
