From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage:master commit in: lib/portage/util/elf/, lib/portage/dep/soname/
Date: Wed, 7 Aug 2024 12:26:24 +0000 (UTC) [thread overview]
Message-ID: <1723031777.1ea8bb30da1ca9a47fd795d2fa1c829fda95bfec.sam@gentoo> (raw)
commit: 1ea8bb30da1ca9a47fd795d2fa1c829fda95bfec
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 7 11:56:17 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 7 11:56:17 2024 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=1ea8bb30
ELF: add entries for BPF
Bug: https://bugs.gentoo.org/937485
Signed-off-by: Sam James <sam <AT> gentoo.org>
lib/portage/dep/soname/multilib_category.py | 4 +++-
lib/portage/util/elf/constants.py | 3 ++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/lib/portage/dep/soname/multilib_category.py b/lib/portage/dep/soname/multilib_category.py
index baca439fd2..e85191968d 100644
--- a/lib/portage/dep/soname/multilib_category.py
+++ b/lib/portage/dep/soname/multilib_category.py
@@ -1,4 +1,4 @@
-# Copyright 2015-2019 Gentoo Authors
+# Copyright 2015-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
#
# Compute a multilib category, as discussed here:
@@ -59,6 +59,7 @@ from portage.util.elf.constants import (
EM_ARC_COMPACT3_64,
EM_ARM,
EM_ALTERA_NIOS2,
+ EM_BPF,
EM_IA_64,
EM_LOONGARCH,
EM_MIPS,
@@ -91,6 +92,7 @@ _machine_prefix_map = {
EM_ARC_COMPACT3: "arc",
EM_ARC_COMPACT3_64: "arc",
EM_ARM: "arm",
+ EM_BPF: "bpf",
EM_IA_64: "ia64",
EM_LOONGARCH: "loong",
EM_MIPS: "mips",
diff --git a/lib/portage/util/elf/constants.py b/lib/portage/util/elf/constants.py
index 9216a35353..e389d1292a 100644
--- a/lib/portage/util/elf/constants.py
+++ b/lib/portage/util/elf/constants.py
@@ -1,4 +1,4 @@
-# Copyright 2015-2019 Gentoo Authors
+# Copyright 2015-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
#
# These constants are available from elfutils:
@@ -40,6 +40,7 @@ EM_AARCH64 = 183
EM_ARC_COMPACT2 = 195
EM_AMDGPU = 224
EM_RISCV = 243
+EM_BPF = 247
EM_ARC_COMPACT3_64 = 253
EM_ARC_COMPACT3 = 255
EM_LOONGARCH = 258
next reply other threads:[~2024-08-07 12:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-07 12:26 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-05-18 19:15 [gentoo-commits] proj/portage:master commit in: lib/portage/util/elf/, lib/portage/dep/soname/ Zac Medico
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1723031777.1ea8bb30da1ca9a47fd795d2fa1c829fda95bfec.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox