diff options
Diffstat (limited to 'package/gdb/patches/patch-gdb_riscv-tdep_c')
-rw-r--r-- | package/gdb/patches/patch-gdb_riscv-tdep_c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/gdb/patches/patch-gdb_riscv-tdep_c b/package/gdb/patches/patch-gdb_riscv-tdep_c new file mode 100644 index 000000000..17834f821 --- /dev/null +++ b/package/gdb/patches/patch-gdb_riscv-tdep_c @@ -0,0 +1,12 @@ +--- gdb-8.3.1.orig/gdb/riscv-tdep.c 2019-09-21 00:04:41.000000000 +0200 ++++ gdb-8.3.1/gdb/riscv-tdep.c 2019-10-16 12:18:34.569267544 +0200 +@@ -3131,9 +3131,6 @@ riscv_gdbarch_init (struct gdbarch_info + /* We do support running binaries compiled for 32-bit float on targets + with 64-bit float, so we only complain if the binary requires more + than the target has available. */ +- if (abi_features.flen > features.flen) +- error (_("bfd requires flen %d, but target has flen %d"), +- abi_features.flen, features.flen); + + /* If the ABI_FEATURES xlen is 0 then this indicates we got no useful abi + features from the INFO object. In this case we assume that the xlen |