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.
Unified · Split
| @@ -574,6 +574,7 @@ · 573 unmodified lines | ||
| 574 | 574 | */ |
| 575 | 575 | #define ASM_EXCEPTIONTABLE_ENTRY(fault_addr, except_addr) \ |
| 576 | 576 | .section __ex_table,"aw" ! \ |
| 577 | + .align 4 ! \ | |
| 577 | 578 | .word (fault_addr - .), (except_addr - .) ! \ |
| 578 | 579 | .previous |
| 579 | 580 | |