bootloader: Remove commented support for multiple .data/.bss sections.
authorTilman Sauerbeck <tilman@code-monkey.de>
Sun, 16 Jun 2019 17:46:17 +0000 (19:46 +0200)
committerTilman Sauerbeck <tilman@code-monkey.de>
Sun, 7 Jul 2019 07:58:43 +0000 (09:58 +0200)
src/bootloader/bootloader.ld

index 574442906c79e17536acfc48b35e445b480d6217..b465cecad78cad7d90a9928f724cb737869386b2 100644 (file)
@@ -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)