From: Tilman Sauerbeck Date: Sun, 16 Jun 2019 17:46:17 +0000 (+0200) Subject: bootloader: Remove commented support for multiple .data/.bss sections. X-Git-Url: http://git.code-monkey.de/?a=commitdiff_plain;h=c3a391850f570106207d648196d8d978e875ac76;p=gps-watch.git bootloader: Remove commented support for multiple .data/.bss sections. --- diff --git a/src/bootloader/bootloader.ld b/src/bootloader/bootloader.ld index 5744429..b465cec 100644 --- a/src/bootloader/bootloader.ld +++ b/src/bootloader/bootloader.ld @@ -22,10 +22,6 @@ GROUP(libgcc.a libc.a libm.a libnosys.a) * It defines following symbols, which code can use without definition: * __exidx_start * __exidx_end - * __copy_table_start__ - * __copy_table_end__ - * __zero_table_start__ - * __zero_table_end__ * __etext * __data_start__ * __preinit_array_start @@ -93,40 +89,6 @@ SECTIONS } > FLASH __exidx_end = .; - /* To copy multiple ROM to RAM sections, - * uncomment .copy.table section and, - * define __STARTUP_COPY_MULTIPLE in startup_ARMCMx.S */ - /* - .copy.table : - { - . = ALIGN(4); - __copy_table_start__ = .; - LONG (__etext) - LONG (__data_start__) - LONG (__data_end__ - __data_start__) - LONG (__etext2) - LONG (__data2_start__) - LONG (__data2_end__ - __data2_start__) - __copy_table_end__ = .; - } > FLASH - */ - - /* To clear multiple BSS sections, - * uncomment .zero.table section and, - * define __STARTUP_CLEAR_BSS_MULTIPLE in startup_ARMCMx.S */ - /* - .zero.table : - { - . = ALIGN(4); - __zero_table_start__ = .; - LONG (__bss_start__) - LONG (__bss_end__ - __bss_start__) - LONG (__bss2_start__) - LONG (__bss2_end__ - __bss2_start__) - __zero_table_end__ = .; - } > FLASH - */ - __etext = .; .data : AT (__etext)