aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2023-11-20 15:37:50 +0100
committerHelge Deller <deller@gmx.de>2023-11-25 09:43:17 +0100
commite11d4cccd094a7cd4696c8c42e672c76c092dad5 (patch)
tree683cc6f2c3611aa9a8e07d1bd04292fff31611f0
parent98b1cc82c4affc16f5598d4fa14b1858671b2263 (diff)
downloadlinux-e11d4cccd094a7cd4696c8c42e672c76c092dad5.tar.gz
parisc: Mark ex_table entries 32-bit aligned in assembly.h
Add an align statement to tell the linker that all ex_table entries and as such the whole ex_table section should be 32-bit aligned in vmlinux and modules. Signed-off-by: Helge Deller <deller@gmx.de> Cc: stable@vger.kernel.org # v6.0+
-rw-r--r--arch/parisc/include/asm/assembly.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/parisc/include/asm/assembly.h b/arch/parisc/include/asm/assembly.h
index 75677b526b2bb7..74d17d7e759da9 100644
--- a/arch/parisc/include/asm/assembly.h
+++ b/arch/parisc/include/asm/assembly.h
@@ -574,6 +574,7 @@
*/
#define ASM_EXCEPTIONTABLE_ENTRY(fault_addr, except_addr) \
.section __ex_table,"aw" ! \
+ .align 4 ! \
.word (fault_addr - .), (except_addr - .) ! \
.previous