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 <[EMAIL PROTECTED]>
+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

_______________________________________________
Kernel-svn-changes mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/kernel-svn-changes

Reply via email to