Thread (7 messages) flat view 7 messages, 4 authors, 2021-01-16

Re: [PATCH] powerpc: Handle .text.{hot,unlikely}.* in linker script

From: Nathan Chancellor <hidden>
Date: 2021-01-04 23:46:20
Also in: lkml, stable

On Mon, Jan 04, 2021 at 09:55:20PM +0100, Sedat Dilek wrote:
On Mon, Jan 4, 2021 at 9:49 PM Nathan Chancellor
[off-list ref] wrote:
quoted
Commit eff8728fe698 ("vmlinux.lds.h: Add PGO and AutoFDO input
sections") added ".text.unlikely.*" and ".text.hot.*" due to an LLVM
change [1].

After another LLVM change [2], these sections are seen in some PowerPC
builds, where there is a orphan section warning then build failure:
Looks like you forgot to add your references/links to [1] and [2].
Indeed, thank you for pointing that out! v2 coming shortly.
Might be good to mention...?

With CONFIG_LD_ORPHAN_WARN=y is enabled
Since this symbol is not user selectable, I do not really think it is
worth mentioning, plus PowerPC has had this enabled for a while :)

Cheers,
Nathan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help