This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=3d9bac3041d68a2ab1d13b9f36d6fb9968f76923 commit 3d9bac3041d68a2ab1d13b9f36d6fb9968f76923 Author: Guillem Jover <[email protected]> AuthorDate: Wed Feb 22 01:31:14 2023 +0100 Dpkg::Shlibs::Objdump: Add ELF machine types for all supported arches We should have the ELF machine types for all supported arches, so that we can then give better diagnostics when analyzing these objects. --- scripts/Dpkg/Shlibs/Objdump.pm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scripts/Dpkg/Shlibs/Objdump.pm b/scripts/Dpkg/Shlibs/Objdump.pm index af9f3bc85..0b74a5efb 100644 --- a/scripts/Dpkg/Shlibs/Objdump.pm +++ b/scripts/Dpkg/Shlibs/Objdump.pm @@ -99,10 +99,15 @@ use constant { ELF_ORDER_2MSB => 2, # ELF Machine. + EM_NONE => 0, EM_SPARC => 2, + EM_386 => 3, + EM_68K => 4, EM_MIPS => 8, EM_SPARC64_OLD => 11, + EM_PARISC => 15, EM_SPARC32PLUS => 18, + EM_PPC => 20, EM_PPC64 => 21, EM_S390 => 22, EM_ARM => 40, @@ -110,12 +115,16 @@ use constant { EM_SH => 42, EM_SPARC64 => 43, EM_IA64 => 50, + EM_X86_64 => 62, EM_OR1K => 92, + EM_AARCH64 => 183, EM_ARCV2 => 195, + EM_RISCV => 243, EM_LOONGARCH => 258, EM_OR1K_OLD => 0x8472, EM_ALPHA => 0x9026, EM_S390_OLD => 0xa390, + EM_NIOS32 => 0xfebb, # ELF Version. EV_NONE => 0, -- Dpkg.Org's dpkg

