From: "Philippe Mathieu-Daudé" <philmd@oss.qualcomm.com>
To: Brian Cain <brian.cain@oss.qualcomm.com>, linux-hexagon@vger.kernel.org
Cc: sid.manning@oss.qualcomm.com, pierrick.bouvier@oss.qualcomm.com
Subject: Re: [PATCH 2/7] hexagon: define ELF_CORE_EFLAGS for V4-and-later architectures
Date: Wed, 23 Sep 2026 08:08:55 +0200 [thread overview]
Message-ID: <88fcd62f-4a5e-4be3-92c8-1bba29b428fd@oss.qualcomm.com> (raw)
In-Reply-To: <20260906021712.2498266-3-brian.cain@oss.qualcomm.com>
On 2026-09-06 4:17, Brian Cain wrote:
> ELF_CORE_EFLAGS was only defined for CONFIG_HEXAGON_ARCH_VERSION
> values of exactly 2, 3, or 4, unlike CS_COPYREGS just above it, which
> already treats V4 as a ">= 4" floor rather than an exact match. Any
> version newer than V4 left ELF_CORE_EFLAGS undefined and ptrace.c's
> use of it in the hexagon_user_view initializer failed to build.
> Extend the V4 case to match V4 and later, using the same core-dump
> e_flags value V4 used.
>
> Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>
> ---
> arch/hexagon/include/asm/elf.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
next prev parent reply other threads:[~2026-09-23 6:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-06 2:17 [PATCH 0/7] Hexagon build/syscall/etc fixes Brian Cain
2026-09-06 2:17 ` [PATCH 1/7] hexagon: disable the LLVM packetizer Brian Cain
2026-09-06 2:17 ` [PATCH 2/7] hexagon: define ELF_CORE_EFLAGS for V4-and-later architectures Brian Cain
2026-09-23 6:08 ` Philippe Mathieu-Daudé [this message]
2026-09-06 2:17 ` [PATCH 3/7] hexagon: stop passing -mv${CONFIG_HEXAGON_ARCH_VERSION} to the linker Brian Cain
2026-09-23 6:08 ` Philippe Mathieu-Daudé
2026-09-06 2:17 ` [PATCH 4/7] hexagon: read the thread-info register with a volatile asm Brian Cain
2026-09-06 2:17 ` [PATCH 5/7] hexagon: let do_work_pending return without pending work Brian Cain
2026-09-06 2:17 ` [PATCH 6/7] hexagon: set the user stack pointer in start_thread Brian Cain
2026-09-06 2:17 ` [PATCH 7/7] hexagon: return -ENOSYS for unimplemented syscalls Brian Cain
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=88fcd62f-4a5e-4be3-92c8-1bba29b428fd@oss.qualcomm.com \
--to=philmd@oss.qualcomm.com \
--cc=brian.cain@oss.qualcomm.com \
--cc=linux-hexagon@vger.kernel.org \
--cc=pierrick.bouvier@oss.qualcomm.com \
--cc=sid.manning@oss.qualcomm.com \
/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