binutils: update to 2.43

ann:
- https://lists.gnu.org/archive/html/info-gnu/2024-08/msg00001.html
This commit is contained in:
Rudi Heitbaum 2024-08-05 07:26:21 +00:00
parent 95b70ae072
commit d1053c4d71
2 changed files with 4 additions and 4 deletions

View File

@ -3,8 +3,8 @@
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv) # Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="binutils" PKG_NAME="binutils"
PKG_VERSION="2.42" PKG_VERSION="2.43"
PKG_SHA256="f6e4d41fd5fc778b06b7891457b3620da5ecea1006c6a4a41ae998109f85a800" PKG_SHA256="b53606f443ac8f01d1d5fc9c39497f2af322d99e14cea5c0b4b124d630379365"
PKG_LICENSE="GPL" PKG_LICENSE="GPL"
PKG_SITE="https://www.gnu.org/software/binutils/" PKG_SITE="https://www.gnu.org/software/binutils/"
PKG_URL="https://ftp.gnu.org/gnu/binutils/${PKG_NAME}-${PKG_VERSION}.tar.xz" PKG_URL="https://ftp.gnu.org/gnu/binutils/${PKG_NAME}-${PKG_VERSION}.tar.xz"

View File

@ -14,7 +14,7 @@ Subject: [PATCH 09/13] warn for uses of system directories when cross linking
+++ b/ld/ldfile.c +++ b/ld/ldfile.c
@@ -103,6 +103,17 @@ ldfile_add_library_path (const char *nam @@ -103,6 +103,17 @@ ldfile_add_library_path (const char *nam
if (!cmdline && config.only_cmd_line_lib_dirs) if (!cmdline && config.only_cmd_line_lib_dirs)
return; return NULL;
+ /* skip those directories when linking */ + /* skip those directories when linking */
+ if ((!strncmp (name, "/lib", 4)) || + if ((!strncmp (name, "/lib", 4)) ||
@ -24,7 +24,7 @@ Subject: [PATCH 09/13] warn for uses of system directories when cross linking
+ { + {
+ einfo (_("%P: warning: library search path \"%s\" is unsafe for " + einfo (_("%P: warning: library search path \"%s\" is unsafe for "
+ "cross-compilation, ignore it\n"), name); + "cross-compilation, ignore it\n"), name);
+ return; + return NULL;
+ } + }
+ +
new_dirs = (search_dirs_type *) xmalloc (sizeof (search_dirs_type)); new_dirs = (search_dirs_type *) xmalloc (sizeof (search_dirs_type));