[kernel] r9652 - in dists/trunk/linux-2.6/debian/patches: bugfix/arm series

Martin Michlmayr tbm at alioth.debian.org
Sat Oct 13 17:27:15 UTC 2007


Author: tbm
Date: Sat Oct 13 17:27:15 2007
New Revision: 9652

Log:
add fix so binutils notes sections will be stripped.  Otherwise you end up
with a 3 GB kernel image on ARM.


Added:
   dists/trunk/linux-2.6/debian/patches/bugfix/arm/binutils-notes.patch
Modified:
   dists/trunk/linux-2.6/debian/patches/series/1~experimental.1

Added: dists/trunk/linux-2.6/debian/patches/bugfix/arm/binutils-notes.patch
==============================================================================
--- (empty file)
+++ dists/trunk/linux-2.6/debian/patches/bugfix/arm/binutils-notes.patch	Sat Oct 13 17:27:15 2007
@@ -0,0 +1,19 @@
+Needed otherwise you get a 3 GB kernel file
+
+From: Lennert Buytenhek <buytenh at wantstofly.org>
+Subject: Re: What's queued for 2.6.24
+Date: Wed, 3 Oct 2007 16:12:06 +0200
+
+diff -ur linux-2.6.23-rc4.orig/arch/arm/Makefile linux-2.6.23-rc4/arch/arm/Makefile
+--- linux-2.6.23-rc4.orig/arch/arm/Makefile	2007-08-28 11:07:38.000000000 +0200
++++ linux-2.6.23-rc4/arch/arm/Makefile	2007-10-03 16:09:12.000000000 +0200
+@@ -12,7 +12,7 @@
+ 
+ LDFLAGS_vmlinux	:=-p --no-undefined -X
+ CPPFLAGS_vmlinux.lds = -DTEXT_OFFSET=$(TEXT_OFFSET)
+-OBJCOPYFLAGS	:=-O binary -R .note -R .comment -S
++OBJCOPYFLAGS	:=-O binary -R .note -R .note.gnu.build-id -R .comment -S
+ GZFLAGS		:=-9
+ #CFLAGS		+=-pipe
+ # Explicitly specifiy 32-bit ARM ISA since toolchain default can be -mthumb:
+

Modified: dists/trunk/linux-2.6/debian/patches/series/1~experimental.1
==============================================================================
--- dists/trunk/linux-2.6/debian/patches/series/1~experimental.1	(original)
+++ dists/trunk/linux-2.6/debian/patches/series/1~experimental.1	Sat Oct 13 17:27:15 2007
@@ -41,6 +41,7 @@
 + bugfix/arm/disable-chelsio_t3.patch
 + bugfix/arm/disable-video_bt848.patch
 + bugfix/arm/disable-bcm43xx.patch
++ bugfix/arm/binutils-notes.patch
 + bugfix/all/git-ieee1394.patch
 + features/all/v7-iwlwifi-add-iwlwifi-wireless-drivers.patch
 + features/all/e1000e-20070806.patch



More information about the Kernel-svn-changes mailing list