U-Boot targets that use the CONFIG_POSITION_INDEPENDENT and
CONFIG_LINUX_KERNEL_IMAGE_HEADER options don't build because they
generate a relocation that binutils 2.30 doesn't like. This is fixed
in binutils 2.31. Given that there is a 2.31.1 I updated to that one.
ok?
Index: devel/arm-none-eabi/binutils/Makefile
===================================================================
RCS file: /cvs/ports/devel/arm-none-eabi/binutils/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- devel/arm-none-eabi/binutils/Makefile 6 Oct 2020 05:53:05 -0000
1.6
+++ devel/arm-none-eabi/binutils/Makefile 30 Jan 2021 13:57:12 -0000
@@ -2,7 +2,7 @@
COMMENT= binutils for ${CONFIG} cross-development
-VERSION= 2.30
+VERSION= 2.31.1
DISTNAME= binutils-${VERSION}
FLAVORS= aarch64 arm
Index: devel/arm-none-eabi/binutils/distinfo
===================================================================
RCS file: /cvs/ports/devel/arm-none-eabi/binutils/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- devel/arm-none-eabi/binutils/distinfo 6 Oct 2020 05:53:05 -0000
1.3
+++ devel/arm-none-eabi/binutils/distinfo 30 Jan 2021 13:57:12 -0000
@@ -1,2 +1,2 @@
-SHA256 (binutils/binutils-2.30.tar.bz2) =
7+rehIBn6aA/GRix2g03qv+gsBJ6BrXpI2IphR2dDAk=
-SIZE (binutils/binutils-2.30.tar.bz2) = 29541188
+SHA256 (binutils/binutils-2.31.1.tar.bz2) =
/8w4JpW/lH2mE150NrjtUtmRzycNuJcZDxnW+YOFZNA=
+SIZE (binutils/binutils-2.31.1.tar.bz2) = 30110779
Index: devel/arm-none-eabi/binutils/patches/patch-bfd_doc_Makefile_in
===================================================================
RCS file:
/cvs/ports/devel/arm-none-eabi/binutils/patches/patch-bfd_doc_Makefile_in,v
retrieving revision 1.2
diff -u -p -r1.2 patch-bfd_doc_Makefile_in
--- devel/arm-none-eabi/binutils/patches/patch-bfd_doc_Makefile_in 16 Jul
2017 12:44:19 -0000 1.2
+++ devel/arm-none-eabi/binutils/patches/patch-bfd_doc_Makefile_in 30 Jan
2021 13:57:12 -0000
@@ -2,12 +2,12 @@ $OpenBSD: patch-bfd_doc_Makefile_in,v 1.
Index: bfd/doc/Makefile.in
--- bfd/doc/Makefile.in.orig
+++ bfd/doc/Makefile.in
-@@ -104,7 +104,7 @@ CONFIG_CLEAN_VPATH_FILES =
- depcomp =
- am__depfiles_maybe =
- SOURCES =
+@@ -174,7 +174,7 @@ AM_V_texidevnull = $(am__v_texidevnull_@AM_V@)
+ am__v_texidevnull_ = $(am__v_texidevnull_@AM_DEFAULT_V@)
+ am__v_texidevnull_0 = > /dev/null
+ am__v_texidevnull_1 =
-INFO_DEPS = bfd.info
+INFO_DEPS =
- TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
- am__TEXINFO_TEX_DIR = $(top_srcdir)/../texinfo
+ am__TEXINFO_TEX_DIR = $(srcdir)
DVIS = bfd.dvi
+ PDFS = bfd.pdf
Index: devel/arm-none-eabi/binutils/patches/patch-binutils_doc_Makefile_in
===================================================================
RCS file:
/cvs/ports/devel/arm-none-eabi/binutils/patches/patch-binutils_doc_Makefile_in,v
retrieving revision 1.2
diff -u -p -r1.2 patch-binutils_doc_Makefile_in
--- devel/arm-none-eabi/binutils/patches/patch-binutils_doc_Makefile_in 16 Jul
2017 12:44:19 -0000 1.2
+++ devel/arm-none-eabi/binutils/patches/patch-binutils_doc_Makefile_in 30 Jan
2021 13:57:12 -0000
@@ -2,12 +2,12 @@ $OpenBSD: patch-binutils_doc_Makefile_in
Index: binutils/doc/Makefile.in
--- binutils/doc/Makefile.in.orig
+++ binutils/doc/Makefile.in
-@@ -101,7 +101,7 @@ CONFIG_CLEAN_VPATH_FILES =
- depcomp =
- am__depfiles_maybe =
- SOURCES =
+@@ -177,7 +177,7 @@ AM_V_texidevnull = $(am__v_texidevnull_@AM_V@)
+ am__v_texidevnull_ = $(am__v_texidevnull_@AM_DEFAULT_V@)
+ am__v_texidevnull_0 = > /dev/null
+ am__v_texidevnull_1 =
-INFO_DEPS = binutils.info
+INFO_DEPS =
- TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
- am__TEXINFO_TEX_DIR = $(top_srcdir)/../texinfo
+ am__TEXINFO_TEX_DIR = $(srcdir)
DVIS = binutils.dvi
+ PDFS = binutils.pdf
Index: devel/arm-none-eabi/binutils/patches/patch-gas_doc_Makefile_in
===================================================================
RCS file:
/cvs/ports/devel/arm-none-eabi/binutils/patches/patch-gas_doc_Makefile_in,v
retrieving revision 1.2
diff -u -p -r1.2 patch-gas_doc_Makefile_in
--- devel/arm-none-eabi/binutils/patches/patch-gas_doc_Makefile_in 16 Jul
2017 12:44:19 -0000 1.2
+++ devel/arm-none-eabi/binutils/patches/patch-gas_doc_Makefile_in 30 Jan
2021 13:57:12 -0000
@@ -2,12 +2,12 @@ $OpenBSD: patch-gas_doc_Makefile_in,v 1.
Index: gas/doc/Makefile.in
--- gas/doc/Makefile.in.orig
+++ gas/doc/Makefile.in
-@@ -99,7 +99,7 @@ CONFIG_CLEAN_VPATH_FILES =
- depcomp =
- am__depfiles_maybe =
- SOURCES =
+@@ -174,7 +174,7 @@ AM_V_texidevnull = $(am__v_texidevnull_@AM_V@)
+ am__v_texidevnull_ = $(am__v_texidevnull_@AM_DEFAULT_V@)
+ am__v_texidevnull_0 = > /dev/null
+ am__v_texidevnull_1 =
-INFO_DEPS = as.info
+INFO_DEPS =
- TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
- am__TEXINFO_TEX_DIR = $(top_srcdir)/../texinfo
+ TEXINFO_TEX = $(top_srcdir)/../texinfo.tex
+ am__TEXINFO_TEX_DIR = $(top_srcdir)/..
DVIS = as.dvi
Index: devel/arm-none-eabi/binutils/patches/patch-gprof_Makefile_in
===================================================================
RCS file:
/cvs/ports/devel/arm-none-eabi/binutils/patches/patch-gprof_Makefile_in,v
retrieving revision 1.2
diff -u -p -r1.2 patch-gprof_Makefile_in
--- devel/arm-none-eabi/binutils/patches/patch-gprof_Makefile_in 16 Jul
2017 12:44:19 -0000 1.2
+++ devel/arm-none-eabi/binutils/patches/patch-gprof_Makefile_in 30 Jan
2021 13:57:12 -0000
@@ -2,10 +2,10 @@ $OpenBSD: patch-gprof_Makefile_in,v 1.2
Index: gprof/Makefile.in
--- gprof/Makefile.in.orig
+++ gprof/Makefile.in
-@@ -130,7 +130,7 @@ LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOO
- --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
- $(LDFLAGS) -o $@
- SOURCES = $(gprof_SOURCES)
+@@ -216,7 +216,7 @@ AM_V_texidevnull = $(am__v_texidevnull_@AM_V@)
+ am__v_texidevnull_ = $(am__v_texidevnull_@AM_DEFAULT_V@)
+ am__v_texidevnull_0 = > /dev/null
+ am__v_texidevnull_1 =
-INFO_DEPS = gprof.info
+INFO_DEPS =
am__TEXINFO_TEX_DIR = $(srcdir)/../texinfo
Index: devel/arm-none-eabi/binutils/patches/patch-ld_Makefile_in
===================================================================
RCS file: /cvs/ports/devel/arm-none-eabi/binutils/patches/patch-ld_Makefile_in,v
retrieving revision 1.2
diff -u -p -r1.2 patch-ld_Makefile_in
--- devel/arm-none-eabi/binutils/patches/patch-ld_Makefile_in 16 Jul 2017
12:44:19 -0000 1.2
+++ devel/arm-none-eabi/binutils/patches/patch-ld_Makefile_in 30 Jan 2021
13:57:12 -0000
@@ -2,10 +2,10 @@ $OpenBSD: patch-ld_Makefile_in,v 1.2 201
Index: ld/Makefile.in
--- ld/Makefile.in.orig
+++ ld/Makefile.in
-@@ -181,7 +181,7 @@ LTYACCCOMPILE = $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOO
- SOURCES = $(libldtestplug_la_SOURCES) $(libldtestplug2_la_SOURCES) \
- $(libldtestplug3_la_SOURCES) $(libldtestplug4_la_SOURCES) \
- $(ld_new_SOURCES) $(EXTRA_ld_new_SOURCES)
+@@ -273,7 +273,7 @@ AM_V_texidevnull = $(am__v_texidevnull_@AM_V@)
+ am__v_texidevnull_ = $(am__v_texidevnull_@AM_DEFAULT_V@)
+ am__v_texidevnull_0 = > /dev/null
+ am__v_texidevnull_1 =
-INFO_DEPS = ld.info
+INFO_DEPS =
am__TEXINFO_TEX_DIR = $(srcdir)/../texinfo
Index: devel/arm-none-eabi/binutils/pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/arm-none-eabi/binutils/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- devel/arm-none-eabi/binutils/pkg/PLIST 16 Jul 2017 12:44:19 -0000
1.3
+++ devel/arm-none-eabi/binutils/pkg/PLIST 30 Jan 2021 13:57:12 -0000
@@ -37,7 +37,6 @@ ${CONFIG}/bin/
@man man/man1/${CONFIG}-elfedit.1
@man man/man1/${CONFIG}-gprof.1
@man man/man1/${CONFIG}-ld.1
-@man man/man1/${CONFIG}-nlmconv.1
@man man/man1/${CONFIG}-nm.1
@man man/man1/${CONFIG}-objcopy.1
@man man/man1/${CONFIG}-objdump.1