@Conan-Kudo commented on this pull request.


> +    auto res = emap.find(val);
+    return res != emap.end() ? res->second : "unknown";
+}
+
+static void armflags(GElf_Ehdr *ehdr, std::string & flags)
+{
+    if ((ehdr->e_flags & EF_ARM_ABI_FLOAT_HARD) == EF_ARM_ABI_FLOAT_HARD)
+       flags += "h";
+    if ((ehdr->e_flags & EF_ARM_ABI_FLOAT_SOFT) == EF_ARM_ABI_FLOAT_SOFT)
+       flags += "s";
+}
+
+static void x86flags(GElf_Ehdr *ehdr, std::string & flags)
+{
+    if (ehdr->e_machine == EM_X86_64 && ehdr->e_ident[EI_CLASS] == ELFCLASS32)
+       flags += "x";

Oh I see. That makes more sense.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3578#discussion_r1961519799
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/3578/review/2626528...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
https://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to