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

  Server: cvs.openpkg.org                  Name:   Michael van Elst
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web          Date:   19-Jun-2003 12:42:11
  Branch: HEAD                             Handle: 2003061911421001

  Modified files:
    openpkg-src/binutils    binutils.patch binutils.spec
    openpkg-web             news.txt

  Log:
    add experimental patch to fix linker on sparc-solaris

  Summary:
    Revision    Changes     Path
    1.4         +41 -0      openpkg-src/binutils/binutils.patch
    1.39        +1  -1      openpkg-src/binutils/binutils.spec
    1.4922      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/binutils/binutils.patch
  ============================================================================
  $ cvs diff -u -r1.3 -r1.4 binutils.patch
  --- openpkg-src/binutils/binutils.patch       16 Jun 2003 15:47:53 -0000      1.3
  +++ openpkg-src/binutils/binutils.patch       19 Jun 2003 10:42:11 -0000      1.4
  @@ -13,3 +13,44 @@
      switch (bfd_get_arch (abfd))
        {
        case bfd_arch_unknown:
  +--- bfd/elflink.h.dist       2003-06-19 09:57:30.000000000 +0200
  ++++ bfd/elflink.h    2003-06-19 10:02:26.000000000 +0200
  +@@ -8692,7 +8692,10 @@
  +       if (_bfd_elf_discard_section_eh_frame (abfd, info, eh,
  +                                              elf_reloc_symbol_deleted_p,
  +                                              &cookie))
  ++      {
  +         ret = TRUE;
  ++        elf_section_data (eh)->relocs = cookie.rels;
  ++      }
  + 
  +       if (cookie.rels != NULL
  +           && elf_section_data (eh)->relocs != cookie.rels)
  +--- bfd/elf-eh-frame.c.dist  2003-06-19 09:57:34.000000000 +0200
  ++++ bfd/elf-eh-frame.c       2003-06-19 10:01:22.000000000 +0200
  +@@ -254,6 +254,7 @@
  +   unsigned int make_relative, make_lsda_relative;
  +   bfd_size_type new_size;
  +   unsigned int ptr_size;
  ++  Elf_Internal_Rela *rel;
  + 
  +   if (sec->_raw_size == 0)
  +     {
  +@@ -577,7 +578,8 @@
  +         goto free_no_table;
  + 
  +       ENSURE_NO_RELOCS (buf);
  +-      if (GET_RELOC (buf) == NULL)
  ++      rel = GET_RELOC (buf);
  ++      if (rel == NULL)
  +         /* This should not happen.  */
  +         goto free_no_table;
  +       if ((*reloc_symbol_deleted_p) (buf - ehbuf, cookie))
  +@@ -586,6 +588,7 @@
  +              be deleted.  */
  +           new_size -= hdr.length + 4;
  +           sec_info->entry[sec_info->count].removed = 1;
  ++          memset (rel, 0, sizeof(*rel));
  +         }
  +       else
  +         {
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/binutils/binutils.spec
  ============================================================================
  $ cvs diff -u -r1.38 -r1.39 binutils.spec
  --- openpkg-src/binutils/binutils.spec        16 Jun 2003 15:47:53 -0000      1.38
  +++ openpkg-src/binutils/binutils.spec        19 Jun 2003 10:42:11 -0000      1.39
  @@ -33,7 +33,7 @@
   Group:        Utility
   License:      GPL
   Version:      2.14
  -Release:      20030616
  +Release:      20030619
   
   #   list of sources
   Source0:      
ftp://sources.redhat.com/pub/binutils/releases/binutils-%{version}.tar.bz2
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.4921 -r1.4922 news.txt
  --- openpkg-web/news.txt      18 Jun 2003 13:07:17 -0000      1.4921
  +++ openpkg-web/news.txt      19 Jun 2003 10:42:10 -0000      1.4922
  @@ -1,3 +1,4 @@
  +19-Jun-2003: Upgraded package: P<binutils-2.14-20030619>
   18-Jun-2003: Upgraded package: P<aica-0.81-20030618>
   18-Jun-2003: Upgraded package: P<transfig-3.2.4-20030618>
   18-Jun-2003: Upgraded package: P<acroread-5.07-20030618>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to