public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* .incbin patch
@ 2003-07-09 22:06 David Mosberger
  2003-07-10  7:15 ` Joshua Kwan
  0 siblings, 1 reply; 2+ messages in thread
From: David Mosberger @ 2003-07-09 22:06 UTC (permalink / raw)
  To: torvalds; +Cc: sam, linux-kernel

Linus,

Would you mind applying the attached small patch (originally by H.J. Lu)?
It's the last thing that keeps your tree from building directly for ia64.

Sam said he would submit the patch to you, but this was over a week
ago.  I tried to contact Sam, but it looks like his mailbox is full
(probably on vacation).

As I recall, the only objection to this patch came from Russell King,
since it would force ARM to upgrade to a reasonably recent version of
binutils, but he (grudingly) agreed to the change.

Thanks,

	--david

===== usr/Makefile 1.6 vs edited =====
--- 1.6/usr/Makefile	Sun Mar  9 13:47:41 2003
+++ edited/usr/Makefile	Tue Jul  8 10:29:19 2003
@@ -5,11 +5,9 @@
 
 clean-files := initramfs_data.cpio.gz
 
-LDFLAGS_initramfs_data.o := $(LDFLAGS_BLOB) -r -T
-
-$(obj)/initramfs_data.o: $(src)/initramfs_data.scr \
-			 $(obj)/initramfs_data.cpio.gz FORCE
-	$(call if_changed,ld)
+$(src)/initramfs_data.S: $(obj)/initramfs_data.cpio.gz
+	echo "	.section .init.ramfs,\"a\"" > $(src)/initramfs_data.S
+	echo ".incbin \"usr/initramfs_data.cpio.gz\"" >> $(src)/initramfs_data.S
 
 # initramfs-y are the programs which will be copied into the CPIO
 # archive. Currently, the filenames are hardcoded in gen_init_cpio,
===== usr/initramfs_data.scr 1.1 vs edited =====
--- 1.1/usr/initramfs_data.scr	Mon Nov  4 14:04:41 2002
+++ edited/usr/initramfs_data.scr	Tue Jul  8 10:29:19 2003
@@ -1,4 +0,0 @@
-SECTIONS
-{
-	.init.ramfs : { *(.data) }
-}

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-07-10  7:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-09 22:06 .incbin patch David Mosberger
2003-07-10  7:15 ` Joshua Kwan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox