summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDeepthi Hemraj <Deepthi.Hemraj@windriver.com>2024-11-12 04:28:09 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-11-14 11:56:53 +0000
commit9d739fd0426f5bf2f462d03c0c7bf1944f949fb5 (patch)
tree863c86508e4b2dd24a262f341521501d96136984
parentf0d4814d4d1e198e7b6bb1a04d88125159e33d90 (diff)
downloadpoky-9d739fd0426f5bf2f462d03c0c7bf1944f949fb5.tar.gz
binutils: stable 2.43.1 branch update
Below commit on binutils-2.43.1 stable branch are updated. b82e2250574 Automatic date update in version.in 280374309b1 PR32300, --dependency-file: link dependencies are not all collected 263e116833e s390: Add arch15 instructions 645da6d426e s390: Relax risbg[n]z, risb{h|l}gz, {rns|ros|rxs}bgt operand constraints 7f7047a9c6c s390: Simplify (dis)assembly of insn operands with const bits e7592364504 s390: Align opcodes to lower-case d6ab1d2efdc s390: Document syntax to omit base register operand c40337b1784 LoongArch: Add elfNN_loongarch_mkobject to initialize LoongArch tdata 95ed7cf1be2 segv in bfd_elf_get_str_section 0a71d78f6a6 ld: Don't explicitly add .note.gnu.build-id in elf.sc ad2ce1e6457 x86: Turn PLT32 to PC32 only for PC-relative relocations 238493e7f09 x86-64: Disable PIE on PR gas/32189 test 68d5dbd315d x86-64: Never make R_X86_64_GOT64 section relative d77d08180d1 x86/APX: Don't promote AVX/AVX2 instructions out of APX spec f307db3d8b7 bfd: Pass true to ld_plugin_object_p cd3e2b58f2c PR32109, aborting at bfd/bfd.c:1236 in int _bfd_doprnt 2d37b890e56 lto: Add a test for PR ld/32083 d16a1893c44 ld: Add an LTO test for common symbol override e4cfe6dab3e Re-enable development changes on the 2_43 branch Testing was done and there were no regressions found (From OE-Core rev: 4950a2d67a85b3f4a643a46fdc54d348abce5ed6) Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.43.1.inc2
-rw-r--r--meta/recipes-devtools/binutils/binutils/0006-warn-for-uses-of-system-directories-when-cross-linki.patch16
2 files changed, 9 insertions, 9 deletions
diff --git a/meta/recipes-devtools/binutils/binutils-2.43.1.inc b/meta/recipes-devtools/binutils/binutils-2.43.1.inc
index 1ce19fbdc6..f472631932 100644
--- a/meta/recipes-devtools/binutils/binutils-2.43.1.inc
+++ b/meta/recipes-devtools/binutils/binutils-2.43.1.inc
@@ -20,7 +20,7 @@ UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P<pver>\d+_(\d_?)*)"
20 20
21CVE_STATUS[CVE-2023-25584] = "cpe-incorrect: Applies only for version 2.40 and earlier" 21CVE_STATUS[CVE-2023-25584] = "cpe-incorrect: Applies only for version 2.40 and earlier"
22 22
23SRCREV ?= "beb2cdbcda911764b2bed5e57921fe90493260bd" 23SRCREV ?= "b82e2250574ef00faf7fcb1e95e14f22b1fa85af"
24BINUTILS_GIT_URI ?= "git://sourceware.org/git/binutils-gdb.git;branch=${SRCBRANCH};protocol=https" 24BINUTILS_GIT_URI ?= "git://sourceware.org/git/binutils-gdb.git;branch=${SRCBRANCH};protocol=https"
25SRC_URI = "\ 25SRC_URI = "\
26 ${BINUTILS_GIT_URI} \ 26 ${BINUTILS_GIT_URI} \
diff --git a/meta/recipes-devtools/binutils/binutils/0006-warn-for-uses-of-system-directories-when-cross-linki.patch b/meta/recipes-devtools/binutils/binutils/0006-warn-for-uses-of-system-directories-when-cross-linki.patch
index b267e516b3..0c429d7f2c 100644
--- a/meta/recipes-devtools/binutils/binutils/0006-warn-for-uses-of-system-directories-when-cross-linki.patch
+++ b/meta/recipes-devtools/binutils/binutils/0006-warn-for-uses-of-system-directories-when-cross-linki.patch
@@ -184,11 +184,11 @@ diff --git a/ld/ldfile.c b/ld/ldfile.c
184index 87be885d31a..86c8a5b267d 100644 184index 87be885d31a..86c8a5b267d 100644
185--- a/ld/ldfile.c 185--- a/ld/ldfile.c
186+++ b/ld/ldfile.c 186+++ b/ld/ldfile.c
187@@ -344,6 +344,22 @@ ldfile_add_library_path (const char *name, enum search_dir_source source) 187@@ -319,6 +319,22 @@
188 search_tail_ptr = &new_dirs->next; 188 *search_tail_ptr = new_dirs;
189 } 189 search_tail_ptr = &new_dirs->next;
190 190
191+#ifdef ENABLE_POISON_SYSTEM_DIRECTORIES 191+ #ifdef ENABLE_POISON_SYSTEM_DIRECTORIES
192+ if (command_line.poison_system_directories 192+ if (command_line.poison_system_directories
193+ && ((!strncmp (name, "/lib", 4)) 193+ && ((!strncmp (name, "/lib", 4))
194+ || (!strncmp (name, "/usr/lib", 8)) 194+ || (!strncmp (name, "/usr/lib", 8))
@@ -204,9 +204,9 @@ index 87be885d31a..86c8a5b267d 100644
204+ } 204+ }
205+#endif 205+#endif
206+ 206+
207 return new_dirs; 207 /* If a directory is marked as honoring sysroot, prepend the sysroot path
208 } 208 now. */
209 209 if (name[0] == '=')
210diff --git a/ld/ldlex.h b/ld/ldlex.h 210diff --git a/ld/ldlex.h b/ld/ldlex.h
211index defe3fcbbb9..aea75a25dc8 100644 211index defe3fcbbb9..aea75a25dc8 100644
212--- a/ld/ldlex.h 212--- a/ld/ldlex.h