[Rpm-maint] [rpm-software-management/rpm] elfdeps: Add full multiarch deps support (#1038)
Jan Engelhardt
notifications at github.com
Thu Aug 18 10:56:34 UTC 2022
@jengelh commented on this pull request.
> break;
}
}
- return marker;
+ return classmarker;
+}
+
+static const char *mkarchmarker(GElf_Ehdr *ehdr)
+{
+ char *archmarker = NULL;
+ const char *elf_machine = NULL;
+ const char *elf_endian = NULL;
+ const char *elf_bitsize = NULL;
+
+ /* First the machine type... */
+ switch (ehdr->e_machine) {
+ case EM_SPARC:
Most(*) 32-bit Linux binaries are normally of type EM_SPARC32PLUS (that's v8+ or v8a), so it should be added.
(*) very unscientific measurement based on http://archive.debian.org/debian-archive/debian/pool/main/g/glibc/libc6-sparcv9_2.3.6.ds1-13etch10_sparc.deb
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1038#pullrequestreview-1077140932
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/1038/review/1077140932 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220818/40776cbd/attachment.html>
More information about the Rpm-maint
mailing list