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:   20-Jun-2003 12:10:41
  Branch: HEAD                             Handle: 2003062011103901

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

  Log:
    use less intrusive patch by [EMAIL PROTECTED] for sparc-solaris

  Summary:
    Revision    Changes     Path
    1.5         +11 -41     openpkg-src/binutils/binutils.patch
    1.40        +1  -1      openpkg-src/binutils/binutils.spec
    1.4936      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/binutils/binutils.patch
  ============================================================================
  $ cvs diff -u -r1.4 -r1.5 binutils.patch
  --- openpkg-src/binutils/binutils.patch       19 Jun 2003 10:42:11 -0000      1.4
  +++ openpkg-src/binutils/binutils.patch       20 Jun 2003 10:10:40 -0000      1.5
  @@ -13,44 +13,14 @@
      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
  -         {
  +--- bfd/elf64-sparc.c.dist   2003-06-20 09:42:19.000000000 +0200
  ++++ bfd/elf64-sparc.c        2003-06-20 09:42:40.000000000 +0200
  +@@ -2684,7 +2684,7 @@
  +            overflows.  We don't, but this breaks stabs debugging
  +            info, whose relocations are only 32-bits wide.  Ignore
  +            overflows for discarded entries.  */
  +-        if (r_type == R_SPARC_32
  ++        if ((r_type == R_SPARC_32 || r_type == R_SPARC_DISP32)
  +             && _bfd_elf_section_offset (output_bfd, info, input_section,
  +                                         rel->r_offset) == (bfd_vma) -1)
  +           break;
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/binutils/binutils.spec
  ============================================================================
  $ cvs diff -u -r1.39 -r1.40 binutils.spec
  --- openpkg-src/binutils/binutils.spec        19 Jun 2003 10:42:11 -0000      1.39
  +++ openpkg-src/binutils/binutils.spec        20 Jun 2003 10:10:40 -0000      1.40
  @@ -33,7 +33,7 @@
   Group:        Utility
   License:      GPL
   Version:      2.14
  -Release:      20030619
  +Release:      20030620
   
   #   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.4935 -r1.4936 news.txt
  --- openpkg-web/news.txt      20 Jun 2003 08:50:44 -0000      1.4935
  +++ openpkg-web/news.txt      20 Jun 2003 10:10:39 -0000      1.4936
  @@ -1,3 +1,4 @@
  +20-Jun-2003: Upgraded package: P<binutils-2.14-20030620>
   20-Jun-2003: Upgraded package: P<xmame-0.70.1-20030620>
   20-Jun-2003: Upgraded package: P<zsh-4.1.1-20030620>
   20-Jun-2003: Upgraded package: P<mysql3-3.23.57-20030620>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to