diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-08-17 00:04:34 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-08-21 22:51:41 +0100 |
commit | 75720e6af143e4342143031ce229f39a38452e2f (patch) | |
tree | 3c28ec81b1a9c9c8794b9d9aa08d5197387bac8d /meta/recipes-devtools/binutils/binutils/0010-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch | |
parent | c8570ddf2ef92a3f063004af3fb327918bbe83a5 (diff) | |
download | poky-75720e6af143e4342143031ce229f39a38452e2f.tar.gz |
binutils: Upgrade to 2.39 release
Details of changes [1]
[1] https://sourceware.org/pipermail/binutils/2022-August/122246.html
(From OE-Core rev: a2458d4011e77868d6384b377a7a4cc1096c4ac3)
(From OE-Core rev: 4fa90ce4f13eb8a854836462b1865fd08f5a68b2)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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/0010-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils/0010-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/meta/recipes-devtools/binutils/binutils/0010-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch b/meta/recipes-devtools/binutils/binutils/0010-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch deleted file mode 100644 index 217ba5df85..0000000000 --- a/meta/recipes-devtools/binutils/binutils/0010-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch +++ /dev/null | |||
@@ -1,49 +0,0 @@ | |||
1 | From 1c4581a059afe2799bb825b388ae92f8fa6f19a3 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 2 Mar 2015 01:42:38 +0000 | ||
4 | Subject: [PATCH] Fix rpath in libtool when sysroot is enabled | ||
5 | |||
6 | Enabling sysroot support in libtool exposed a bug where the final | ||
7 | library had an RPATH encoded into it which still pointed to the | ||
8 | sysroot. This works around the issue until it gets sorted out | ||
9 | upstream. | ||
10 | |||
11 | Fix suggested by Richard Purdie <richard.purdie@linuxfoundation.org> | ||
12 | |||
13 | Upstream-Status: Inappropriate [embedded specific] | ||
14 | |||
15 | Signed-off-by: Scott Garman <scott.a.garman@intel.com> | ||
16 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
17 | --- | ||
18 | ltmain.sh | 10 ++++++++-- | ||
19 | 1 file changed, 8 insertions(+), 2 deletions(-) | ||
20 | |||
21 | diff --git a/ltmain.sh b/ltmain.sh | ||
22 | index 70e856e0659..11ee684cccf 100644 | ||
23 | --- a/ltmain.sh | ||
24 | +++ b/ltmain.sh | ||
25 | @@ -8035,9 +8035,11 @@ EOF | ||
26 | test "$opt_mode" != relink && rpath="$compile_rpath$rpath" | ||
27 | for libdir in $rpath; do | ||
28 | if test -n "$hardcode_libdir_flag_spec"; then | ||
29 | + func_replace_sysroot "$libdir" | ||
30 | + libdir=$func_replace_sysroot_result | ||
31 | + func_stripname '=' '' "$libdir" | ||
32 | + libdir=$func_stripname_result | ||
33 | if test -n "$hardcode_libdir_separator"; then | ||
34 | - func_replace_sysroot "$libdir" | ||
35 | - libdir=$func_replace_sysroot_result | ||
36 | if test -z "$hardcode_libdirs"; then | ||
37 | hardcode_libdirs="$libdir" | ||
38 | else | ||
39 | @@ -8770,6 +8772,10 @@ EOF | ||
40 | hardcode_libdirs= | ||
41 | for libdir in $compile_rpath $finalize_rpath; do | ||
42 | if test -n "$hardcode_libdir_flag_spec"; then | ||
43 | + func_replace_sysroot "$libdir" | ||
44 | + libdir=$func_replace_sysroot_result | ||
45 | + func_stripname '=' '' "$libdir" | ||
46 | + libdir=$func_stripname_result | ||
47 | if test -n "$hardcode_libdir_separator"; then | ||
48 | if test -z "$hardcode_libdirs"; then | ||
49 | hardcode_libdirs="$libdir" | ||