<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/source/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in klp-sympos.c</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>a0acd94e3819fcd8346ae3c16df987e0fabb3128 - Merge tag &apos;objtool-core-2026-08-17&apos; of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/objtool/klp-sympos.c#a0acd94e3819fcd8346ae3c16df987e0fabb3128</link>
        <description>Merge tag &apos;objtool-core-2026-08-17&apos; of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tipPull objtool updates from Ingo Molnar: - Fix various klp-build bugs reported by Joe Lawrence (Josh Poimboeuf,   Joe Lawrence) - Misc fixes and cleanups (Puranjay Mohan, Thomas Huth and Ingo Molnar)* tag &apos;objtool-core-2026-08-17&apos; of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:  objtool/klp: Fix vmlinux klp relocations for EXPORT_SYMBOL_FOR_MODULES()  objtool/klp: Fix .kcfi_traps special section extraction  objtool/klp: Fix vmlinux .klp.symid link error for .exitcall.exit symbols  objtool/klp: Fix line numbers in Module.symvers parse errors  objtool/klp: Fix relocations for EXPORT_SYMBOL_FOR_MODULES() symbols  objtool/klp: Allow new references to module exports  objtool/klp: Don&apos;t match local symbols against exports  objtool/klp: Fix cross-module klp relocation section naming  objtool/klp: Explicitly disallow patching or referencing init code/data  objtool/klp: Ignore replacement offset of empty x86 alternatives  objtool/klp: Fix size of empty special section entries  objtool/klp: Fix vmlinux .klp.symid link error for .no_trim_symbol symbols  objtool/headers: Sync tools/include/linux/objtool_types.h with include/linux/objtool_types.h  objtool: Replace __ASSEMBLY__ with __ASSEMBLER__ in header files  objtool/klp: Fix symbol resolution for duplicate data symbols  objtool/klp: Add .klp.symid for sympos disambiguation  objtool/klp: Skip hidden directories when finding objects  objtool/klp: Fix false module dependencies caused by dead relocs  objtool/klp: Normalize Module.symvers paths to module names  objtool/klp: Fix module name normalization for paths with dots

            List of files:
            /linux/tools/objtool/klp-sympos.c</description>
        <pubDate>Tue, 18 Aug 2026 21:18:33 +0200</pubDate>
        <dc:creator>Linus Torvalds &lt;torvalds@linux-foundation.org&gt;</dc:creator>
    </item>
<item>
        <title>69f361b8a7a2f65c1bb236ea0899cdaad7267653 - objtool/klp: Explicitly disallow patching or referencing init code/data</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/objtool/klp-sympos.c#69f361b8a7a2f65c1bb236ea0899cdaad7267653</link>
        <description>objtool/klp: Explicitly disallow patching or referencing init code/dataExplicitly disallow the patching and referencing of init code/data.Otherwise it could potentially introduce some odd edge cases dependingon whether the target object&apos;s init section has been freed yet (notethat the init code still exists in the target module when doing latemodule patching).Such edge cases include sympos calculation and the patching and/orreferencing of non-existent (init-freed) code/data.  Not to mention theinherent differences in behavior that occur when the init code is onlypatched *some* of the time depending on module loading order or kernelconfig.Acked-by: Joe Lawrence &lt;joe.lawrence@redhat.com&gt;Acked-by: Song Liu &lt;song@kernel.org&gt;Link: https://patch.msgid.link/516e14f84cfbffa27dc19d3dcf35097504097966.1786138493.git.jpoimboe@kernel.orgSigned-off-by: Josh Poimboeuf &lt;jpoimboe@kernel.org&gt;

            List of files:
            /linux/tools/objtool/klp-sympos.c</description>
        <pubDate>Fri, 07 Aug 2026 23:37:49 +0200</pubDate>
        <dc:creator>Josh Poimboeuf &lt;jpoimboe@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>15fa203ef91e8a303c322eaaa8ca01a6ddaf94dc - objtool/klp: Fix symbol resolution for duplicate data symbols</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/objtool/klp-sympos.c#15fa203ef91e8a303c322eaaa8ca01a6ddaf94dc</link>
        <description>objtool/klp: Fix symbol resolution for duplicate data symbolsfind_sympos() calculates a sympos used by livepatch to disambiguateduplicately-named symbols.  For function symbols, there&apos;s a hack whichcounts .text.unlikely symbols before other .text symbols, matching thelinker script&apos;s section ordering.Not only is the hack fragile, data symbols can have the same problem.So for example, adding a reference to pwq_cache inep_unregister_pollwait() can trigger a corrupt sympos and a relocationto the wrong pwq_cache symbol in the livepatch module, resulting in acrash or undefined behavior.Remove the existing hack in favor of a fully deterministic solution,using the new .klp.symid table to derive the symbol-to-id mapping fromthe original vmlinux.o and the id-to-address mapping from thecorresponding vmlinux, which can then be used to determine the exactsympos associated with the original vmlinux.Modules don&apos;t need any special treatment: the .ko has the samesection/symbol ordering as the original whole-archive symbol table.Fixes: dd590d4d57eb (&quot;objtool/klp: Introduce klp diff subcommand for diffing object files&quot;)Reported-by: Ben Procknow &lt;bprockno@redhat.com&gt;Reported-by: Joe Lawrence &lt;joe.lawrence@redhat.com&gt;Signed-off-by: Josh Poimboeuf &lt;jpoimboe@kernel.org&gt;Signed-off-by: Ingo Molnar &lt;mingo@kernel.org&gt;Cc: live-patching@vger.kernel.orgLink: https://lore.kernel.org/20260710153042.3156788-1-joe.lawrence@redhat.comLink: https://lore.kernel.org/20260724221730.3126529-1-joe.lawrence@redhat.comLink: https://patch.msgid.link/919785e3bf2245db02ff6391e735d9cb139170b1.1785727106.git.jpoimboe@kernel.org

            List of files:
            /linux/tools/objtool/klp-sympos.c</description>
        <pubDate>Mon, 03 Aug 2026 05:24:28 +0200</pubDate>
        <dc:creator>Josh Poimboeuf &lt;jpoimboe@kernel.org&gt;</dc:creator>
    </item>
</channel>
</rss>
