diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-02-04 13:18:08 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-02-05 13:53:48 +0000 |
commit | db9bca2b3b126ad915decc1c803e136a3cdb5d66 (patch) | |
tree | 3fab2b7ec10ee8397268827ed03a9396715188ed /meta/recipes-devtools/binutils/binutils/0015-sync-with-OE-libtool-changes.patch | |
parent | 3c6764b09888e2025536b8bc73ce548cf53a1579 (diff) | |
download | poky-db9bca2b3b126ad915decc1c803e136a3cdb5d66.tar.gz |
binutils: Upgrade to binutils 2.32
Changes
https://sourceware.org/ml/binutils/2019-02/msg00010.html
0007-Add-the-armv5e-architecture-to-binutils.patch is dropped since we
armv5 is not a used option anymore in OE armv5te is default, and gcc9
will drop it completely anyway
CVE patches were backports from master which is already past of 2.32
release
Other dropped patches were partial or full backports as well
(From OE-Core rev: b71294c4decf35d544a2c8adb4e67d141841fc68)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils/0015-sync-with-OE-libtool-changes.patch')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils/0015-sync-with-OE-libtool-changes.patch | 89 |
1 files changed, 0 insertions, 89 deletions
diff --git a/meta/recipes-devtools/binutils/binutils/0015-sync-with-OE-libtool-changes.patch b/meta/recipes-devtools/binutils/binutils/0015-sync-with-OE-libtool-changes.patch deleted file mode 100644 index 7dc8ba8c37..0000000000 --- a/meta/recipes-devtools/binutils/binutils/0015-sync-with-OE-libtool-changes.patch +++ /dev/null | |||
@@ -1,89 +0,0 @@ | |||
1 | From f9e26bd29b5f017ea1307b51b5036063bff78600 Mon Sep 17 00:00:00 2001 | ||
2 | From: Ross Burton <ross.burton@intel.com> | ||
3 | Date: Mon, 6 Mar 2017 23:33:27 -0800 | ||
4 | Subject: [PATCH 15/15] sync with OE libtool changes | ||
5 | |||
6 | Apply these patches from our libtool patches as not only are redundant RPATHs a | ||
7 | waste of space but they can cause incorrect linking when native packages are | ||
8 | restored from sstate. | ||
9 | |||
10 | fix-rpath.patch: | ||
11 | We don't want to add RPATHS which match default linker | ||
12 | search paths, they're a waste of space. This patch | ||
13 | filters libtools list and removes the ones we don't need. | ||
14 | |||
15 | norm-rpath.patch: | ||
16 | Libtool may be passed link paths of the form "/usr/lib/../lib", which | ||
17 | fool its detection code into thinking it should be included as an | ||
18 | RPATH in the generated binary. Normalize before comparision. | ||
19 | |||
20 | Upstream-Status: Inappropriate | ||
21 | |||
22 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
23 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
24 | --- | ||
25 | ltmain.sh | 34 ++++++++++++++++++++++++++++------ | ||
26 | 1 file changed, 28 insertions(+), 6 deletions(-) | ||
27 | |||
28 | diff --git a/ltmain.sh b/ltmain.sh | ||
29 | index 11ee684ccc..3b19ac1532 100644 | ||
30 | --- a/ltmain.sh | ||
31 | +++ b/ltmain.sh | ||
32 | @@ -8053,8 +8053,16 @@ EOF | ||
33 | esac | ||
34 | fi | ||
35 | else | ||
36 | - eval flag=\"$hardcode_libdir_flag_spec\" | ||
37 | - func_append dep_rpath " $flag" | ||
38 | + # We only want to hardcode in an rpath if it isn't in the | ||
39 | + # default dlsearch path. | ||
40 | + func_normal_abspath "$libdir" | ||
41 | + libdir_norm=$func_normal_abspath_result | ||
42 | + case " $sys_lib_dlsearch_path " in | ||
43 | + *" $libdir_norm "*) ;; | ||
44 | + *) eval flag=\"$hardcode_libdir_flag_spec\" | ||
45 | + func_append dep_rpath " $flag" | ||
46 | + ;; | ||
47 | + esac | ||
48 | fi | ||
49 | elif test -n "$runpath_var"; then | ||
50 | case "$perm_rpath " in | ||
51 | @@ -8790,8 +8798,16 @@ EOF | ||
52 | esac | ||
53 | fi | ||
54 | else | ||
55 | - eval flag=\"$hardcode_libdir_flag_spec\" | ||
56 | - func_append rpath " $flag" | ||
57 | + # We only want to hardcode in an rpath if it isn't in the | ||
58 | + # default dlsearch path. | ||
59 | + func_normal_abspath "$libdir" | ||
60 | + libdir_norm=$func_normal_abspath_result | ||
61 | + case " $sys_lib_dlsearch_path " in | ||
62 | + *" $libdir_norm "*) ;; | ||
63 | + *) eval flag=\"$hardcode_libdir_flag_spec\" | ||
64 | + rpath+=" $flag" | ||
65 | + ;; | ||
66 | + esac | ||
67 | fi | ||
68 | elif test -n "$runpath_var"; then | ||
69 | case "$perm_rpath " in | ||
70 | @@ -8841,8 +8857,14 @@ EOF | ||
71 | esac | ||
72 | fi | ||
73 | else | ||
74 | - eval flag=\"$hardcode_libdir_flag_spec\" | ||
75 | - func_append rpath " $flag" | ||
76 | + # We only want to hardcode in an rpath if it isn't in the | ||
77 | + # default dlsearch path. | ||
78 | + case " $sys_lib_dlsearch_path " in | ||
79 | + *" $libdir "*) ;; | ||
80 | + *) eval flag=\"$hardcode_libdir_flag_spec\" | ||
81 | + func_append rpath " $flag" | ||
82 | + ;; | ||
83 | + esac | ||
84 | fi | ||
85 | elif test -n "$runpath_var"; then | ||
86 | case "$finalize_perm_rpath " in | ||
87 | -- | ||
88 | 2.18.0 | ||
89 | |||