diff --git a/Demo/ARM7_LPC2368_Eclipse/RTOSDemo/lpc2368.ld b/Demo/ARM7_LPC2368_Eclipse/RTOSDemo/lpc2368.ld index 79a37e6ece..98dec1aaaf 100644 --- a/Demo/ARM7_LPC2368_Eclipse/RTOSDemo/lpc2368.ld +++ b/Demo/ARM7_LPC2368_Eclipse/RTOSDemo/lpc2368.ld @@ -42,6 +42,7 @@ SECTIONS _end. Align after .bss to ensure correct alignment even if the .bss section disappears because there are no input sections. */ . = ALIGN(32 / 8); + _bss_end__ = . ; __bss_end__ = . ; __end__ = . ; .usbram (NOLOAD): { @@ -61,7 +62,7 @@ SECTIONS } . = ALIGN(32 / 8); _end = .; - _bss_end__ = . ; __bss_end__ = . ; __end__ = . ; + PROVIDE (end = .);