Find arm-linux-gnueabihf-gcc in compile
Commit Message
Pedro Alves <palves@redhat.com> writes:
> Debian seems to have a "arm-linux-gnueabi-gcc" as well,
> <https://packages.debian.org/sid/gcc-7-arm-linux-gnueabi>,
> which I assume is a version that defaults to soft-float. (Or
> is that softfp?)
Yes, arm-linux-gnueabi implies the EABI with -mfloat-abi=soft or
-mfloat-abi=softfp, while arm-linux-gnueabihf implies -mfloat-abi=hard.
I amend the commitlog a little, and push the patch below in.
@@ -1,3 +1,8 @@
+2018-01-19 Yao Qi <yao.qi@linaro.org>
+
+ * osabi.c (gdb_osabi_names): Extend the regexp for
+ arm-linux-gnueabihf.
+
2018-01-18 Yao Qi <yao.qi@linaro.org>
* dwarf2read.c (abbrev_table) <abbrevs>: Rename it to
@@ -63,7 +63,7 @@ static const struct osabi_names gdb_osabi_names[] =
{ "SVR4", NULL },
{ "GNU/Hurd", NULL },
{ "Solaris", NULL },
- { "GNU/Linux", "linux(-gnu)?" },
+ { "GNU/Linux", "linux(-gnu[^-]*)?" },
{ "FreeBSD", NULL },
{ "NetBSD", NULL },
{ "OpenBSD", NULL },