Skip to content

Commit e11d4cc

Browse files
committed
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+
1 parent 98b1cc8 commit e11d4cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/parisc/include/asm/assembly.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -574,6 +574,7 @@
574574
*/
575575
#define ASM_EXCEPTIONTABLE_ENTRY(fault_addr, except_addr) \
576576
.section __ex_table,"aw" ! \
577+
.align 4 ! \
577578
.word (fault_addr - .), (except_addr - .) ! \
578579
.previous
579580

0 commit comments

Comments
 (0)