mlschroe commented on this pull request.


> +     break;
+    case EM_MIPS:
+       elf_machine = "mips";
+       break;
+    case EM_PPC:
+    case EM_PPC64:
+       elf_machine = "ppc";
+       break;
+    case EM_S390:
+       elf_machine = "s390";
+       break;
+    case EM_ARM:
+       if ((ehdr->e_flags | EF_ARM_ABI_FLOAT_HARD) == EF_ARM_ABI_FLOAT_HARD)
+               elf_machine = "armhfp";
+       if ((ehdr->e_flags | EF_ARM_ABI_FLOAT_SOFT) == EF_ARM_ABI_FLOAT_SOFT)
+               elf_machine = "armsfp";

Oops, did I write `& ~EF_ARM_ABI_FLOAT_HARD`? I meant `& 
EF_ARM_ABI_FLOAT_HARD`, of course. Sorry. Good thing that this triggers a gcc 
warning...

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1038#discussion_r374111105
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to