r712 - in trunk: binutils perl

jeremy at linuxfromscratch.org jeremy at linuxfromscratch.org
Sat Dec 4 12:35:12 PST 2004


Author: jeremy
Date: 2004-12-04 13:35:11 -0700 (Sat, 04 Dec 2004)
New Revision: 712

Added:
   trunk/binutils/binutils-2.15.94.0.1-fix_strip-1.patch
   trunk/perl/perl-5.8.6-libc-1.patch
Log:
Added new binutils patch, and copied old Perl patch to the new version number

Added: trunk/binutils/binutils-2.15.94.0.1-fix_strip-1.patch
===================================================================
--- trunk/binutils/binutils-2.15.94.0.1-fix_strip-1.patch	2004-12-02 19:35:07 UTC (rev 711)
+++ trunk/binutils/binutils-2.15.94.0.1-fix_strip-1.patch	2004-12-04 20:35:11 UTC (rev 712)
@@ -0,0 +1,13 @@
+diff -Naur binutils-2.15.94.0.1/bfd/elfcode.h binutils-2.15.94.0.1-new/bfd/elfcode.h
+--- binutils-2.15.94.0.1/bfd/elfcode.h	2004-11-22 20:33:31.000000000 +0000
++++ binutils-2.15.94.0.1-new/bfd/elfcode.h	2004-12-04 20:27:06.800747251 +0000
+@@ -1158,6 +1158,9 @@
+ 	    case STT_OBJECT:
+ 	      sym->symbol.flags |= BSF_OBJECT;
+ 	      break;
++	    case STT_TLS:
++	      sym->symbol.flags |= BSF_THREAD_LOCAL;
++	      break;
+ 	    }
+ 
+ 	  if (dynamic)

Added: trunk/perl/perl-5.8.6-libc-1.patch
===================================================================
--- trunk/perl/perl-5.8.6-libc-1.patch	2004-12-02 19:35:07 UTC (rev 711)
+++ trunk/perl/perl-5.8.6-libc-1.patch	2004-12-04 20:35:11 UTC (rev 712)
@@ -0,0 +1,30 @@
+Submitted By: Anderson Lizardo <andersonlizardo(at)yahoo(dot)com(dot)br>
+Date: 2003-09-06
+Initial Package Version: 5.8.0
+Origin: based on current LFS-BOOK patch (perl-5.8.0-libc-2.patch)
+Description: this patch adapts some hard-wired paths to the C library.
+             It uses the $prefix variable to locate the correct libc.
+
+diff -uNr perl-5.8.0.orig/hints/linux.sh perl-5.8.0/hints/linux.sh
+--- perl-5.8.0.orig/hints/linux.sh	2002-06-05 23:46:00.000000000 +1000
++++ perl-5.8.0/hints/linux.sh	2003-02-19 16:32:18.000000000 +1100
+@@ -51,9 +51,9 @@
+ # We don't use __GLIBC__ and  __GLIBC_MINOR__ because they 
+ # are insufficiently precise to distinguish things like
+ # libc-2.0.6 and libc-2.0.7.
+-if test -L /lib/libc.so.6; then
+-    libc=`ls -l /lib/libc.so.6 | awk '{print $NF}'`
+-    libc=/lib/$libc
++if test -L ${prefix}/lib/libc.so.6; then
++    libc=`ls -l ${prefix}/lib/libc.so.6 | awk '{print $NF}'`
++    libc=${prefix}/lib/$libc
+ fi
+ 
+ # Configure may fail to find lstat() since it's a static/inline
+@@ -282,3 +282,6 @@
+ 	;;
+ esac
+ EOCBU
++locincpth=""
++loclibpth=""
++glibpth="${prefix}/lib"




More information about the patches mailing list