diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-07-31 15:42:32 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-08-04 11:44:28 +0100 |
commit | b5840b56361fa6be52ec292c167d9a7dc81d2f85 (patch) | |
tree | bc25ace93c702e343e0e92916099ef8d2776b3f8 /meta/recipes-devtools/binutils/binutils/0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch | |
parent | 572d820da9a8857aec6075afe2de4ec478856633 (diff) | |
download | poky-b5840b56361fa6be52ec292c167d9a7dc81d2f85.tar.gz |
binutils: Upgrade to 2.41 release
Fix build on 32bit arches with 64bit off_t defaults
Detailed changes [1]
[1] https://sourceware.org/pipermail/binutils/2023-July/128719.html
(From OE-Core rev: c19fd803220f5b701dee077f7e7bfbb5ba2f22e3)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils/0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils/0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-devtools/binutils/binutils/0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch b/meta/recipes-devtools/binutils/binutils/0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch index f69071ae96..20eb943d65 100644 --- a/meta/recipes-devtools/binutils/binutils/0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch +++ b/meta/recipes-devtools/binutils/binutils/0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 9613e47bfdea18d2764eec130676e3e0b40c676f Mon Sep 17 00:00:00 2001 | 1 | From 13cbec5bc5c75dd4c3e1d5f3ca80e5b64f7116d1 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Thu, 10 Mar 2022 21:21:33 -0800 | 3 | Date: Thu, 10 Mar 2022 21:21:33 -0800 |
4 | Subject: [PATCH] Only generate an RPATH entry if LD_RUN_PATH is not empty | 4 | Subject: [PATCH] Only generate an RPATH entry if LD_RUN_PATH is not empty |
@@ -14,7 +14,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
14 | 1 file changed, 5 insertions(+) | 14 | 1 file changed, 5 insertions(+) |
15 | 15 | ||
16 | diff --git a/ld/ldelf.c b/ld/ldelf.c | 16 | diff --git a/ld/ldelf.c b/ld/ldelf.c |
17 | index 95787012b89..bc29909386f 100644 | 17 | index 1519f8ac4e5..2a7c76dc29c 100644 |
18 | --- a/ld/ldelf.c | 18 | --- a/ld/ldelf.c |
19 | +++ b/ld/ldelf.c | 19 | +++ b/ld/ldelf.c |
20 | @@ -1127,6 +1127,9 @@ ldelf_handle_dt_needed (struct elf_link_hash_table *htab, | 20 | @@ -1127,6 +1127,9 @@ ldelf_handle_dt_needed (struct elf_link_hash_table *htab, |
@@ -27,7 +27,7 @@ index 95787012b89..bc29909386f 100644 | |||
27 | if (path | 27 | if (path |
28 | && ldelf_search_needed (path, &n, force, | 28 | && ldelf_search_needed (path, &n, force, |
29 | is_linux, elfsize)) | 29 | is_linux, elfsize)) |
30 | @@ -1801,6 +1804,8 @@ ldelf_before_allocation (char *audit, char *depaudit, | 30 | @@ -1802,6 +1805,8 @@ ldelf_before_allocation (char *audit, char *depaudit, |
31 | rpath = command_line.rpath; | 31 | rpath = command_line.rpath; |
32 | if (rpath == NULL) | 32 | if (rpath == NULL) |
33 | rpath = (const char *) getenv ("LD_RUN_PATH"); | 33 | rpath = (const char *) getenv ("LD_RUN_PATH"); |