Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Nov 2012 15:56:22 +0100
From:      Niclas Zeising <zeising@freebsd.org>
To:        ports@freebsd.org
Subject:   [CFT] devel/binutils 2.23
Message-ID:  <5097D396.9030401@freebsd.org>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------010303060704000807050303
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Hi!
Attached is a patch that updates the devel/binutils port to the latest 
version, 2.23.  This is a minor version, and looking at the release 
notes I can't see anything suprising.  Nonetheless it would be very good 
to have it tested before I commit the update (sometime after 9.1 when 
the ports tree is unfrozen).  I am especially interested in testing on 
things not i386 or amd64, since I only have access to those architectures.
When applying the patch, remember to add -E to patch, to remove empty files.
Thank you!
-- 
Niclas Zeising


--------------010303060704000807050303
Content-Type: text/x-patch;
 name="binutils.2.23.update.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="binutils.2.23.update.diff"

Index: devel/binutils/distinfo
===================================================================
--- devel/binutils/distinfo	(revision 306982)
+++ devel/binutils/distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (binutils-2.22.tar.bz2) = 6c7af8ed1c8cf9b4b9d6e6fe09a3e1d3d479fe63984ba8b9b26bf356b6313ca9
-SIZE (binutils-2.22.tar.bz2) = 19973532
+SHA256 (binutils-2.23.tar.bz2) = 5f975e744a0fd4a4ab0b28dd6d0921685b3279207823226df92429389dbee452
+SIZE (binutils-2.23.tar.bz2) = 21402046
Index: devel/binutils/files/patch-ld__emultempl__ppc64elf.em
===================================================================
--- devel/binutils/files/patch-ld__emultempl__ppc64elf.em	(revision 306982)
+++ devel/binutils/files/patch-ld__emultempl__ppc64elf.em	(working copy)
@@ -1,11 +0,0 @@
---- ./ld/emultempl/ppc64elf.em.orig	2011-11-21 10:29:39.000000000 +0100
-+++ ./ld/emultempl/ppc64elf.em	2011-12-21 09:44:40.000000000 +0100
-@@ -62,7 +62,7 @@
- static int no_toc_sort = 0;
- 
- /* Set if PLT call stubs should load r11.  */
--static int plt_static_chain = 0;
-+static int plt_static_chain = ${DEFAULT_PLT_STATIC_CHAIN-0};
- 
- /* Whether to emit symbols for stubs.  */
- static int emit_stub_syms = -1;
Index: devel/binutils/files/patch-gas__config__tc-ppc.c
===================================================================
--- devel/binutils/files/patch-gas__config__tc-ppc.c	(revision 306982)
+++ devel/binutils/files/patch-gas__config__tc-ppc.c	(working copy)
@@ -1,13 +0,0 @@
---- ./gas/config/tc-ppc.c.orig	2011-06-14 11:03:51.000000000 +0200
-+++ ./gas/config/tc-ppc.c	2011-12-21 09:44:40.000000000 +0100
-@@ -1370,7 +1370,9 @@
- #endif
- #endif
- #ifdef OBJ_ELF
--# ifdef TE_VXWORKS
-+# ifdef TE_FreeBSD
-+  return (ppc_obj64 ? "elf64-powerpc-freebsd" : "elf32-powerpc-freebsd");
-+# elif defined (TE_VXWORKS)
-   return "elf32-powerpc-vxworks";
- # else
-   return (target_big_endian
Index: devel/binutils/files/patch-bfd__elf32-ppc.c
===================================================================
--- devel/binutils/files/patch-bfd__elf32-ppc.c	(revision 306982)
+++ devel/binutils/files/patch-bfd__elf32-ppc.c	(working copy)
@@ -1,36 +0,0 @@
---- ./bfd/elf32-ppc.c.orig	2011-11-21 10:29:21.000000000 +0100
-+++ ./bfd/elf32-ppc.c	2011-12-21 09:44:40.000000000 +0100
-@@ -9127,6 +9127,24 @@
- 
- #include "elf32-target.h"
- 
-+/* FreeBSD Target */
-+
-+#undef  TARGET_LITTLE_SYM
-+#undef  TARGET_LITTLE_NAME
-+
-+#undef  TARGET_BIG_SYM
-+#define TARGET_BIG_SYM  bfd_elf32_powerpc_freebsd_vec
-+#undef  TARGET_BIG_NAME
-+#define TARGET_BIG_NAME "elf32-powerpc-freebsd"
-+
-+#undef  ELF_OSABI
-+#define ELF_OSABI	ELFOSABI_FREEBSD
-+
-+#undef  elf32_bed
-+#define elf32_bed	elf32_powerpc_fbsd_bed
-+
-+#include "elf32-target.h"
-+
- /* VxWorks Target */
- 
- #undef TARGET_LITTLE_SYM
-@@ -9137,6 +9155,8 @@
- #undef TARGET_BIG_NAME
- #define TARGET_BIG_NAME		"elf32-powerpc-vxworks"
- 
-+#undef  ELF_OSABI
-+
- /* VxWorks uses the elf default section flags for .plt.  */
- static const struct bfd_elf_special_section *
- ppc_elf_vxworks_get_sec_type_attr (bfd *abfd ATTRIBUTE_UNUSED, asection *sec)
Index: devel/binutils/files/patch-ld__emulparams__elf32ppc_fbsd.sh
===================================================================
--- devel/binutils/files/patch-ld__emulparams__elf32ppc_fbsd.sh	(revision 306982)
+++ devel/binutils/files/patch-ld__emulparams__elf32ppc_fbsd.sh	(working copy)
@@ -1,8 +0,0 @@
---- ./ld/emulparams/elf32ppc_fbsd.sh.orig	2002-02-18 10:38:01.000000000 +0100
-+++ ./ld/emulparams/elf32ppc_fbsd.sh	2011-12-21 09:44:40.000000000 +0100
-@@ -1,2 +1,5 @@
- . ${srcdir}/emulparams/elf32ppc.sh
- . ${srcdir}/emulparams/elf_fbsd.sh
-+
-+OUTPUT_FORMAT="elf32-powerpc-freebsd"
-+
Index: devel/binutils/files/patch-bfd__elf64-ppc.c
===================================================================
--- devel/binutils/files/patch-bfd__elf64-ppc.c	(revision 306982)
+++ devel/binutils/files/patch-bfd__elf64-ppc.c	(working copy)
@@ -1,25 +0,0 @@
---- ./bfd/elf64-ppc.c.orig	2011-11-21 10:29:24.000000000 +0100
-+++ ./bfd/elf64-ppc.c	2011-12-21 09:44:40.000000000 +0100
-@@ -13897,3 +13897,22 @@
- }
- 
- #include "elf64-target.h"
-+
-+/* FreeBSD support */
-+
-+#undef  TARGET_LITTLE_SYM
-+#undef  TARGET_LITTLE_NAME
-+
-+#undef  TARGET_BIG_SYM
-+#define TARGET_BIG_SYM	bfd_elf64_powerpc_freebsd_vec
-+#undef  TARGET_BIG_NAME
-+#define TARGET_BIG_NAME "elf64-powerpc-freebsd"
-+
-+#undef  ELF_OSABI
-+#define	ELF_OSABI       ELFOSABI_FREEBSD
-+
-+#undef  elf64_bed
-+#define elf64_bed	elf64_powerpc_fbsd_bed
-+
-+#include "elf64-target.h"
-+
Index: devel/binutils/files/patch-bfd__configure
===================================================================
--- devel/binutils/files/patch-bfd__configure	(revision 306982)
+++ devel/binutils/files/patch-bfd__configure	(working copy)
@@ -1,18 +0,0 @@
---- ./bfd/configure.orig	2011-11-21 12:55:48.000000000 +0100
-+++ ./bfd/configure	2011-12-21 09:44:40.000000000 +0100
-@@ -15262,6 +15262,7 @@
-     bfd_elf32_pjl_vec)          tb="$tb elf32-pj.lo elf32.lo $elf";;
-     bfd_elf32_powerpc_vec)	tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
-     bfd_elf32_powerpcle_vec)	tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
-+    bfd_elf32_powerpc_freebsd_vec) tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
-     bfd_elf32_powerpc_vxworks_vec) tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
-     bfd_elf32_rx_le_vec)        tb="$tb elf32-rx.lo elf32.lo $elf" ;;
-     bfd_elf32_rx_be_vec)        tb="$tb elf32-rx.lo elf32.lo $elf" ;;
-@@ -15327,6 +15328,7 @@
-     bfd_elf64_mmix_vec) 	tb="$tb elf64-mmix.lo elf64.lo $elf" target_size=64 ;;
-     bfd_elf64_powerpc_vec)	tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
-     bfd_elf64_powerpcle_vec)	tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size=64 ;;
-+    bfd_elf64_powerpc_freebsd_vec) tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size=64 ;;
-     bfd_elf64_s390_vec)		tb="$tb elf64-s390.lo elf64.lo $elf"; target_size=64 ;;
-     bfd_elf64_sh64_vec)		tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
-     bfd_elf64_sh64l_vec)	tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
Index: devel/binutils/files/patch-ld__configure.tgt
===================================================================
--- devel/binutils/files/patch-ld__configure.tgt	(revision 306982)
+++ devel/binutils/files/patch-ld__configure.tgt	(working copy)
@@ -1,22 +0,0 @@
---- ./ld/configure.tgt.orig	2011-11-21 10:29:37.000000000 +0100
-+++ ./ld/configure.tgt	2011-12-21 09:44:40.000000000 +0100
-@@ -453,10 +453,17 @@
- pj*-*-*)	        targ_emul=pjelf
- 			;;
- powerpc-*-freebsd* | powerpc-*-kfreebsd*-gnu)
--			targ_emul=elf32ppc_fbsd;
--			targ_extra_emuls="elf32ppc elf32ppcsim";
-+			targ_emul=elf32ppc_fbsd
-+			targ_extra_emuls="elf32ppc elf32ppcsim"
- 			targ_extra_libpath=elf32ppc;
- 			tdir_elf32ppcsim=`echo ${targ_alias} | sed -e 's/ppc/ppcsim/'` ;;
-+powerpc64-*-freebsd*)
-+			targ_emul=elf64ppc_fbsd
-+			targ_extra_emuls="elf64ppc elf32ppc_fbsd elf32ppc"
-+			targ_extra_libpath="elf32ppc_fbsd elf32ppc"
-+			tdir_elf32ppc=`echo "${targ_alias}" | sed -e 's/64//'`
-+			tdir_elf32ppc_fbsd=$tdir_elf32ppc
-+			;;
- powerpc*-*-linux*)	case "${targ}" in
- 			*64*)	targ_emul=elf64ppc
- 				targ_extra_emuls="elf32ppclinux elf32ppc elf32ppcsim"
Index: devel/binutils/files/patch-ld__emulparams__elf64ppc_fbsd.sh
===================================================================
--- devel/binutils/files/patch-ld__emulparams__elf64ppc_fbsd.sh	(revision 306982)
+++ devel/binutils/files/patch-ld__emulparams__elf64ppc_fbsd.sh	(working copy)
@@ -1,9 +0,0 @@
---- ./ld/emulparams/elf64ppc_fbsd.sh.orig	2011-12-21 09:44:40.000000000 +0100
-+++ ./ld/emulparams/elf64ppc_fbsd.sh	2011-12-21 09:44:40.000000000 +0100
-@@ -0,0 +1,6 @@
-+. ${srcdir}/emulparams/elf64ppc.sh
-+. ${srcdir}/emulparams/elf_fbsd.sh
-+
-+OUTPUT_FORMAT="elf64-powerpc-freebsd"
-+DEFAULT_PLT_STATIC_CHAIN=1
-+
Index: devel/binutils/files/patch-ld__Makefile.in
===================================================================
--- devel/binutils/files/patch-ld__Makefile.in	(revision 306982)
+++ devel/binutils/files/patch-ld__Makefile.in	(working copy)
@@ -1,29 +0,0 @@
---- ./ld/Makefile.in.orig	2011-07-22 22:22:37.000000000 +0200
-+++ ./ld/Makefile.in	2011-12-21 09:44:40.000000000 +0100
-@@ -783,6 +783,7 @@
- 	eelf64ltsmip_fbsd.c \
- 	eelf64mmix.c \
- 	eelf64ppc.c \
-+	eelf64ppc_fbsd.c \
- 	eelf64tilegx.c \
- 	eelf_l1om.c \
- 	eelf_l1om_fbsd.c \
-@@ -1180,6 +1181,7 @@
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64ltsmip_fbsd.Po@am__quote@
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64mmix.Po@am__quote@
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64ppc.Po@am__quote@
-+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64ppc_fbsd.Po@am__quote@
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64tilegx.Po@am__quote@
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386.Po@am__quote@
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_be.Po@am__quote@
-@@ -3425,6 +3427,10 @@
-   ldemul-list.h \
-   $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
- 	${GENSCRIPTS} elf64ppc "$(tdir_elf64ppc)"
-+eelf64ppc_fbsd.c: $(srcdir)/emulparams/elf64ppc_fbsd.sh \
-+  $(srcdir)/emultempl/ppc64elf.em ldemul-list.h \
-+  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
-+	${GENSCRIPTS} elf64ppc_fbsd "$(tdir_elf64ppc_fbsd)"
- eelf64tilegx.c: $(srcdir)/emulparams/elf64tilegx.sh \
-   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/needrelax.em \
-   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
Index: devel/binutils/files/patch-bfd__targets.c
===================================================================
--- devel/binutils/files/patch-bfd__targets.c	(revision 306982)
+++ devel/binutils/files/patch-bfd__targets.c	(working copy)
@@ -1,34 +0,0 @@
---- ./bfd/targets.c.orig	2011-08-17 02:39:38.000000000 +0200
-+++ ./bfd/targets.c	2011-12-21 09:44:40.000000000 +0100
-@@ -667,6 +667,7 @@
- extern const bfd_target bfd_elf32_pjl_vec;
- extern const bfd_target bfd_elf32_powerpc_vec;
- extern const bfd_target bfd_elf32_powerpcle_vec;
-+extern const bfd_target bfd_elf32_powerpc_freebsd_vec;
- extern const bfd_target bfd_elf32_powerpc_vxworks_vec;
- extern const bfd_target bfd_elf32_rx_le_vec;
- extern const bfd_target bfd_elf32_rx_be_vec;
-@@ -729,6 +730,7 @@
- extern const bfd_target bfd_elf64_mmix_vec;
- extern const bfd_target bfd_elf64_powerpc_vec;
- extern const bfd_target bfd_elf64_powerpcle_vec;
-+extern const bfd_target bfd_elf64_powerpc_freebsd_vec;
- extern const bfd_target bfd_elf64_s390_vec;
- extern const bfd_target bfd_elf64_sh64_vec;
- extern const bfd_target bfd_elf64_sh64l_vec;
-@@ -1033,6 +1035,7 @@
- 	&bfd_elf32_powerpc_vec,
- 	&bfd_elf32_powerpc_vxworks_vec,
- 	&bfd_elf32_powerpcle_vec,
-+	&bfd_elf32_powerpc_freebsd_vec,
- 	&bfd_elf32_rx_be_vec,
- 	&bfd_elf32_rx_be_ns_vec,
- 	&bfd_elf32_rx_le_vec,
-@@ -1095,6 +1098,7 @@
- 	&bfd_elf64_mmix_vec,
- 	&bfd_elf64_powerpc_vec,
- 	&bfd_elf64_powerpcle_vec,
-+	&bfd_elf64_powerpc_freebsd_vec,
- 	&bfd_elf64_s390_vec,
- 	&bfd_elf64_sh64_vec,
- 	&bfd_elf64_sh64l_vec,
Index: devel/binutils/files/patch-bfd__config.bfd
===================================================================
--- devel/binutils/files/patch-bfd__config.bfd	(revision 306982)
+++ devel/binutils/files/patch-bfd__config.bfd	(working copy)
@@ -1,26 +0,0 @@
---- ./bfd/config.bfd.orig	2011-07-29 00:35:13.000000000 +0200
-+++ ./bfd/config.bfd	2011-12-21 09:44:40.000000000 +0100
-@@ -1128,6 +1128,11 @@
-     targ_selvecs=rs6000coff_vec
-     want64=true
-     ;;
-+  powerpc64-*-freebsd*)
-+    targ_defvec=bfd_elf64_powerpc_freebsd_vec
-+    targ_selvecs="bfd_elf64_powerpc_vec bfd_elf32_powerpc_vec bfd_elf32_powerpc_freebsd_vec bfd_elf32_powerpcle_vec rs6000coff_vec rs6000coff64_vec aix5coff64_vec"
-+    want64=true
-+    ;;
-   powerpc64-*-elf* | powerpc-*-elf64* | powerpc64-*-linux* | \
-   powerpc64-*-*bsd*)
-     targ_defvec=bfd_elf64_powerpc_vec
-@@ -1140,6 +1145,11 @@
-     want64=true
-     ;;
- #endif
-+  powerpc-*-*freebsd*)
-+    targ_defvec=bfd_elf32_powerpc_freebsd_vec
-+    targ_selvecs="rs6000coff_vec bfd_elf32_powerpc_vec bfd_elf32_powerpcle_vec ppcboot_vec"
-+    targ64_selvecs="bfd_elf64_powerpc_vec bfd_elf64_powerpcle_vec bfd_elf64_powerpc_freebsd_vec"
-+    ;;
-   powerpc-*-*bsd* | powerpc-*-elf* | powerpc-*-sysv4* | powerpc-*-eabi* | \
-   powerpc-*-solaris2* | powerpc-*-linux-* | powerpc-*-rtems* | \
-   powerpc-*-chorus*)
Index: devel/binutils/pkg-plist
===================================================================
--- devel/binutils/pkg-plist	(revision 306982)
+++ devel/binutils/pkg-plist	(working copy)
@@ -67,8 +67,15 @@
 %%NLS%%share/locale/id/LC_MESSAGES/gas.mo
 %%NLS%%share/locale/id/LC_MESSAGES/ld.mo
 %%NLS%%%%GOLD%%share/locale/id/LC_MESSAGES/gold.mo
