Re: [PATCH v3] ARM: module.lds: fix unwind metadata for merged .text sections

Xie Yuanbin <[email protected]>
Newsgroups gmane.linux.kernel.modules,gmane.linux.ports.arm.kernel,gmane.linux.kernel
Message-ID <[email protected]>
On Thu, 6 Aug 2026 22:29:03 +0800, Xiao Junzhe wrote:
> My reason for including the exact matches is slightly different.
> AAELF32 defines these section namespaces as .ARM.exidx* and
> .ARM.extab*; it does not require all ABI-conforming object producers to
> use the same naming convention as GNU as and LLVM.
>
> For example, another producer or future version of GNU/LLVM impl for `as`
> could validly use:
>
>     .text -> .ARM.exidx.text

I have thought about it again. For other sections, the mapping is
as follows:
	.xxx -> .ARM.exidx.xxx

So, if there is an ".ARM.exidx.text", it must be from ".text", and adding
".ARM.exidx.text" will not cause any other harm. We only need
to ensure that the merging of the ".text*" sections is consistent
with the merging of the ".ARM.exidx*" sections, and the current patch
already satisfies this requirement.

I have no other questions about this, so:
Reviewed-by: Xie Yuanbin <[email protected]>
Tested-by: Xie Yuanbin <[email protected]>

Also, don't forget to submit your patch to Russell's
patch tracker:
Link: https://www.armlinux.org.uk/developer/patches/

Thanks.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.