Skip to content

Commit 658d89b

Browse files
committed
Apply linker fix as in #12690 to new NUCLEO_G474RE target
1 parent 6e2fa61 commit 658d89b

File tree

1 file changed

+1
-4
lines changed
  • targets/TARGET_STM/TARGET_STM32G4/TARGET_STM32G474xx/TOOLCHAIN_GCC_ARM

1 file changed

+1
-4
lines changed

targets/TARGET_STM/TARGET_STM32G4/TARGET_STM32G474xx/TOOLCHAIN_GCC_ARM/stm32g474xx.ld

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,7 @@ SECTIONS
111111
} > FLASH
112112
__exidx_end = .;
113113

114-
/* Location counter can end up 2byte aligned with narrow Thumb code but
115-
__etext is assumed by startup code to be the LMA of a section in RAM
116-
which must be 8-byte aligned */
117-
__etext = ALIGN (8);
114+
__etext = .;
118115
_sidata = .;
119116

120117
.data : AT (__etext)

0 commit comments

Comments
 (0)