r1042 - in trunk: . scripts/patches scripts/scripts/cross-scripts

ryan at linuxfromscratch.org ryan at linuxfromscratch.org
Thu Jan 12 00:56:28 PST 2006


Author: ryan
Date: 2006-01-12 01:56:27 -0700 (Thu, 12 Jan 2006)
New Revision: 1042

Added:
   trunk/scripts/patches/binutils-2.16.1-sparc_aout-1.patch
Modified:
   trunk/
   trunk/scripts/scripts/cross-scripts/cross-binutils.sh
Log:
 r1078 at rei:  lfs | 2006-01-12 18:58:33 +1100
 Submitted By: Jim Gifford (patches at jg555 dot com)
 Date: 2005-11-08
 Initial Package Version: 2.16.1
 Origin: HJL - Binutils CVS
 Upstream Status: Applied
 Description: Allows Sparc aout to handle different sparc versions
 



Property changes on: trunk
___________________________________________________________________
Name: svk:merge
   - 27a90bee-6a05-0410-9baa-d6d48c78a963:/local:705
27a90bee-6a05-0410-9baa-d6d48c78a963:/trunk:1077
c4644617-e5f8-0310-a1f2-9ce34ac0f9cb:/cross-lfs:564
   + 27a90bee-6a05-0410-9baa-d6d48c78a963:/local:705
27a90bee-6a05-0410-9baa-d6d48c78a963:/trunk:1078
c4644617-e5f8-0310-a1f2-9ce34ac0f9cb:/cross-lfs:564

Added: trunk/scripts/patches/binutils-2.16.1-sparc_aout-1.patch
===================================================================
--- trunk/scripts/patches/binutils-2.16.1-sparc_aout-1.patch	2006-01-12 08:56:09 UTC (rev 1041)
+++ trunk/scripts/patches/binutils-2.16.1-sparc_aout-1.patch	2006-01-12 08:56:27 UTC (rev 1042)
@@ -0,0 +1,24 @@
+Submitted By: Jim Gifford (patches at jg555 dot com)
+Date: 2005-11-08
+Initial Package Version: 2.16.1
+Origin: HJL - Binutils CVS
+Upstream Status: Applied
+Description: Allows Sparc aout to handle different sparc versions
+ 
+diff -Naur binutils-2.16.1.orig/bfd/aoutx.h binutils-2.16.1/bfd/aoutx.h
+--- binutils-2.16.1.orig/bfd/aoutx.h	2005-03-03 11:40:55.000000000 +0000
++++ binutils-2.16.1/bfd/aoutx.h	2005-11-08 17:28:48.000000000 +0000
+@@ -733,7 +733,12 @@
+ 	  || machine == bfd_mach_sparc
+ 	  || machine == bfd_mach_sparc_sparclite
+ 	  || machine == bfd_mach_sparc_sparclite_le
+-	  || machine == bfd_mach_sparc_v9)
++	  || machine == bfd_mach_sparc_v8plus
++	  || machine == bfd_mach_sparc_v8plusa
++	  || machine == bfd_mach_sparc_v8plusb
++	  || machine == bfd_mach_sparc_v9
++	  || machine == bfd_mach_sparc_v9a
++	  || machine == bfd_mach_sparc_v9b)
+ 	arch_flags = M_SPARC;
+       else if (machine == bfd_mach_sparc_sparclet)
+ 	arch_flags = M_SPARCLET;

Modified: trunk/scripts/scripts/cross-scripts/cross-binutils.sh
===================================================================
--- trunk/scripts/scripts/cross-scripts/cross-binutils.sh	2006-01-12 08:56:09 UTC (rev 1041)
+++ trunk/scripts/scripts/cross-scripts/cross-binutils.sh	2006-01-12 08:56:27 UTC (rev 1042)
@@ -70,6 +70,9 @@
    # Issue with HJL binutils 2.15.94.0.1 stripping needed information
    # one manifestation is with stripping TLS info from libc.a 
    2.15.94.0.1 ) apply_patch binutils-2.15.94.0.1-fix-strip-1 ;;
+
+   # fix sparcv8 aout
+   2.16.1 ) apply_patch binutils-2.16.1-sparc_aout-1 ;;
 esac
                                                                                 
 # Check if we have sysroot set




More information about the cross-lfs mailing list