Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Aug 2023 12:43:33 GMT
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 14211774c4d7 - main - devel/binutils: Update to 2.41
Message-ID:  <202308061243.376ChX5Y058025@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=14211774c4d7d56fd534d38748287ff270d0d469

commit 14211774c4d7d56fd534d38748287ff270d0d469
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2023-07-31 20:09:29 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-08-06 12:42:57 +0000

    devel/binutils: Update to 2.41
    
    ChangeLog:      https://sourceware.org/git/?p=binutils-gdb.git;a=blob;f=binutils/ChangeLog;h=866cf56d16af7994e23414c2d87cf08d119188cb;hb=2c73aeb8d2e02de7b69cbcb13361cfbca9d76a4e
---
 devel/binutils/Makefile                |  4 ++--
 devel/binutils/distinfo                |  6 +++---
 devel/binutils/files/patch-bfd_elf.c   | 39 ----------------------------------
 devel/binutils/files/patch-ld_ldlang.c | 12 -----------
 devel/binutils/pkg-plist               |  9 ++++----
 5 files changed, 10 insertions(+), 60 deletions(-)

diff --git a/devel/binutils/Makefile b/devel/binutils/Makefile
index 76158eca0d44..307e6b26e72f 100644
--- a/devel/binutils/Makefile
+++ b/devel/binutils/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	binutils
-DISTVERSION=	2.40
-PORTREVISION=	4
+DISTVERSION=	2.41
 PORTEPOCH?=	1
 CATEGORIES?=	devel
 MASTER_SITES=	GNU \
@@ -118,6 +117,7 @@ INFO=		as \
 		gprof \
 		bfd \
 		ld \
+		ldint \
 		sframe-spec
 .endif
 
diff --git a/devel/binutils/distinfo b/devel/binutils/distinfo
index 14280232a4b2..04808f860761 100644
--- a/devel/binutils/distinfo
+++ b/devel/binutils/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1673799644
-SHA256 (binutils-2.40.tar.lz) = 48e65ecee1bbcf334d7efb4ea8487fe048dea522e5da3bdf7fa42b1ec779ea33
-SIZE (binutils-2.40.tar.lz) = 24784952
+TIMESTAMP = 1690831336
+SHA256 (binutils-2.41.tar.lz) = eab3444055882ed5eb04e2743d03f0c0e1bc950197a4ddd31898cd5a2843d065
+SIZE (binutils-2.41.tar.lz) = 26307264
diff --git a/devel/binutils/files/patch-bfd_elf.c b/devel/binutils/files/patch-bfd_elf.c
deleted file mode 100644
index 7f27ebb80a10..000000000000
--- a/devel/binutils/files/patch-bfd_elf.c
+++ /dev/null
@@ -1,39 +0,0 @@
---- bfd/elf.c.orig	2023-01-14 00:00:00 UTC
-+++ bfd/elf.c
-@@ -3870,21 +3870,23 @@ assign_section_numbers (bfd *abfd, struct bfd_link_inf
- 	{
- 	case SHT_REL:
- 	case SHT_RELA:
--	  /* A reloc section which we are treating as a normal BFD
--	     section.  sh_link is the section index of the symbol
--	     table.  sh_info is the section index of the section to
--	     which the relocation entries apply.  We assume that an
--	     allocated reloc section uses the dynamic symbol table
--	     if there is one.  Otherwise we guess the normal symbol
--	     table.  FIXME: How can we be sure?  */
--	  if (d->this_hdr.sh_link == 0 && (sec->flags & SEC_ALLOC) != 0)
-+	  /* sh_link is the section index of the symbol table.
-+	     sh_info is the section index of the section to which the
-+	     relocation entries apply.  */
-+	  if (d->this_hdr.sh_link == 0)
- 	    {
--	      s = bfd_get_section_by_name (abfd, ".dynsym");
--	      if (s != NULL)
--		d->this_hdr.sh_link = elf_section_data (s)->this_idx;
-+	      /* FIXME maybe: If this is a reloc section which we are
-+		 treating as a normal section then we likely should
-+		 not be assuming its sh_link is .dynsym or .symtab.  */
-+	      if ((sec->flags & SEC_ALLOC) != 0)
-+		{
-+		  s = bfd_get_section_by_name (abfd, ".dynsym");
-+		  if (s != NULL)
-+		    d->this_hdr.sh_link = elf_section_data (s)->this_idx;
-+		}
-+	      else
-+		d->this_hdr.sh_link = elf_onesymtab (abfd);
- 	    }
--	  if (d->this_hdr.sh_link == 0)
--	    d->this_hdr.sh_link = elf_onesymtab (abfd);
- 
- 	  s = elf_get_reloc_section (sec);
- 	  if (s != NULL)
diff --git a/devel/binutils/files/patch-ld_ldlang.c b/devel/binutils/files/patch-ld_ldlang.c
deleted file mode 100644
index 7652eabe9184..000000000000
--- a/devel/binutils/files/patch-ld_ldlang.c
+++ /dev/null
@@ -1,12 +0,0 @@
---- ld/ldlang.c.orig	2023-01-13 16:00:00.000000000 -0800
-+++ ld/ldlang.c	2023-05-13 21:48:06.006092000 -0700
-@@ -649,7 +649,8 @@
- 	 looking at the sections for this file.  */
- 
-       /* Find the correct node to append this section.  */
--      if (compare_section (sec->spec.sorted, section, (*tree)->section) < 0)
-+      if (sec && sec->spec.sorted != none && sec->spec.sorted != by_none
-+	  && compare_section (sec->spec.sorted, section, (*tree)->section) < 0)
- 	tree = &((*tree)->left);
-       else
- 	tree = &((*tree)->right);
diff --git a/devel/binutils/pkg-plist b/devel/binutils/pkg-plist
index eeb7f38341b0..0d52d79181c3 100644
--- a/devel/binutils/pkg-plist
+++ b/devel/binutils/pkg-plist
@@ -28,7 +28,7 @@ include/sframe-api.h
 include/sframe.h
 include/symcat.h
 %%SHARED%%lib/bfd-plugins/libdep.so
-%%SHARED%%lib/libbfd-2.40.so
+%%SHARED%%lib/libbfd-2.41.so
 lib/libbfd.a
 %%SHARED%%lib/libbfd.so
 lib/libctf-nobfd.a
@@ -39,13 +39,13 @@ lib/libctf.a
 %%SHARED%%lib/libctf.so
 %%SHARED%%lib/libctf.so.0
 %%SHARED%%lib/libctf.so.0.0.0
-%%SHARED%%lib/libopcodes-2.40.so
+%%SHARED%%lib/libopcodes-2.41.so
 lib/libopcodes.a
 %%SHARED%%lib/libopcodes.so
 lib/libsframe.a
 %%SHARED%%lib/libsframe.so
-%%SHARED%%lib/libsframe.so.0
-%%SHARED%%lib/libsframe.so.0.0.0
+%%SHARED%%lib/libsframe.so.1
+%%SHARED%%lib/libsframe.so.1.0.0
 man/man1/addr2line.1.gz
 man/man1/ar.1.gz
 man/man1/as.1.gz
@@ -116,6 +116,7 @@ man/man1/strip.1.gz
 %%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/ka/LC_MESSAGES/bfd.mo
 %%NLS%%share/locale/ka/LC_MESSAGES/gprof.mo
 %%NLS%%share/locale/ms/LC_MESSAGES/gprof.mo
 %%NLS%%share/locale/nl/LC_MESSAGES/gprof.mo



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