<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-linux/tools/objtool/tests/generic/test-modname-normalize.sh, branch stable</title>
<subtitle>WireGuard for the Linux kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-linux/atom/tools/objtool/tests/generic/test-modname-normalize.sh?h=stable</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-linux/atom/tools/objtool/tests/generic/test-modname-normalize.sh?h=stable'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/'/>
<updated>2026-09-21T09:12:06Z</updated>
<entry>
<title>objtool/klp: Add test for Module.symvers path normalization</title>
<updated>2026-09-21T09:12:06Z</updated>
<author>
<name>Song Liu</name>
<email>song@kernel.org</email>
</author>
<published>2026-09-16T18:43:23Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=90949e312de909e2f2a4f72ff3221f79e891d19f'/>
<id>urn:sha1:90949e312de909e2f2a4f72ff3221f79e891d19f</id>
<content type='text'>
Module.symvers names an export's owner by build path, and the kernel knows
modules by their runtime name.  Without normalizing one to the other, an
export owned by a module is not recognised as owned by anything, and a
reference that should become a klp relocation stays an ordinary one.

This tests the behavior of commit 8668bf91e050 ("objtool/klp: Normalize
Module.symvers paths to module names").

Assisted-by: Claude:claude-opus-4
Based-on-test-by: Joe Lawrence &lt;joe.lawrence@redhat.com&gt;
Assisted-by: Claude:claude-opus-5
Signed-off-by: Song Liu &lt;song@kernel.org&gt;
Signed-off-by: Josh Poimboeuf &lt;jpoimboe@kernel.org&gt;
Signed-off-by: Ingo Molnar &lt;mingo@kernel.org&gt;
Link: https://patch.msgid.link/20260916184351.2720310-31-song@kernel.org
</content>
</entry>
</feed>
