pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/binutils binutils: remove now unneeded OpenBSD s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/824e382b47e1
branches:  trunk
changeset: 443753:824e382b47e1
user:      fcambus <fcambus%pkgsrc.org@localhost>
date:      Sun Dec 20 19:07:05 2020 +0000

description:
binutils: remove now unneeded OpenBSD specific checks in gold.

Support for DT_INIT_ARRAY, DT_FINI_ARRAY and DT_PREINIT_ARRAY was added
in 2016 [1], and support for DT_RUNPATH in 2017 [2].

[1] https://marc.info/?l=openbsd-cvs&m=147193481229072&w=2
[2] https://marc.info/?l=openbsd-cvs&m=148504804104054&w=2

diffstat:

 devel/binutils/Makefile                     |   4 ++--
 devel/binutils/distinfo                     |   4 ++--
 devel/binutils/patches/patch-gold_options.h |  13 +++++++------
 3 files changed, 11 insertions(+), 10 deletions(-)

diffs (66 lines):

diff -r 0f41d6cc6507 -r 824e382b47e1 devel/binutils/Makefile
--- a/devel/binutils/Makefile   Sun Dec 20 16:51:44 2020 +0000
+++ b/devel/binutils/Makefile   Sun Dec 20 19:07:05 2020 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.91 2020/12/15 09:18:14 fcambus Exp $
+# $NetBSD: Makefile,v 1.92 2020/12/20 19:07:05 fcambus Exp $
 
 DISTNAME=      binutils-2.35.1
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GNU:=binutils/}
 EXTRACT_SUFX=  .tar.bz2
diff -r 0f41d6cc6507 -r 824e382b47e1 devel/binutils/distinfo
--- a/devel/binutils/distinfo   Sun Dec 20 16:51:44 2020 +0000
+++ b/devel/binutils/distinfo   Sun Dec 20 19:07:05 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.37 2020/12/14 16:19:59 fcambus Exp $
+$NetBSD: distinfo,v 1.38 2020/12/20 19:07:05 fcambus Exp $
 
 SHA1 (binutils-2.35.1.tar.bz2) = df4eb943bf65df4bbbd0a001efcc98113423c5dd
 RMD160 (binutils-2.35.1.tar.bz2) = ed8ad923db716388b83b0234d41abc6beb01c9d6
@@ -6,7 +6,7 @@
 Size (binutils-2.35.1.tar.bz2) = 32892584 bytes
 SHA1 (patch-bfd_cache.c) = e2d96bad350552eacdffa83532f9dc9e15ee9be9
 SHA1 (patch-gold_Makefile.in) = e01d973f9625a1653851f796c123efec37102fbd
-SHA1 (patch-gold_options.h) = cdb27cb5c967a873535ce5c63026c6ace3538fd6
+SHA1 (patch-gold_options.h) = 65a4cdb67cb4bef6a1891ca66a5fc80c5493c24e
 SHA1 (patch-gold_system.h) = 9b4130b5315763daa66e0a91a8be6d1df0d10344
 SHA1 (patch-gold_testsuite_Makefile.in) = 4babdbb89a989f3f1de66ad44a9603cbd9656f89
 SHA1 (patch-include_safe-ctype.h) = 66e636f8200ff5e9b4bfa0a5aee13cd072a23887
diff -r 0f41d6cc6507 -r 824e382b47e1 devel/binutils/patches/patch-gold_options.h
--- a/devel/binutils/patches/patch-gold_options.h       Sun Dec 20 16:51:44 2020 +0000
+++ b/devel/binutils/patches/patch-gold_options.h       Sun Dec 20 19:07:05 2020 +0000
@@ -1,8 +1,9 @@
-$NetBSD: patch-gold_options.h,v 1.4 2020/12/06 18:07:53 fcambus Exp $
+$NetBSD: patch-gold_options.h,v 1.5 2020/12/20 19:07:05 fcambus Exp $
 
- The NetBSD and OpenBSD real-time linkers do not understand DT_RUNPATH
- or DT_INIT_ARRAY.  The current gold defaults are not suitable for them.
- The last couple of DragonFly and FreeBSD releases do support these tags.
+ The NetBSD real-time linker do not understand DT_RUNPATH or
+ DT_INIT_ARRAY.  The current gold defaults are not suitable for it.
+ The last couple of DragonFly, FreeBSD, and OpenBSD releases do
+ support these tags.
 
 --- gold/options.h.orig        2020-07-24 09:12:20.000000000 +0000
 +++ gold/options.h
@@ -10,7 +11,7 @@
              N_("Output cross reference table"),
              N_("Do not output cross reference table"));
  
-+#if defined(__NetBSD__) || defined(__OpenBSD__)
++#if defined(__NetBSD__)
 +  DEFINE_bool(ctors_in_init_array, options::TWO_DASHES, '\0', false,
 +#else
    DEFINE_bool(ctors_in_init_array, options::TWO_DASHES, '\0', true,
@@ -22,7 +23,7 @@
              N_("Do not create exception frame header"));
  
    // Alphabetized under 'e' because the option is spelled --enable-new-dtags.
-+#if defined(__NetBSD__) || defined(__OpenBSD__)
++#if defined(__NetBSD__)
 +  DEFINE_enable(new_dtags, options::EXACTLY_TWO_DASHES, '\0', false,
 +#else
    DEFINE_enable(new_dtags, options::EXACTLY_TWO_DASHES, '\0', true,



Home | Main Index | Thread Index | Old Index