OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 29-Aug-2007 09:54:38
Branch: HEAD Handle: 2007082908543700
Modified files:
openpkg-src/binutils binutils.patch binutils.spec
Log:
upgrading package: binutils 2.17 -> 2.18
Summary:
Revision Changes Path
1.21 +23 -76 openpkg-src/binutils/binutils.patch
1.82 +2 -2 openpkg-src/binutils/binutils.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/binutils/binutils.patch
============================================================================
$ cvs diff -u -r1.20 -r1.21 binutils.patch
--- openpkg-src/binutils/binutils.patch 23 Jun 2007 12:52:55 -0000
1.20
+++ openpkg-src/binutils/binutils.patch 29 Aug 2007 07:54:37 -0000
1.21
@@ -8,9 +8,9 @@
linker under Solaris 10/amd64.
Index: include/elf/common.h
---- include/elf/common.h.orig 2006-02-17 15:36:26 +0100
-+++ include/elf/common.h 2006-06-24 21:50:39 +0200
-@@ -346,6 +346,9 @@
+--- include/elf/common.h.orig 2007-08-28 19:19:40 +0200
++++ include/elf/common.h 2007-08-29 09:30:04 +0200
+@@ -353,6 +353,9 @@
#define SHT_SUNW_verdef 0x6ffffffd /* Versions defined by file */
#define SHT_SUNW_verneed 0x6ffffffe /* Versions needed by file */
#define SHT_SUNW_versym 0x6fffffff /* Symbol versions */
@@ -21,21 +21,21 @@
#define SHT_GNU_verdef SHT_SUNW_verdef
#define SHT_GNU_verneed SHT_SUNW_verneed
Index: bfd/elf.c
---- bfd/elf.c.orig 2006-03-16 13:20:15 +0100
-+++ bfd/elf.c 2006-06-24 21:50:39 +0200
-@@ -2121,6 +2121,11 @@
+--- bfd/elf.c.orig 2007-08-28 19:19:33 +0200
++++ bfd/elf.c 2007-08-29 09:30:04 +0200
+@@ -1793,6 +1793,11 @@
+ elf_tdata (abfd)->dynverref_hdr = *hdr;
return _bfd_elf_make_section_from_shdr (abfd, hdr, name, shindex);
- break;
+ case SHT_SUNW_syminfo:
-+ case SHT_SUNW_signature:
++ /* case SHT_SUNW_signature: conflicts with new SHT_GNU_HASH in Binutils
2.18 */
+ case SHT_SUNW_dof:
+ return TRUE;
+
case SHT_SHLIB:
return TRUE;
-@@ -4862,6 +4867,12 @@
+@@ -4682,6 +4687,12 @@
else
i_ehdrp->e_type = ET_REL;
@@ -49,9 +49,9 @@
{
case bfd_arch_unknown:
Index: bfd/elf64-x86-64.c
---- bfd/elf64-x86-64.c.orig 2006-03-23 09:23:09 +0100
-+++ bfd/elf64-x86-64.c 2006-06-24 21:50:39 +0200
-@@ -327,7 +327,11 @@
+--- bfd/elf64-x86-64.c.orig 2007-08-06 21:59:33 +0200
++++ bfd/elf64-x86-64.c 2007-08-29 09:30:04 +0200
+@@ -345,7 +345,11 @@
/* The name of the dynamic interpreter. This is put in the .interp
section. */
@@ -64,15 +64,14 @@
/* If ELIMINATE_COPY_RELOCS is non-zero, the linker will try to avoid
copying dynamic variables from a shared lib into an app's dynbss
-
-----------------------------------------------------------------------------
Support FreeBSD >= 4.10 by fixing platform detection.
Index: bfd/configure
---- bfd/configure.orig 2006-06-23 20:17:03 +0200
-+++ bfd/configure 2006-06-24 21:50:39 +0200
-@@ -11495,6 +11495,10 @@
+--- bfd/configure.orig 2007-08-28 22:19:51 +0200
++++ bfd/configure 2007-08-29 09:30:04 +0200
+@@ -17459,6 +17459,10 @@
i[3-7]86-*-bsdi)
COREFILE=
;;
@@ -88,24 +87,9 @@
Fight problems with --disable-nls under Solaris
-Index: binutils/bucomm.h
---- binutils/bucomm.h.orig 2006-02-09 12:49:53 +0100
-+++ binutils/bucomm.h 2006-06-24 21:50:39 +0200
-@@ -138,6 +138,11 @@
- #endif
-
-
-+#ifndef ENABLE_NLS
-+# define _LIBINTL_H
-+# define _LIBGETTEXT_H
-+#endif
-+
- #ifdef HAVE_LOCALE_H
- # ifndef ENABLE_NLS
- /* The Solaris version of locale.h always includes libintl.h. If we have
Index: gas/asintl.h
---- gas/asintl.h.orig 2005-09-30 13:42:01 +0200
-+++ gas/asintl.h 2006-06-24 21:50:39 +0200
+--- gas/asintl.h.orig 2007-08-06 21:59:49 +0200
++++ gas/asintl.h 2007-08-29 09:30:04 +0200
@@ -20,6 +20,11 @@
Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
02110-1301, USA. */
@@ -119,8 +103,8 @@
# ifndef ENABLE_NLS
/* The Solaris version of locale.h always includes libintl.h. If we have
Index: ld/ld.h
---- ld/ld.h.orig 2005-09-30 13:42:04 +0200
-+++ ld/ld.h 2006-06-24 21:50:39 +0200
+--- ld/ld.h.orig 2007-08-06 22:00:19 +0200
++++ ld/ld.h 2007-08-29 09:30:04 +0200
@@ -23,6 +23,11 @@
#ifndef LD_H
#define LD_H
@@ -134,9 +118,9 @@
#endif
#ifndef SEEK_CUR
Index: ld/Makefile.in
---- ld/Makefile.in.orig 2006-06-03 06:45:50 +0200
-+++ ld/Makefile.in 2006-06-24 21:53:56 +0200
-@@ -269,7 +269,7 @@
+--- ld/Makefile.in.orig 2007-08-06 22:29:54 +0200
++++ ld/Makefile.in 2007-08-29 09:30:04 +0200
+@@ -287,7 +287,7 @@
# We put the scripts in the directory $(scriptdir)/ldscripts.
# We can't put the scripts in $(datadir) because the SEARCH_DIR
# directives need to be different for native and cross linkers.
@@ -152,7 +136,7 @@
Index: libiberty/fibheap.c
--- libiberty/fibheap.c.orig 2005-05-10 17:33:33 +0200
-+++ libiberty/fibheap.c 2007-06-06 11:11:42 +0200
++++ libiberty/fibheap.c 2007-08-29 09:30:04 +0200
@@ -34,8 +34,11 @@
#include "libiberty.h"
#include "fibheap.h"
@@ -167,40 +151,3 @@
static void fibheap_ins_root (fibheap_t, fibnode_t);
static void fibheap_rem_root (fibheap_t, fibnode_t);
------------------------------------------------------------------------------
-
-Silently ignore ld(1) option --hash-style=ARG which
-RedHat/Fedora introduce in GNU binutils >= 2.17.50.
-This is required to be able to build GCC under Fedora 7
-as here the vendor cc(1) temporarily used our ld(1).
-
-Index: ld/emultempl/elf32.em
---- ld/emultempl/elf32.em.orig 2006-06-12 15:05:04 +0200
-+++ ld/emultempl/elf32.em 2007-06-23 14:46:32 +0200
-@@ -1734,6 +1734,7 @@
- #define OPTION_GROUP (OPTION_ENABLE_NEW_DTAGS + 1)
- #define OPTION_EH_FRAME_HDR (OPTION_GROUP + 1)
- #define OPTION_EXCLUDE_LIBS (OPTION_EH_FRAME_HDR + 1)
-+#define OPTION_HASH_STYLE (OPTION_EXCLUDE_LIBS + 1)
-
- static void
- gld${EMULATION_NAME}_add_options
-@@ -1750,6 +1751,7 @@
- {"enable-new-dtags", no_argument, NULL, OPTION_ENABLE_NEW_DTAGS},
- {"eh-frame-hdr", no_argument, NULL, OPTION_EH_FRAME_HDR},
- {"exclude-libs", required_argument, NULL, OPTION_EXCLUDE_LIBS},
-+ {"hash-style", required_argument, NULL, OPTION_HASH_STYLE},
- {"Bgroup", no_argument, NULL, OPTION_GROUP},
- EOF
- fi
-@@ -1806,6 +1808,10 @@
- add_excluded_libs (optarg);
- break;
-
-+ case OPTION_HASH_STYLE:
-+ /* silently ignore --hash-style=ARG from GNU binutils >= 2.17.50 */
-+ break;
-+
- case 'z':
- if (strcmp (optarg, "initfirst") == 0)
- link_info.flags_1 |= (bfd_vma) DF_1_INITFIRST;
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/binutils/binutils.spec
============================================================================
$ cvs diff -u -r1.81 -r1.82 binutils.spec
--- openpkg-src/binutils/binutils.spec 23 Jun 2007 12:52:55 -0000
1.81
+++ openpkg-src/binutils/binutils.spec 29 Aug 2007 07:54:37 -0000
1.82
@@ -32,8 +32,8 @@
Class: CORE
Group: Compiler
License: GPL
-Version: 2.17
-Release: 20070623
+Version: 2.18
+Release: 20070829
# list of sources
Source0:
ftp://sources.redhat.com/pub/binutils/releases/binutils-%{version}.tar.bz2
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]