aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorzeising <zeising@FreeBSD.org>2012-12-09 21:39:05 +0800
committerzeising <zeising@FreeBSD.org>2012-12-09 21:39:05 +0800
commitef814c0ec93488218a4e6671d7f1c283dd9af568 (patch)
tree48d2beb4682efd6e39bbd1d21c44776332437605 /devel
parent32aab25c5fbc0ab7a3728f5046a0dda67e8d50cc (diff)
downloadfreebsd-ports-gnome-ef814c0ec93488218a4e6671d7f1c283dd9af568.tar.gz
freebsd-ports-gnome-ef814c0ec93488218a4e6671d7f1c283dd9af568.tar.zst
freebsd-ports-gnome-ef814c0ec93488218a4e6671d7f1c283dd9af568.zip
Update devel/binutils to 2.23.1
Tested by: Anton Shterenlikht <mexas@bristol.ac.uk> Hans Ottevanger <hans@beastielabs.net> Approved by: kwm, miwi (mentors, implicit)
Diffstat (limited to 'devel')
-rw-r--r--devel/binutils/Makefile3
-rw-r--r--devel/binutils/distinfo4
-rw-r--r--devel/binutils/files/patch-bfd__config.bfd26
-rw-r--r--devel/binutils/files/patch-bfd__configure18
-rw-r--r--devel/binutils/files/patch-bfd__elf32-ppc.c36
-rw-r--r--devel/binutils/files/patch-bfd__elf64-ppc.c25
-rw-r--r--devel/binutils/files/patch-bfd__targets.c34
-rw-r--r--devel/binutils/files/patch-gas__config__tc-ppc.c13
-rw-r--r--devel/binutils/files/patch-ld__Makefile.in29
-rw-r--r--devel/binutils/files/patch-ld__configure.tgt22
-rw-r--r--devel/binutils/files/patch-ld__emulparams__elf32ppc_fbsd.sh8
-rw-r--r--devel/binutils/files/patch-ld__emulparams__elf64ppc_fbsd.sh9
-rw-r--r--devel/binutils/files/patch-ld__emultempl__ppc64elf.em11
-rw-r--r--devel/binutils/pkg-plist12
14 files changed, 15 insertions, 235 deletions
diff --git a/devel/binutils/Makefile b/devel/binutils/Makefile
index c6862b254c5c..fddeade9ede6 100644
--- a/devel/binutils/Makefile
+++ b/devel/binutils/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= binutils
-PORTVERSION= 2.22
-PORTREVISION= 3
+PORTVERSION= 2.23.1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEWARE}
MASTER_SITE_SUBDIR= binutils/releases
diff --git a/devel/binutils/distinfo b/devel/binutils/distinfo
index e335740cce29..5e013a46f608 100644
--- a/devel/binutils/distinfo
+++ b/devel/binutils/distinfo
@@ -1,2 +1,2 @@
-SHA256 (binutils-2.22.tar.bz2) = 6c7af8ed1c8cf9b4b9d6e6fe09a3e1d3d479fe63984ba8b9b26bf356b6313ca9
-SIZE (binutils-2.22.tar.bz2) = 19973532
+SHA256 (binutils-2.23.1.tar.bz2) = 2ab2e5b03e086d12c6295f831adad46b3e1410a3a234933a2e8fac66cb2e7a19
+SIZE (binutils-2.23.1.tar.bz2) = 21455321
diff --git a/devel/binutils/files/patch-bfd__config.bfd b/devel/binutils/files/patch-bfd__config.bfd
deleted file mode 100644
index d5c25bcf6c39..000000000000
--- a/devel/binutils/files/patch-bfd__config.bfd
+++ /dev/null
@@ -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*)
diff --git a/devel/binutils/files/patch-bfd__configure b/devel/binutils/files/patch-bfd__configure
deleted file mode 100644
index 21d187067b66..000000000000
--- a/devel/binutils/files/patch-bfd__configure
+++ /dev/null
@@ -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 ;;
diff --git a/devel/binutils/files/patch-bfd__elf32-ppc.c b/devel/binutils/files/patch-bfd__elf32-ppc.c
deleted file mode 100644
index f48beae451cb..000000000000
--- a/devel/binutils/files/patch-bfd__elf32-ppc.c
+++ /dev/null
@@ -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)
diff --git a/devel/binutils/files/patch-bfd__elf64-ppc.c b/devel/binutils/files/patch-bfd__elf64-ppc.c
deleted file mode 100644
index f199ae44f5b0..000000000000
--- a/devel/binutils/files/patch-bfd__elf64-ppc.c
+++ /dev/null
@@ -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"
-+
diff --git a/devel/binutils/files/patch-bfd__targets.c b/devel/binutils/files/patch-bfd__targets.c
deleted file mode 100644
index 0a08e9a2fe30..000000000000
--- a/devel/binutils/files/patch-bfd__targets.c
+++ /dev/null
@@ -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,
diff --git a/devel/binutils/files/patch-gas__config__tc-ppc.c b/devel/binutils/files/patch-gas__config__tc-ppc.c
deleted file mode 100644
index 12f52afcbb4b..000000000000
--- a/devel/binutils/files/patch-gas__config__tc-ppc.c
+++ /dev/null
@@ -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
diff --git a/devel/binutils/files/patch-ld__Makefile.in b/devel/binutils/files/patch-ld__Makefile.in
deleted file mode 100644
index 93f7fee27f40..000000000000
--- a/devel/binutils/files/patch-ld__Makefile.in
+++ /dev/null
@@ -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}
diff --git a/devel/binutils/files/patch-ld__configure.tgt b/devel/binutils/files/patch-ld__configure.tgt
deleted file mode 100644
index b3d1c2bdbc12..000000000000
--- a/devel/binutils/files/patch-ld__configure.tgt
+++ /dev/null
@@ -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"
diff --git a/devel/binutils/files/patch-ld__emulparams__elf32ppc_fbsd.sh b/devel/binutils/files/patch-ld__emulparams__elf32ppc_fbsd.sh
deleted file mode 100644
index d9d7dc2e91ef..000000000000
--- a/devel/binutils/files/patch-ld__emulparams__elf32ppc_fbsd.sh
+++ /dev/null
@@ -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"
-+
diff --git a/devel/binutils/files/patch-ld__emulparams__elf64ppc_fbsd.sh b/devel/binutils/files/patch-ld__emulparams__elf64ppc_fbsd.sh
deleted file mode 100644
index db0f24901157..000000000000
--- a/devel/binutils/files/patch-ld__emulparams__elf64ppc_fbsd.sh
+++ /dev/null
@@ -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
-+
diff --git a/devel/binutils/files/patch-ld__emultempl__ppc64elf.em b/devel/binutils/files/patch-ld__emultempl__ppc64elf.em
deleted file mode 100644
index f936d9419168..000000000000
--- a/devel/binutils/files/patch-ld__emultempl__ppc64elf.em
+++ /dev/null
@@ -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;
diff --git a/devel/binutils/pkg-plist b/devel/binutils/pkg-plist
index 15dbdbe4067e..da92a812e04a 100644
--- a/devel/binutils/pkg-plist
+++ b/devel/binutils/pkg-plist
@@ -67,8 +67,15 @@ lib/libopcodes.la
%%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 @@ lib/libopcodes.la
%%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 @@ lib/libopcodes.la
%%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