From: Peter Zijlstra <peterz@infradead.org>
To: Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: Michael Ellerman <mpe@ellerman.id.au>,
Nicholas Piggin <npiggin@gmail.com>,
sv@linux.ibm.com, bgray@linux.ibm.com, agust@denx.de,
jpoimboe@kernel.org, jbaron@akamai.com, rostedt@goodmis.org,
ardb@kernel.org, tglx@linutronix.de, mingo@redhat.com,
bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com,
linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org,
x86@kernel.org, chenzhongjin@huawei.com
Subject: Re: [PATCH v3 2/6] objtool: Add architecture specific R_REL32 macro
Date: Thu, 1 Sep 2022 21:38:21 +0200 [thread overview]
Message-ID: <YxEKLSpNlUTvj4yt@hirez.programming.kicks-ass.net> (raw)
In-Reply-To: <1cfa46b215a2f39c7f8040ca5447113ff9eb7dd6.1662032631.git.christophe.leroy@csgroup.eu>
On Thu, Sep 01, 2022 at 01:48:21PM +0200, Christophe Leroy wrote:
> In order to allow other architectures than x86 to use 32 bits
> PC relative relocations (S+A-P), define a R_REL32 macro that each
> architecture will define, in the same way as already done for
> R_NONE, R_ABS32 and R_ABS64.
>
> For x86 that corresponds to R_X86_64_PC32.
> For powerpc it is R_PPC_REL32/R_PPC64_REL32.
>
> Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
next prev parent reply other threads:[~2022-09-01 19:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-01 11:48 [PATCH v3 0/6] Implement inline static calls on PPC32 - v3 Christophe Leroy
2022-09-01 11:48 ` [PATCH v3 1/6] Fixup for "objtool/powerpc: Add --mcount specific implementation" Christophe Leroy
2022-09-01 11:48 ` [PATCH v3 2/6] objtool: Add architecture specific R_REL32 macro Christophe Leroy
2022-09-01 19:38 ` Peter Zijlstra [this message]
2022-09-01 11:48 ` [PATCH v3 3/6] init: Call static_call_init() from start_kernel() Christophe Leroy
2022-09-01 11:48 ` [PATCH v3 4/6] static_call_inline: Provide trampoline address when updating sites Christophe Leroy
2022-09-01 11:48 ` [PATCH v3 5/6] powerpc: Prepare arch_static_call_transform() for supporting inline static calls Christophe Leroy
2022-09-01 11:48 ` [PATCH v3 6/6] powerpc/static_call: Implement " Christophe Leroy
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=YxEKLSpNlUTvj4yt@hirez.programming.kicks-ass.net \
--to=peterz@infradead.org \
--cc=agust@denx.de \
--cc=ardb@kernel.org \
--cc=bgray@linux.ibm.com \
--cc=bp@alien8.de \
--cc=chenzhongjin@huawei.com \
--cc=christophe.leroy@csgroup.eu \
--cc=dave.hansen@linux.intel.com \
--cc=hpa@zytor.com \
--cc=jbaron@akamai.com \
--cc=jpoimboe@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mingo@redhat.com \
--cc=mpe@ellerman.id.au \
--cc=npiggin@gmail.com \
--cc=rostedt@goodmis.org \
--cc=sv@linux.ibm.com \
--cc=tglx@linutronix.de \
--cc=x86@kernel.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
all inboxes | Powered by JetHome®