OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Christoph Schug
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   07-Jan-2005 18:38:37
  Branch: HEAD                             Handle: 2005010717383600

  Modified files:
    openpkg-src/binutils    binutils.patch binutils.spec

  Log:
    fixed ld(1) segfault probs on Solaris 8

  Summary:
    Revision    Changes     Path
    1.11        +25 -0      openpkg-src/binutils/binutils.patch
    1.56        +1  -1      openpkg-src/binutils/binutils.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/binutils/binutils.patch
  ============================================================================
  $ cvs diff -u -r1.10 -r1.11 binutils.patch
  --- openpkg-src/binutils/binutils.patch       25 Nov 2004 10:55:25 -0000      
1.10
  +++ openpkg-src/binutils/binutils.patch       7 Jan 2005 17:38:36 -0000       
1.11
  @@ -37,3 +37,28 @@
        COREFILE=trad-core.lo
        TRAD_HEADER='"hosts/i386bsd.h"'
   
  +-----------------------------------------------------------------------------
  +
  +Compare section id, not pointers
  +
  +--- bfd/elflink.c.orig       2004-05-17 21:36:02.000000000 +0200
  ++++ bfd/elflink.c    2005-01-07 15:39:43.000000000 +0100
  +@@ -2700,7 +2700,7 @@
  +     return vdiff > 0 ? 1 : -1;
  +   else
  +     {
  +-      long sdiff = h1->root.u.def.section - h2->root.u.def.section;
  ++      long sdiff = h1->root.u.def.section->id - h2->root.u.def.section->id;
  +       if (sdiff != 0)
  +     return sdiff > 0 ? 1 : -1;
  +     }
  +@@ -3954,7 +3954,7 @@
  +             i = idx + 1;
  +           else
  +             {
  +-              long sdiff = slook - h->root.u.def.section;
  ++              long sdiff = slook - h->root.u.def.section->id;
  +               if (sdiff < 0)
  +                 j = idx;
  +               else if (sdiff > 0)
  +
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/binutils/binutils.spec
  ============================================================================
  $ cvs diff -u -r1.55 -r1.56 binutils.spec
  --- openpkg-src/binutils/binutils.spec        1 Jan 2005 10:48:02 -0000       
1.55
  +++ openpkg-src/binutils/binutils.spec        7 Jan 2005 17:38:36 -0000       
1.56
  @@ -34,7 +34,7 @@
   Group:        Utility
   License:      GPL
   Version:      2.15
  -Release:      20041125
  +Release:      20050107
   
   #   list of sources
   Source0:      
ftp://sources.redhat.com/pub/binutils/releases/binutils-%{version}.tar.bz2
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to