]> www.infradead.org Git - users/jedix/linux-maple.git/commit
modules: Add missing entry for __ex_table
authorHelge Deller <deller@gmx.de>
Wed, 22 Nov 2023 22:18:14 +0000 (23:18 +0100)
committerLuis Chamberlain <mcgrof@kernel.org>
Sat, 19 Oct 2024 20:40:42 +0000 (13:40 -0700)
commit03ddd2f17e28fe0e53a702469b1b751d40f5efbb
treeef5b323a8e34647eca34b7d9a27c74bbe0233871
parent335de24e5e774aa94ff9551b3194fe15f52ea1d9
modules: Add missing entry for __ex_table

The entry for __ex_table was missing, which may make __ex_table
become 1- or 2-byte aligned in modules.
Add the entry to ensure it gets 32-bit aligned.

As per unaligned-memory-access [0] "unaligned memory accesses [...]
will not work correctly on certain platforms and will cause performance
problems on others", so fix this.

Signed-off-by: Helge Deller <deller@gmx.de>
[mcgrof: added unaligned-memory-access justification]
Link: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/core-api/unaligned-memory-access.rst
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
scripts/module.lds.S