+%%NLS%%share/locale/it/LC_MESSAGES/binutils.mo
+%%NLS%%share/locale/it/LC_MESSAGES/gprof.mo
+%%NLS%%share/locale/it/LC_MESSAGES/ld.mo
+%%NLS%%share/locale/it/LC_MESSAGES/opcodes.mo
+%%NLS%%%%GOLD%%share/locale/it/LC_MESSAGES/gold.mo
 %%NLS%%share/locale/ja/LC_MESSAGES/bfd.mo
 %%NLS%%share/locale/ja/LC_MESSAGES/binutils.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/gas.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/gprof.mo
 %%NLS%%share/locale/ja/LC_MESSAGES/ld.mo
 %%NLS%%share/locale/ms/LC_MESSAGES/gprof.mo
 %%NLS%%share/locale/nl/LC_MESSAGES/gprof.mo
@@ -88,6 +95,7 @@
 %%NLS%%share/locale/rw/LC_MESSAGES/gas.mo
 %%NLS%%share/locale/rw/LC_MESSAGES/gprof.mo
 %%NLS%%share/locale/sk/LC_MESSAGES/binutils.mo
+%%NLS%%share/locale/sr/LC_MESSAGES/gprof.mo
 %%NLS%%share/locale/sv/LC_MESSAGES/bfd.mo
 %%NLS%%share/locale/sv/LC_MESSAGES/binutils.mo
 %%NLS%%share/locale/sv/LC_MESSAGES/gprof.mo
@@ -99,7 +107,11 @@
 %%NLS%%share/locale/tr/LC_MESSAGES/gprof.mo
 %%NLS%%share/locale/tr/LC_MESSAGES/ld.mo
 %%NLS%%share/locale/tr/LC_MESSAGES/opcodes.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/bfd.mo
 %%NLS%%share/locale/uk/LC_MESSAGES/binutils.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/gprof.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/ld.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/opcodes.mo
 %%NLS%%share/locale/vi/LC_MESSAGES/bfd.mo
 %%NLS%%share/locale/vi/LC_MESSAGES/binutils.mo
 %%NLS%%share/locale/vi/LC_MESSAGES/gprof.mo
Index: devel/binutils/Makefile
===================================================================
--- devel/binutils/Makefile	(revision 306982)
+++ devel/binutils/Makefile	(working copy)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	binutils
-PORTVERSION=	2.22
-PORTREVISION=	3
+PORTVERSION=	2.23
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_SOURCEWARE}
 MASTER_SITE_SUBDIR=	binutils/releases


--------------010303060704000807050303--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5097D396.9030401>