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

Xie Yuanbin <[email protected]>
Newsgroups org.kernel.vger.linux-modules,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Sat, 30 May 2026 23:46:01 +0800, Xiao Junzhe wrote:
> +	.ARM.extab		0 : {
> +		*(.ARM.extab .ARM.extab.text .ARM.extab.text.[0-9a-zA-Z_]*)
> +	}
> +	.ARM.exidx		0 : {
> +		*(.ARM.exidx .ARM.exidx.text .ARM.exidx.text.[0-9a-zA-Z_]*)
> +	}
> +}

I think ".ARM.extab.text" and ".ARM.exidx.text" is redundant, and I
suggest that
"*(.ARM.extab .ARM.extab.text.[0-9a-zA-Z_]*)"
"*(.ARM.exidx .ARM.exidx.text.[0-9a-zA-Z_]*)"
instead.

Mapping between the text sections and exidx sections in .o files
generated by the compilers:
".text" -> ".ARM.exidx"
".text.xx" -> ".ARM.exidx.text.xx"

".ARM.extab.text" and ".ARM.exidx.text" sections will never be
generated by the compilers.

Also Cc to Linus Walleij and UNWIND:
Cc: Linus Walleij <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Cc: Steven Rostedt <[email protected]>
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.