diff --git a/compiler/rustc_target/src/spec/targets/armv7a_vex_v5_linker_script.ld b/compiler/rustc_target/src/spec/targets/armv7a_vex_v5_linker_script.ld index 0f3e6eeee19a3..e0fa5dc301846 100644 --- a/compiler/rustc_target/src/spec/targets/armv7a_vex_v5_linker_script.ld +++ b/compiler/rustc_target/src/spec/targets/armv7a_vex_v5_linker_script.ld @@ -60,7 +60,7 @@ SECTIONS { /* * Executable program instructions. */ - .text : { + .text ALIGN(4) : { /* _boot routine (entry point from VEXos, must be at 0x03800020) */ *(.boot)