[Buildroot] [git commit branch/2021.11.x] package/binutils: fix an OpenRISC binutils 2.37 patch
From: Peter Korsgaard <peter@korsgaard.com>
Date: 2022-01-25 17:06:25
Subsystem:
the rest · Maintainer:
Linus Torvalds
commit: https://git.buildroot.net/buildroot/commit/?id=a059006a1b8c2c8d4f1e04819031308a08e87898 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.11.x When binutils 2.37 was introduced in commit 62f0232980c8168631b29f27edf612af8109c691 ("package/binutils: add version 2.37"), the patch 0008-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch was not properly updated. Indeed, between binutils 2.36 and 2.37, binutils has switched to using the standard "bool" type, so instead of using TRUE/FALSE, true/false must be used. With this change, the binutils patch matches the one that was merged upstream. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com> Signed-off-by: Yann E. MORIN <redacted> (cherry picked from commit b032faa4019b60b34fd96df0a46ee7308e1fe074) Signed-off-by: Peter Korsgaard <peter@korsgaard.com> --- .../0004-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/binutils/2.37/0004-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch b/package/binutils/2.37/0004-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch
index 779baeab63..0d18321ee1 100644
--- a/package/binutils/2.37/0004-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch
+++ b/package/binutils/2.37/0004-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch@@ -46,7 +46,7 @@ index 32063ab0289..67252394173 100644 + _bfd_error_handler + (_("%pB: pc-relative relocation against dynamic symbol %s"), + input_bfd, name); -+ ret_val = FALSE; ++ ret_val = false; + bfd_set_error (bfd_error_bad_value); + } + break;
_______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot