mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
parisc: Mark ex_table entries 32-bit aligned in assembly.h
commit e11d4cccd094a7cd4696c8c42e672c76c092dad5 upstream. 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+ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
c23b9eaca8
commit
645e4b693b
@@ -574,6 +574,7 @@
|
|||||||
*/
|
*/
|
||||||
#define ASM_EXCEPTIONTABLE_ENTRY(fault_addr, except_addr) \
|
#define ASM_EXCEPTIONTABLE_ENTRY(fault_addr, except_addr) \
|
||||||
.section __ex_table,"aw" ! \
|
.section __ex_table,"aw" ! \
|
||||||
|
.align 4 ! \
|
||||||
.word (fault_addr - .), (except_addr - .) ! \
|
.word (fault_addr - .), (except_addr - .) ! \
|
||||||
.previous
|
.previous
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user