summaryrefslogtreecommitdiff
path: root/pkg/binutils/patch
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2022-09-06 11:09:24 -0700
committerMichael Forney <mforney@mforney.org>2022-09-06 18:17:30 -0700
commit4fad1531cbc506408855d2027a60cdbeaf66eea3 (patch)
tree0373c770f68c3fb0648461efd4e45567240ca910 /pkg/binutils/patch
parent4cfca674c2993541cded2bb3b73a55cd58f7533c (diff)
binutils: Update to 2.39
Diffstat (limited to 'pkg/binutils/patch')
-rw-r--r--pkg/binutils/patch/0001-libiberty-Implement-pex_unix_exec_child-using-posix_.patch20
-rw-r--r--pkg/binutils/patch/0004-bfd-Remove-return-with-expression-in-void-function.patch34
2 files changed, 10 insertions, 44 deletions
diff --git a/pkg/binutils/patch/0001-libiberty-Implement-pex_unix_exec_child-using-posix_.patch b/pkg/binutils/patch/0001-libiberty-Implement-pex_unix_exec_child-using-posix_.patch
index 6c9f5764..9bfd7b99 100644
--- a/pkg/binutils/patch/0001-libiberty-Implement-pex_unix_exec_child-using-posix_.patch
+++ b/pkg/binutils/patch/0001-libiberty-Implement-pex_unix_exec_child-using-posix_.patch
@@ -1,4 +1,4 @@
-From 33fd36d26892e893d4c58ccbe826445a76262c68 Mon Sep 17 00:00:00 2001
+From 8e578ea68fa570aa46f04d4cf1c593ac11732bdf Mon Sep 17 00:00:00 2001
From: Michael Forney <mforney@mforney.org>
Date: Wed, 17 Apr 2019 16:44:05 -0700
Subject: [PATCH] libiberty: Implement pex_unix_exec_child using posix_spawn
@@ -35,10 +35,10 @@ index f7052b5d958..ce79a9e77f2 100644
#undef HAVE_STDINT_H
diff --git a/libiberty/configure b/libiberty/configure
-index e09ddd91e58..a5591fac95d 100755
+index 306c07bd37e..6f85b1fd529 100755
--- a/libiberty/configure
+++ b/libiberty/configure
-@@ -5651,7 +5651,7 @@ host_makefile_frag=${frag}
+@@ -5652,7 +5652,7 @@ host_makefile_frag=${frag}
# It's OK to check for header files. Although the compiler may not be
# able to link anything, it had better be able to at least compile
# something.
@@ -47,7 +47,7 @@ index e09ddd91e58..a5591fac95d 100755
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_c_check_header_preproc "$LINENO" "$ac_header" "$as_ac_Header"
-@@ -6160,9 +6160,9 @@ funcs="$funcs setproctitle"
+@@ -6161,9 +6161,9 @@ funcs="$funcs setproctitle"
vars="sys_errlist sys_nerr sys_siglist"
checkfuncs="__fsetlocking canonicalize_file_name dup3 getrlimit getrusage \
@@ -60,7 +60,7 @@ index e09ddd91e58..a5591fac95d 100755
# Darwin has sbrk, but it is deprecated and that produces build-time warnings
# so do not check for it.
-@@ -6183,7 +6183,7 @@ if test "x" = "y"; then
+@@ -6184,7 +6184,7 @@ if test "x" = "y"; then
index insque \
memchr memcmp memcpy memmem memmove memset mkstemps \
on_exit \
@@ -70,10 +70,10 @@ index e09ddd91e58..a5591fac95d 100755
sbrk setenv setproctitle setrlimit sigsetmask snprintf spawnve spawnvpe \
stpcpy stpncpy strcasecmp strchr strdup \
diff --git a/libiberty/configure.ac b/libiberty/configure.ac
-index f59f35e1f20..134576ea3af 100644
+index 6c1ff9c6093..5d21f383e7d 100644
--- a/libiberty/configure.ac
+++ b/libiberty/configure.ac
-@@ -288,7 +288,7 @@ AC_SUBST_FILE(host_makefile_frag)
+@@ -289,7 +289,7 @@ AC_SUBST_FILE(host_makefile_frag)
# It's OK to check for header files. Although the compiler may not be
# able to link anything, it had better be able to at least compile
# something.
@@ -82,7 +82,7 @@ index f59f35e1f20..134576ea3af 100644
AC_HEADER_SYS_WAIT
AC_HEADER_TIME
-@@ -411,9 +411,9 @@ funcs="$funcs setproctitle"
+@@ -412,9 +412,9 @@ funcs="$funcs setproctitle"
vars="sys_errlist sys_nerr sys_siglist"
checkfuncs="__fsetlocking canonicalize_file_name dup3 getrlimit getrusage \
@@ -95,7 +95,7 @@ index f59f35e1f20..134576ea3af 100644
# Darwin has sbrk, but it is deprecated and that produces build-time warnings
# so do not check for it.
-@@ -434,7 +434,7 @@ if test "x" = "y"; then
+@@ -435,7 +435,7 @@ if test "x" = "y"; then
index insque \
memchr memcmp memcpy memmem memmove memset mkstemps \
on_exit \
@@ -218,5 +218,5 @@ index 850d344ba58..ba3a6d5d38f 100644
/* Subroutine of pex_unix_exec_child. Move OLD_FD to a new file descriptor
--
-2.34.1
+2.35.1
diff --git a/pkg/binutils/patch/0004-bfd-Remove-return-with-expression-in-void-function.patch b/pkg/binutils/patch/0004-bfd-Remove-return-with-expression-in-void-function.patch
deleted file mode 100644
index 4cdc0e59..00000000
--- a/pkg/binutils/patch/0004-bfd-Remove-return-with-expression-in-void-function.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From b0508ec3e6134825199ba6ff3d8effd369428117 Mon Sep 17 00:00:00 2001
-From: Michael Forney <mforney@mforney.org>
-Date: Thu, 10 Feb 2022 14:51:52 -0800
-Subject: [PATCH] bfd: Remove return with expression in void function
-
-This is not allowed in ISO C (C11 6.8.6.4p1):
-
-> A return statement with an expression shall not appear in a
-> function whose return type is void.
-
-2022-02-10 Michael Forney <mforney@mforney.org>
-
- * bfd.c (bfd_set_gp_value): Remove return with expression
- in void function.
----
- bfd/bfd.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/bfd/bfd.c b/bfd/bfd.c
-index 3e59057d07a..80c9e425754 100644
---- a/bfd/bfd.c
-+++ b/bfd/bfd.c
-@@ -1871,7 +1871,7 @@ DESCRIPTION
- void
- bfd_set_gp_value (bfd *abfd, bfd_vma v)
- {
-- return _bfd_set_gp_value (abfd, v);
-+ _bfd_set_gp_value (abfd, v);
- }
-
- /*
---
-2.34.1
-