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=1df4c32add4b0caee6d9128c593e5416982a202b

commit 1df4c32add4b0caee6d9128c593e5416982a202b
Author: Guillem Jover <[email protected]>
AuthorDate: Thu Apr 27 02:40:01 2023 +0200

    Dpkg::Shlibs::Objdump: Add OR1K ELF ABI tracking
    
    At least GNU binutils does not allow linking objects with the nodelay
    flag set against ones without the flag set, and internally considers
    them different BFD machine types.
---
 scripts/Dpkg/Shlibs/Objdump.pm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/scripts/Dpkg/Shlibs/Objdump.pm b/scripts/Dpkg/Shlibs/Objdump.pm
index 6e7db6025..a2f3aefcd 100644
--- a/scripts/Dpkg/Shlibs/Objdump.pm
+++ b/scripts/Dpkg/Shlibs/Objdump.pm
@@ -152,6 +152,8 @@ use constant {
     EF_MIPS_ABI_MASK        => 0x0000f000,
     EF_MIPS_ARCH_MASK       => 0xf0000000,
 
+    EF_OR1K_NODELAY         => 0x00000001,
+
     EF_PPC64_ABI64          => 0x00000003,
 
     EF_RISCV_FLOAT_ABI_SOFT     => 0x0000,
@@ -181,6 +183,7 @@ my %elf_flags_mask = (
     EM_IA64()               => EF_IA64_ABI64,
     EM_LOONGARCH()          => EF_LOONGARCH_ABI_MASK,
     EM_MIPS()               => EF_MIPS_ABI_MASK | EF_MIPS_ABI2,
+    EM_OR1K()               => EF_OR1K_NODELAY,
     EM_PPC64()              => EF_PPC64_ABI64,
     EM_RISCV()              => EF_RISCV_FLOAT_ABI_MASK | EF_RISCV_RVE,
 );

-- 
Dpkg.Org's dpkg

Reply via email to