mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-26 12:00:48 -09:00
package/binutils: fix an OpenRISC binutils 2.37 patch
When binutils 2.37 was introduced in commit62f0232980("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 <yann.morin.1998@free.fr> (cherry picked from commitb032faa401) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
8021a9feca
commit
a059006a1b
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user