toolchain/binutils: backport stable patches
[openwrt/staging/dedeckeh.git] / toolchain / binutils / patches / 2.39 / 043-Re-PR29466-APP-NO_APP-with-linefile.patch
1 From 4233be14a34d754a70b8b6f6fa42d21f35c6e030 Mon Sep 17 00:00:00 2001
2 From: Alan Modra <amodra@gmail.com>
3 Date: Sat, 10 Sep 2022 07:30:57 +0930
4 Subject: [PATCH 043/160] Re: PR29466, APP/NO_APP with linefile
5
6 It looks like I copied the SIZE init across from
7 binutils/testsuite/config/default.exp without some necessary editing.
8
9 PR 29466
10 * testsuite/config/default.exp (SIZE): Adjust relative path.
11
12 (cherry picked from commit 1180f540d5f2f7751b5309bdd6c38d69fcf699e7)
13 ---
14 gas/testsuite/config/default.exp | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17 --- a/gas/testsuite/config/default.exp
18 +++ b/gas/testsuite/config/default.exp
19 @@ -53,7 +53,7 @@ if ![info exists NMFLAGS] then {
20 }
21
22 if ![info exists SIZE] then {
23 - set SIZE [findfile $base_dir/size]
24 + set SIZE [findfile $base_dir/../../binutils/size]
25 }
26
27 if ![info exists SIZEFLAGS] then {