diff --git a/variants/STM32C0xx/C011D6Y_C011F(4-6)(P-U)_C031F(4-6)P/ldscript.ld b/variants/STM32C0xx/C011D6Y_C011F(4-6)(P-U)_C031F(4-6)P/ldscript.ld index 5017497853..930ef9eb87 100644 --- a/variants/STM32C0xx/C011D6Y_C011F(4-6)(P-U)_C031F(4-6)P/ldscript.ld +++ b/variants/STM32C0xx/C011D6Y_C011F(4-6)(P-U)_C031F(4-6)P/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32C0xx/C031C(4-6)(T-U)/ldscript.ld b/variants/STM32C0xx/C031C(4-6)(T-U)/ldscript.ld index fb176f70ab..d76928c5f8 100644 --- a/variants/STM32C0xx/C031C(4-6)(T-U)/ldscript.ld +++ b/variants/STM32C0xx/C031C(4-6)(T-U)/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F030C6T/ldscript.ld b/variants/STM32F0xx/F030C6T/ldscript.ld index 5249555df4..f7a4d3aaec 100644 --- a/variants/STM32F0xx/F030C6T/ldscript.ld +++ b/variants/STM32F0xx/F030C6T/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F030C8T/ldscript.ld b/variants/STM32F0xx/F030C8T/ldscript.ld index 6aaa6d75c6..0ef83e6d6d 100644 --- a/variants/STM32F0xx/F030C8T/ldscript.ld +++ b/variants/STM32F0xx/F030C8T/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F030F4P/ldscript.ld b/variants/STM32F0xx/F030F4P/ldscript.ld index 69446d7491..f1f74e3d0b 100644 --- a/variants/STM32F0xx/F030F4P/ldscript.ld +++ b/variants/STM32F0xx/F030F4P/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F030K6T/ldscript.ld b/variants/STM32F0xx/F030K6T/ldscript.ld index d3f9770435..168b7ee20b 100644 --- a/variants/STM32F0xx/F030K6T/ldscript.ld +++ b/variants/STM32F0xx/F030K6T/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F030R8T/ldscript.ld b/variants/STM32F0xx/F030R8T/ldscript.ld index 573612043e..d79f029d41 100644 --- a/variants/STM32F0xx/F030R8T/ldscript.ld +++ b/variants/STM32F0xx/F030R8T/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F031C(4-6)T/ldscript.ld b/variants/STM32F0xx/F031C(4-6)T/ldscript.ld index ada32172b0..5ff90a8367 100644 --- a/variants/STM32F0xx/F031C(4-6)T/ldscript.ld +++ b/variants/STM32F0xx/F031C(4-6)T/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F031E6Y_F038E6Y/ldscript.ld b/variants/STM32F0xx/F031E6Y_F038E6Y/ldscript.ld index c82510d06b..0ffd261d1a 100644 --- a/variants/STM32F0xx/F031E6Y_F038E6Y/ldscript.ld +++ b/variants/STM32F0xx/F031E6Y_F038E6Y/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F031F(4-6)P/ldscript.ld b/variants/STM32F0xx/F031F(4-6)P/ldscript.ld index 4c221df2a4..d6452e7a97 100644 --- a/variants/STM32F0xx/F031F(4-6)P/ldscript.ld +++ b/variants/STM32F0xx/F031F(4-6)P/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F031G(4-6)U/ldscript.ld b/variants/STM32F0xx/F031G(4-6)U/ldscript.ld index 0575481078..49943c6de9 100644 --- a/variants/STM32F0xx/F031G(4-6)U/ldscript.ld +++ b/variants/STM32F0xx/F031G(4-6)U/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F031K(4-6)U/ldscript.ld b/variants/STM32F0xx/F031K(4-6)U/ldscript.ld index 3cb43d6aca..6152da2418 100644 --- a/variants/STM32F0xx/F031K(4-6)U/ldscript.ld +++ b/variants/STM32F0xx/F031K(4-6)U/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F031K6T/ldscript.ld b/variants/STM32F0xx/F031K6T/ldscript.ld index ee4d20076b..ebaa6245ad 100644 --- a/variants/STM32F0xx/F031K6T/ldscript.ld +++ b/variants/STM32F0xx/F031K6T/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F038C6T/ldscript.ld b/variants/STM32F0xx/F038C6T/ldscript.ld index c447b88749..86acb82f0b 100644 --- a/variants/STM32F0xx/F038C6T/ldscript.ld +++ b/variants/STM32F0xx/F038C6T/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F038F6P/ldscript.ld b/variants/STM32F0xx/F038F6P/ldscript.ld index 0735c9cc63..46a7c499af 100644 --- a/variants/STM32F0xx/F038F6P/ldscript.ld +++ b/variants/STM32F0xx/F038F6P/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F038G6U/ldscript.ld b/variants/STM32F0xx/F038G6U/ldscript.ld index b7e352a8ac..dc798e5dd1 100644 --- a/variants/STM32F0xx/F038G6U/ldscript.ld +++ b/variants/STM32F0xx/F038G6U/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F038K6U/ldscript.ld b/variants/STM32F0xx/F038K6U/ldscript.ld index aba4aee66e..1236efe1b9 100644 --- a/variants/STM32F0xx/F038K6U/ldscript.ld +++ b/variants/STM32F0xx/F038K6U/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F042C(4-6)(T-U)/ldscript.ld b/variants/STM32F0xx/F042C(4-6)(T-U)/ldscript.ld index 014a79669b..99a7435a2e 100644 --- a/variants/STM32F0xx/F042C(4-6)(T-U)/ldscript.ld +++ b/variants/STM32F0xx/F042C(4-6)(T-U)/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F042F(4-6)P/ldscript.ld b/variants/STM32F0xx/F042F(4-6)P/ldscript.ld index 95206377f8..93e9c46367 100644 --- a/variants/STM32F0xx/F042F(4-6)P/ldscript.ld +++ b/variants/STM32F0xx/F042F(4-6)P/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F042G(4-6)U/ldscript.ld b/variants/STM32F0xx/F042G(4-6)U/ldscript.ld index a22400159b..8769d40f73 100644 --- a/variants/STM32F0xx/F042G(4-6)U/ldscript.ld +++ b/variants/STM32F0xx/F042G(4-6)U/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F042K(4-6)T/ldscript.ld b/variants/STM32F0xx/F042K(4-6)T/ldscript.ld index 7523b470c6..7dfbcb456e 100644 --- a/variants/STM32F0xx/F042K(4-6)T/ldscript.ld +++ b/variants/STM32F0xx/F042K(4-6)T/ldscript.ld @@ -86,13 +86,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -109,7 +109,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -119,7 +119,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F042T6Y/ldscript.ld b/variants/STM32F0xx/F042T6Y/ldscript.ld index 983fb31480..3667dd4b8e 100644 --- a/variants/STM32F0xx/F042T6Y/ldscript.ld +++ b/variants/STM32F0xx/F042T6Y/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F048G6U/ldscript.ld b/variants/STM32F0xx/F048G6U/ldscript.ld index 1a229d8b24..db4a3fa698 100644 --- a/variants/STM32F0xx/F048G6U/ldscript.ld +++ b/variants/STM32F0xx/F048G6U/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F048T6Y/ldscript.ld b/variants/STM32F0xx/F048T6Y/ldscript.ld index 1757e4fcd4..b3d9745afd 100644 --- a/variants/STM32F0xx/F048T6Y/ldscript.ld +++ b/variants/STM32F0xx/F048T6Y/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F051C4(T-U)/ldscript.ld b/variants/STM32F0xx/F051C4(T-U)/ldscript.ld index 7515374fbd..374b8fe300 100644 --- a/variants/STM32F0xx/F051C4(T-U)/ldscript.ld +++ b/variants/STM32F0xx/F051C4(T-U)/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F051K(6-8)U/ldscript.ld b/variants/STM32F0xx/F051K(6-8)U/ldscript.ld index 17fb2c953d..2a49052cea 100644 --- a/variants/STM32F0xx/F051K(6-8)U/ldscript.ld +++ b/variants/STM32F0xx/F051K(6-8)U/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F051K4T/ldscript.ld b/variants/STM32F0xx/F051K4T/ldscript.ld index cce2c77392..622259db9b 100644 --- a/variants/STM32F0xx/F051K4T/ldscript.ld +++ b/variants/STM32F0xx/F051K4T/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F051R4T/ldscript.ld b/variants/STM32F0xx/F051R4T/ldscript.ld index 3a6261e5de..5339b17f41 100644 --- a/variants/STM32F0xx/F051R4T/ldscript.ld +++ b/variants/STM32F0xx/F051R4T/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F051T8Y/ldscript.ld b/variants/STM32F0xx/F051T8Y/ldscript.ld index 3cf78c379b..75843222d2 100644 --- a/variants/STM32F0xx/F051T8Y/ldscript.ld +++ b/variants/STM32F0xx/F051T8Y/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F058C8U/ldscript.ld b/variants/STM32F0xx/F058C8U/ldscript.ld index e71c1556a8..7f64402def 100644 --- a/variants/STM32F0xx/F058C8U/ldscript.ld +++ b/variants/STM32F0xx/F058C8U/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F058R8(H-T)/ldscript.ld b/variants/STM32F0xx/F058R8(H-T)/ldscript.ld index 02333d18bc..82a236504d 100644 --- a/variants/STM32F0xx/F058R8(H-T)/ldscript.ld +++ b/variants/STM32F0xx/F058R8(H-T)/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F058T8Y/ldscript.ld b/variants/STM32F0xx/F058T8Y/ldscript.ld index b2a5ecad5d..71f0723db6 100644 --- a/variants/STM32F0xx/F058T8Y/ldscript.ld +++ b/variants/STM32F0xx/F058T8Y/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F070CBT/MALYANMx00_F070CB.ld b/variants/STM32F0xx/F070CBT/MALYANMx00_F070CB.ld index 0cc3cdcbf5..06c4161bdd 100644 --- a/variants/STM32F0xx/F070CBT/MALYANMx00_F070CB.ld +++ b/variants/STM32F0xx/F070CBT/MALYANMx00_F070CB.ld @@ -52,27 +52,27 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { *(.ARM.extab* .gnu.linkonce.armextab.*) } >FLASH - .ARM : { + .ARM.extab (READONLY) : { *(.ARM.extab* .gnu.linkonce.armextab.*) } >FLASH + .ARM (READONLY) : { __exidx_start = .; *(.ARM.exidx*) __exidx_end = .; } >FLASH - .preinit_array : + .preinit_array (READONLY) : { PROVIDE_HIDDEN (__preinit_array_start = .); KEEP (*(.preinit_array*)) PROVIDE_HIDDEN (__preinit_array_end = .); } >FLASH - .init_array : + .init_array (READONLY) : { PROVIDE_HIDDEN (__init_array_start = .); KEEP (*(SORT(.init_array.*))) KEEP (*(.init_array*)) PROVIDE_HIDDEN (__init_array_end = .); } >FLASH - .fini_array : + .fini_array (READONLY) : { PROVIDE_HIDDEN (__fini_array_start = .); KEEP (*(SORT(.fini_array.*))) diff --git a/variants/STM32F0xx/F070CBT/ldscript.ld b/variants/STM32F0xx/F070CBT/ldscript.ld index d35e001a34..b1b73d0620 100644 --- a/variants/STM32F0xx/F070CBT/ldscript.ld +++ b/variants/STM32F0xx/F070CBT/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F070RBT/ldscript.ld b/variants/STM32F0xx/F070RBT/ldscript.ld index 521c2cb4e3..1bfb82ad29 100644 --- a/variants/STM32F0xx/F070RBT/ldscript.ld +++ b/variants/STM32F0xx/F070RBT/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F071C8(T-U)_F071CB(T-U-Y)/ldscript.ld b/variants/STM32F0xx/F071C8(T-U)_F071CB(T-U-Y)/ldscript.ld index a372c51e4c..b934c3c816 100644 --- a/variants/STM32F0xx/F071C8(T-U)_F071CB(T-U-Y)/ldscript.ld +++ b/variants/STM32F0xx/F071C8(T-U)_F071CB(T-U-Y)/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F071RBT/ldscript.ld b/variants/STM32F0xx/F071RBT/ldscript.ld index a689023df1..0a5d85ef38 100644 --- a/variants/STM32F0xx/F071RBT/ldscript.ld +++ b/variants/STM32F0xx/F071RBT/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F071V(8-B)(H-T)/ldscript.ld b/variants/STM32F0xx/F071V(8-B)(H-T)/ldscript.ld index a056430c58..418453a0a3 100644 --- a/variants/STM32F0xx/F071V(8-B)(H-T)/ldscript.ld +++ b/variants/STM32F0xx/F071V(8-B)(H-T)/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F072C8(T-U)_F072CB(T-U-Y)/ldscript.ld b/variants/STM32F0xx/F072C8(T-U)_F072CB(T-U-Y)/ldscript.ld index cc61e5dc24..7313bb8458 100644 --- a/variants/STM32F0xx/F072C8(T-U)_F072CB(T-U-Y)/ldscript.ld +++ b/variants/STM32F0xx/F072C8(T-U)_F072CB(T-U-Y)/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F072R8T_F072RB(H-I-T)/ldscript.ld b/variants/STM32F0xx/F072R8T_F072RB(H-I-T)/ldscript.ld index 770c7e9c74..32e7804c46 100644 --- a/variants/STM32F0xx/F072R8T_F072RB(H-I-T)/ldscript.ld +++ b/variants/STM32F0xx/F072R8T_F072RB(H-I-T)/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F072V(8-B)(H-T)/ldscript.ld b/variants/STM32F0xx/F072V(8-B)(H-T)/ldscript.ld index 4b1dc175a0..15125c866e 100644 --- a/variants/STM32F0xx/F072V(8-B)(H-T)/ldscript.ld +++ b/variants/STM32F0xx/F072V(8-B)(H-T)/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F078CB(T-U-Y)/ldscript.ld b/variants/STM32F0xx/F078CB(T-U-Y)/ldscript.ld index 9e68c65576..056ea86204 100644 --- a/variants/STM32F0xx/F078CB(T-U-Y)/ldscript.ld +++ b/variants/STM32F0xx/F078CB(T-U-Y)/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F078RB(H-T)/ldscript.ld b/variants/STM32F0xx/F078RB(H-T)/ldscript.ld index 90eed5dac6..584d4aa0d6 100644 --- a/variants/STM32F0xx/F078RB(H-T)/ldscript.ld +++ b/variants/STM32F0xx/F078RB(H-T)/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F078VB(H-T)/ldscript.ld b/variants/STM32F0xx/F078VB(H-T)/ldscript.ld index 70dc8cdae8..45343f5175 100644 --- a/variants/STM32F0xx/F078VB(H-T)/ldscript.ld +++ b/variants/STM32F0xx/F078VB(H-T)/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F091C(B-C)(T-U)/ldscript.ld b/variants/STM32F0xx/F091C(B-C)(T-U)/ldscript.ld index 4652feeb0c..3e8c63c0c2 100644 --- a/variants/STM32F0xx/F091C(B-C)(T-U)/ldscript.ld +++ b/variants/STM32F0xx/F091C(B-C)(T-U)/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F091RBT_F091RC(H-T-Y)/ldscript.ld b/variants/STM32F0xx/F091RBT_F091RC(H-T-Y)/ldscript.ld index c233d39bf9..d870c01a88 100644 --- a/variants/STM32F0xx/F091RBT_F091RC(H-T-Y)/ldscript.ld +++ b/variants/STM32F0xx/F091RBT_F091RC(H-T-Y)/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F091VBT_F091VC(H-T)/ldscript.ld b/variants/STM32F0xx/F091VBT_F091VC(H-T)/ldscript.ld index 84391b18d2..49c9d15c19 100644 --- a/variants/STM32F0xx/F091VBT_F091VC(H-T)/ldscript.ld +++ b/variants/STM32F0xx/F091VBT_F091VC(H-T)/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F098CC(T-U)/ldscript.ld b/variants/STM32F0xx/F098CC(T-U)/ldscript.ld index 202c2e2fc2..d27e470b53 100644 --- a/variants/STM32F0xx/F098CC(T-U)/ldscript.ld +++ b/variants/STM32F0xx/F098CC(T-U)/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F098RC(H-T-Y)/ldscript.ld b/variants/STM32F0xx/F098RC(H-T-Y)/ldscript.ld index 6ffb61061d..30bcf156db 100644 --- a/variants/STM32F0xx/F098RC(H-T-Y)/ldscript.ld +++ b/variants/STM32F0xx/F098RC(H-T-Y)/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F0xx/F098VC(H-T)/ldscript.ld b/variants/STM32F0xx/F098VC(H-T)/ldscript.ld index e267d8eb15..57396f70dd 100644 --- a/variants/STM32F0xx/F098VC(H-T)/ldscript.ld +++ b/variants/STM32F0xx/F098VC(H-T)/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F1xx/F100C(4-6)T/ldscript.ld b/variants/STM32F1xx/F100C(4-6)T/ldscript.ld index 3794e6fa63..ff374a02af 100644 --- a/variants/STM32F1xx/F100C(4-6)T/ldscript.ld +++ b/variants/STM32F1xx/F100C(4-6)T/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F1xx/F100C(8-B)T/ldscript.ld b/variants/STM32F1xx/F100C(8-B)T/ldscript.ld index 65c0650442..64d663baae 100644 --- a/variants/STM32F1xx/F100C(8-B)T/ldscript.ld +++ b/variants/STM32F1xx/F100C(8-B)T/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F1xx/F100R(4-6)H/ldscript.ld b/variants/STM32F1xx/F100R(4-6)H/ldscript.ld index 0686d72d0c..79e7a2ad86 100644 --- a/variants/STM32F1xx/F100R(4-6)H/ldscript.ld +++ b/variants/STM32F1xx/F100R(4-6)H/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F1xx/F100R(8-B)T/ldscript.ld b/variants/STM32F1xx/F100R(8-B)T/ldscript.ld index 9e94fb2640..249d9b3263 100644 --- a/variants/STM32F1xx/F100R(8-B)T/ldscript.ld +++ b/variants/STM32F1xx/F100R(8-B)T/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F1xx/F100V(8-B)T/ldscript.ld b/variants/STM32F1xx/F100V(8-B)T/ldscript.ld index d125adc33e..f9e200d1f4 100644 --- a/variants/STM32F1xx/F100V(8-B)T/ldscript.ld +++ b/variants/STM32F1xx/F100V(8-B)T/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F1xx/F100Z(C-D-E)T/ldscript.ld b/variants/STM32F1xx/F100Z(C-D-E)T/ldscript.ld index ada78c24bc..098ed02189 100644 --- a/variants/STM32F1xx/F100Z(C-D-E)T/ldscript.ld +++ b/variants/STM32F1xx/F100Z(C-D-E)T/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F1xx/F101C(4-6)T/ldscript.ld b/variants/STM32F1xx/F101C(4-6)T/ldscript.ld index 3b34bbc9de..d01c63f099 100644 --- a/variants/STM32F1xx/F101C(4-6)T/ldscript.ld +++ b/variants/STM32F1xx/F101C(4-6)T/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F1xx/F101R(4-6)T/ldscript.ld b/variants/STM32F1xx/F101R(4-6)T/ldscript.ld index c10c23f131..822419cb9d 100644 --- a/variants/STM32F1xx/F101R(4-6)T/ldscript.ld +++ b/variants/STM32F1xx/F101R(4-6)T/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F1xx/F101T(4-6)U/ldscript.ld b/variants/STM32F1xx/F101T(4-6)U/ldscript.ld index 02e0603495..bb80a23524 100644 --- a/variants/STM32F1xx/F101T(4-6)U/ldscript.ld +++ b/variants/STM32F1xx/F101T(4-6)U/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F1xx/F101V(8-B)T/ldscript.ld b/variants/STM32F1xx/F101V(8-B)T/ldscript.ld index b1a67b027b..70bbe7415c 100644 --- a/variants/STM32F1xx/F101V(8-B)T/ldscript.ld +++ b/variants/STM32F1xx/F101V(8-B)T/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F1xx/F101Z(C-D-E)T/ldscript.ld b/variants/STM32F1xx/F101Z(C-D-E)T/ldscript.ld index 10cad8562f..a10aa1989d 100644 --- a/variants/STM32F1xx/F101Z(C-D-E)T/ldscript.ld +++ b/variants/STM32F1xx/F101Z(C-D-E)T/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F1xx/F103C4T_F103C6(T-U)/ldscript.ld b/variants/STM32F1xx/F103C4T_F103C6(T-U)/ldscript.ld index db2f6b2110..9b1a232cb5 100644 --- a/variants/STM32F1xx/F103C4T_F103C6(T-U)/ldscript.ld +++ b/variants/STM32F1xx/F103C4T_F103C6(T-U)/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F1xx/F103C8T_F103CB(T-U)/ldscript.ld b/variants/STM32F1xx/F103C8T_F103CB(T-U)/ldscript.ld index 22ddd0a38c..dd375c1a9b 100644 --- a/variants/STM32F1xx/F103C8T_F103CB(T-U)/ldscript.ld +++ b/variants/STM32F1xx/F103C8T_F103CB(T-U)/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F1xx/F103R(4-6)H/ldscript.ld b/variants/STM32F1xx/F103R(4-6)H/ldscript.ld index db2f6b2110..9b1a232cb5 100644 --- a/variants/STM32F1xx/F103R(4-6)H/ldscript.ld +++ b/variants/STM32F1xx/F103R(4-6)H/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F1xx/F103R(4-6)T/ldscript.ld b/variants/STM32F1xx/F103R(4-6)T/ldscript.ld index db2f6b2110..9b1a232cb5 100644 --- a/variants/STM32F1xx/F103R(4-6)T/ldscript.ld +++ b/variants/STM32F1xx/F103R(4-6)T/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F1xx/F103R(8-B)H/ldscript.ld b/variants/STM32F1xx/F103R(8-B)H/ldscript.ld index db2f6b2110..9b1a232cb5 100644 --- a/variants/STM32F1xx/F103R(8-B)H/ldscript.ld +++ b/variants/STM32F1xx/F103R(8-B)H/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F1xx/F103R(8-B)T/ldscript.ld b/variants/STM32F1xx/F103R(8-B)T/ldscript.ld index db2f6b2110..9b1a232cb5 100644 --- a/variants/STM32F1xx/F103R(8-B)T/ldscript.ld +++ b/variants/STM32F1xx/F103R(8-B)T/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F1xx/F103R(C-D-E)T/ldscript.ld b/variants/STM32F1xx/F103R(C-D-E)T/ldscript.ld index db2f6b2110..9b1a232cb5 100644 --- a/variants/STM32F1xx/F103R(C-D-E)T/ldscript.ld +++ b/variants/STM32F1xx/F103R(C-D-E)T/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F1xx/F103R(C-D-E)Y/ldscript.ld b/variants/STM32F1xx/F103R(C-D-E)Y/ldscript.ld index db2f6b2110..9b1a232cb5 100644 --- a/variants/STM32F1xx/F103R(C-D-E)Y/ldscript.ld +++ b/variants/STM32F1xx/F103R(C-D-E)Y/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F1xx/F103R(F-G)T/ldscript.ld b/variants/STM32F1xx/F103R(F-G)T/ldscript.ld index db2f6b2110..9b1a232cb5 100644 --- a/variants/STM32F1xx/F103R(F-G)T/ldscript.ld +++ b/variants/STM32F1xx/F103R(F-G)T/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F1xx/F103T(4-6)U/ldscript.ld b/variants/STM32F1xx/F103T(4-6)U/ldscript.ld index db2f6b2110..9b1a232cb5 100644 --- a/variants/STM32F1xx/F103T(4-6)U/ldscript.ld +++ b/variants/STM32F1xx/F103T(4-6)U/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F1xx/F103T(8-B)U/ldscript.ld b/variants/STM32F1xx/F103T(8-B)U/ldscript.ld index db2f6b2110..9b1a232cb5 100644 --- a/variants/STM32F1xx/F103T(8-B)U/ldscript.ld +++ b/variants/STM32F1xx/F103T(8-B)U/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F1xx/F103V(C-D-E)(H-T)/ldscript.ld b/variants/STM32F1xx/F103V(C-D-E)(H-T)/ldscript.ld index db2f6b2110..9b1a232cb5 100644 --- a/variants/STM32F1xx/F103V(C-D-E)(H-T)/ldscript.ld +++ b/variants/STM32F1xx/F103V(C-D-E)(H-T)/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F1xx/F103V(F-G)T/ldscript.ld b/variants/STM32F1xx/F103V(F-G)T/ldscript.ld index db2f6b2110..9b1a232cb5 100644 --- a/variants/STM32F1xx/F103V(F-G)T/ldscript.ld +++ b/variants/STM32F1xx/F103V(F-G)T/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F1xx/F103V8(H-T)_F103VB(H-I-T)/ldscript.ld b/variants/STM32F1xx/F103V8(H-T)_F103VB(H-I-T)/ldscript.ld index db2f6b2110..9b1a232cb5 100644 --- a/variants/STM32F1xx/F103V8(H-T)_F103VB(H-I-T)/ldscript.ld +++ b/variants/STM32F1xx/F103V8(H-T)_F103VB(H-I-T)/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F1xx/F103Z(C-D-E)(H-T)/ldscript.ld b/variants/STM32F1xx/F103Z(C-D-E)(H-T)/ldscript.ld index db2f6b2110..9b1a232cb5 100644 --- a/variants/STM32F1xx/F103Z(C-D-E)(H-T)/ldscript.ld +++ b/variants/STM32F1xx/F103Z(C-D-E)(H-T)/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F1xx/F103Z(F-G)(H-T)/ldscript.ld b/variants/STM32F1xx/F103Z(F-G)(H-T)/ldscript.ld index db2f6b2110..9b1a232cb5 100644 --- a/variants/STM32F1xx/F103Z(F-G)(H-T)/ldscript.ld +++ b/variants/STM32F1xx/F103Z(F-G)(H-T)/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F2xx/F205RE(T-Y)_F205R(B-C-F)T_F205RG(E-T-Y)_F215R(E-G)T/ldscript.ld b/variants/STM32F2xx/F205RE(T-Y)_F205R(B-C-F)T_F205RG(E-T-Y)_F215R(E-G)T/ldscript.ld index 841f1efb96..52792b87f4 100644 --- a/variants/STM32F2xx/F205RE(T-Y)_F205R(B-C-F)T_F205RG(E-T-Y)_F215R(E-G)T/ldscript.ld +++ b/variants/STM32F2xx/F205RE(T-Y)_F205R(B-C-F)T_F205RG(E-T-Y)_F215R(E-G)T/ldscript.ld @@ -87,13 +87,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -101,7 +101,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -120,7 +120,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F2xx/F205V(B-C-E-F-G)T_F215V(E-G)T/ldscript.ld b/variants/STM32F2xx/F205V(B-C-E-F-G)T_F215V(E-G)T/ldscript.ld index 9ed028a7fd..ac984f3d9e 100644 --- a/variants/STM32F2xx/F205V(B-C-E-F-G)T_F215V(E-G)T/ldscript.ld +++ b/variants/STM32F2xx/F205V(B-C-E-F-G)T_F215V(E-G)T/ldscript.ld @@ -87,13 +87,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -101,7 +101,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -120,7 +120,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F2xx/F205Z(C-E-F-G)T_F215Z(E-G)T/ldscript.ld b/variants/STM32F2xx/F205Z(C-E-F-G)T_F215Z(E-G)T/ldscript.ld index fc5e524605..b35a0b7a9d 100644 --- a/variants/STM32F2xx/F205Z(C-E-F-G)T_F215Z(E-G)T/ldscript.ld +++ b/variants/STM32F2xx/F205Z(C-E-F-G)T_F215Z(E-G)T/ldscript.ld @@ -87,13 +87,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -101,7 +101,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -120,7 +120,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F2xx/F207I(C-E-F-G)(H-T)_F217I(E-G)(H-T)/ldscript.ld b/variants/STM32F2xx/F207I(C-E-F-G)(H-T)_F217I(E-G)(H-T)/ldscript.ld index f81dcef83c..60c0f1bd5a 100644 --- a/variants/STM32F2xx/F207I(C-E-F-G)(H-T)_F217I(E-G)(H-T)/ldscript.ld +++ b/variants/STM32F2xx/F207I(C-E-F-G)(H-T)_F217I(E-G)(H-T)/ldscript.ld @@ -87,13 +87,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -101,7 +101,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -120,7 +120,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F2xx/F207V(C-E-F-G)T_F217V(E-G)T/ldscript.ld b/variants/STM32F2xx/F207V(C-E-F-G)T_F217V(E-G)T/ldscript.ld index 3ade4112d4..151bd43053 100644 --- a/variants/STM32F2xx/F207V(C-E-F-G)T_F217V(E-G)T/ldscript.ld +++ b/variants/STM32F2xx/F207V(C-E-F-G)T_F217V(E-G)T/ldscript.ld @@ -87,13 +87,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -101,7 +101,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -120,7 +120,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F2xx/F207Z(C-E-F-G)T_F217Z(E-G)T/ldscript.ld b/variants/STM32F2xx/F207Z(C-E-F-G)T_F217Z(E-G)T/ldscript.ld index 016c9bb259..1179a516dd 100644 --- a/variants/STM32F2xx/F207Z(C-E-F-G)T_F217Z(E-G)T/ldscript.ld +++ b/variants/STM32F2xx/F207Z(C-E-F-G)T_F217Z(E-G)T/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F3xx/F301C6T_F301C8(T-Y)/ldscript.ld b/variants/STM32F3xx/F301C6T_F301C8(T-Y)/ldscript.ld index df51a97351..4b682686a4 100644 --- a/variants/STM32F3xx/F301C6T_F301C8(T-Y)/ldscript.ld +++ b/variants/STM32F3xx/F301C6T_F301C8(T-Y)/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F3xx/F301K(6-8)T/ldscript.ld b/variants/STM32F3xx/F301K(6-8)T/ldscript.ld index 2a9f9e1d54..fc6a89c575 100644 --- a/variants/STM32F3xx/F301K(6-8)T/ldscript.ld +++ b/variants/STM32F3xx/F301K(6-8)T/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F3xx/F301R(6-8)T/ldscript.ld b/variants/STM32F3xx/F301R(6-8)T/ldscript.ld index 1f9a61996c..a100b00790 100644 --- a/variants/STM32F3xx/F301R(6-8)T/ldscript.ld +++ b/variants/STM32F3xx/F301R(6-8)T/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F3xx/F302R(6-8)T/ldscript.ld b/variants/STM32F3xx/F302R(6-8)T/ldscript.ld index 66897d7f47..9998fb44b6 100644 --- a/variants/STM32F3xx/F302R(6-8)T/ldscript.ld +++ b/variants/STM32F3xx/F302R(6-8)T/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F3xx/F303C(6-8)T_F334C(4-6-8)T/ldscript.ld b/variants/STM32F3xx/F303C(6-8)T_F334C(4-6-8)T/ldscript.ld index 8ef5741629..596e1c4cd5 100644 --- a/variants/STM32F3xx/F303C(6-8)T_F334C(4-6-8)T/ldscript.ld +++ b/variants/STM32F3xx/F303C(6-8)T_F334C(4-6-8)T/ldscript.ld @@ -87,13 +87,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -101,7 +101,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -120,7 +120,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F3xx/F303C(B-C)T/ldscript.ld b/variants/STM32F3xx/F303C(B-C)T/ldscript.ld index b3aaf42ad4..00de43af6c 100644 --- a/variants/STM32F3xx/F303C(B-C)T/ldscript.ld +++ b/variants/STM32F3xx/F303C(B-C)T/ldscript.ld @@ -79,13 +79,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -93,7 +93,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -102,7 +102,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -112,7 +112,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F3xx/F303K(6-8)T_F334K(4-6-8)T/ldscript.ld b/variants/STM32F3xx/F303K(6-8)T_F334K(4-6-8)T/ldscript.ld index cee35270a6..88a1d6f92b 100644 --- a/variants/STM32F3xx/F303K(6-8)T_F334K(4-6-8)T/ldscript.ld +++ b/variants/STM32F3xx/F303K(6-8)T_F334K(4-6-8)T/ldscript.ld @@ -79,13 +79,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -93,7 +93,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -102,7 +102,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -112,7 +112,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F3xx/F303R(6-8)T_F334R(6-8)T/ldscript.ld b/variants/STM32F3xx/F303R(6-8)T_F334R(6-8)T/ldscript.ld index 28951f90d9..97c245e55c 100644 --- a/variants/STM32F3xx/F303R(6-8)T_F334R(6-8)T/ldscript.ld +++ b/variants/STM32F3xx/F303R(6-8)T_F334R(6-8)T/ldscript.ld @@ -87,13 +87,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -101,7 +101,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -120,7 +120,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F3xx/F303R(B-C)T/ldscript.ld b/variants/STM32F3xx/F303R(B-C)T/ldscript.ld index 335c828f91..895cb235eb 100644 --- a/variants/STM32F3xx/F303R(B-C)T/ldscript.ld +++ b/variants/STM32F3xx/F303R(B-C)T/ldscript.ld @@ -79,13 +79,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -93,7 +93,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -102,7 +102,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -112,7 +112,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F3xx/F303R(D-E)T/ldscript.ld b/variants/STM32F3xx/F303R(D-E)T/ldscript.ld index a4382dbaef..7f3ea92e0d 100644 --- a/variants/STM32F3xx/F303R(D-E)T/ldscript.ld +++ b/variants/STM32F3xx/F303R(D-E)T/ldscript.ld @@ -79,13 +79,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -93,7 +93,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -102,7 +102,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -112,7 +112,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F3xx/F303V(B-C)T/ldscript.ld b/variants/STM32F3xx/F303V(B-C)T/ldscript.ld index e7d1209d77..5de2e93578 100644 --- a/variants/STM32F3xx/F303V(B-C)T/ldscript.ld +++ b/variants/STM32F3xx/F303V(B-C)T/ldscript.ld @@ -79,13 +79,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -93,7 +93,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -102,7 +102,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -112,7 +112,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F3xx/F318C8(T-Y)/ldscript.ld b/variants/STM32F3xx/F318C8(T-Y)/ldscript.ld index 2d333ef927..d3f8ae17cc 100644 --- a/variants/STM32F3xx/F318C8(T-Y)/ldscript.ld +++ b/variants/STM32F3xx/F318C8(T-Y)/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F3xx/F318K8U/ldscript.ld b/variants/STM32F3xx/F318K8U/ldscript.ld index 2fdaf3365b..5ee545cc08 100644 --- a/variants/STM32F3xx/F318K8U/ldscript.ld +++ b/variants/STM32F3xx/F318K8U/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F3xx/F328C8T/ldscript.ld b/variants/STM32F3xx/F328C8T/ldscript.ld index 51cd4bd082..b4566d41d1 100644 --- a/variants/STM32F3xx/F328C8T/ldscript.ld +++ b/variants/STM32F3xx/F328C8T/ldscript.ld @@ -87,13 +87,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -101,7 +101,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -120,7 +120,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F3xx/F358CCT/ldscript.ld b/variants/STM32F3xx/F358CCT/ldscript.ld index 3b7732a4f1..79e9d89239 100644 --- a/variants/STM32F3xx/F358CCT/ldscript.ld +++ b/variants/STM32F3xx/F358CCT/ldscript.ld @@ -87,13 +87,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -101,7 +101,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -120,7 +120,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F3xx/F358RCT/ldscript.ld b/variants/STM32F3xx/F358RCT/ldscript.ld index 712aa83285..173380086b 100644 --- a/variants/STM32F3xx/F358RCT/ldscript.ld +++ b/variants/STM32F3xx/F358RCT/ldscript.ld @@ -87,13 +87,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -101,7 +101,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -120,7 +120,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F3xx/F358VCT/ldscript.ld b/variants/STM32F3xx/F358VCT/ldscript.ld index f5799603db..bf5e152425 100644 --- a/variants/STM32F3xx/F358VCT/ldscript.ld +++ b/variants/STM32F3xx/F358VCT/ldscript.ld @@ -87,13 +87,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -101,7 +101,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -120,7 +120,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F3xx/F378CCT/ldscript.ld b/variants/STM32F3xx/F378CCT/ldscript.ld index 0dcf2b4fbc..c92f6ca559 100644 --- a/variants/STM32F3xx/F378CCT/ldscript.ld +++ b/variants/STM32F3xx/F378CCT/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F3xx/F378RC(T-Y)/ldscript.ld b/variants/STM32F3xx/F378RC(T-Y)/ldscript.ld index 98aed6840f..5609b7fce5 100644 --- a/variants/STM32F3xx/F378RC(T-Y)/ldscript.ld +++ b/variants/STM32F3xx/F378RC(T-Y)/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F3xx/F378VC(H-T)/ldscript.ld b/variants/STM32F3xx/F378VC(H-T)/ldscript.ld index b829cd5a57..16497fdcb0 100644 --- a/variants/STM32F3xx/F378VC(H-T)/ldscript.ld +++ b/variants/STM32F3xx/F378VC(H-T)/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F3xx/F398VET/ldscript.ld b/variants/STM32F3xx/F398VET/ldscript.ld index 35ad4f2232..33fc5dd832 100644 --- a/variants/STM32F3xx/F398VET/ldscript.ld +++ b/variants/STM32F3xx/F398VET/ldscript.ld @@ -87,13 +87,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -101,7 +101,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -120,7 +120,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F4xx/F401CC(F-U-Y)_F401C(B-D-E)(U-Y)/ldscript.ld b/variants/STM32F4xx/F401CC(F-U-Y)_F401C(B-D-E)(U-Y)/ldscript.ld index 0805b7ecd0..b09933e2ed 100644 --- a/variants/STM32F4xx/F401CC(F-U-Y)_F401C(B-D-E)(U-Y)/ldscript.ld +++ b/variants/STM32F4xx/F401CC(F-U-Y)_F401C(B-D-E)(U-Y)/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F4xx/F401R(B-C-D-E)T/ldscript.ld b/variants/STM32F4xx/F401R(B-C-D-E)T/ldscript.ld index a0ab41f631..40e209cc42 100644 --- a/variants/STM32F4xx/F401R(B-C-D-E)T/ldscript.ld +++ b/variants/STM32F4xx/F401R(B-C-D-E)T/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F4xx/F401V(B-C-D-E)T/ldscript.ld b/variants/STM32F4xx/F401V(B-C-D-E)T/ldscript.ld index 958c348ebc..93f9eaf3e7 100644 --- a/variants/STM32F4xx/F401V(B-C-D-E)T/ldscript.ld +++ b/variants/STM32F4xx/F401V(B-C-D-E)T/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F4xx/F405RGT_F415RGT/ldscript.ld b/variants/STM32F4xx/F405RGT_F415RGT/ldscript.ld index 6eac167e66..5f0634ab4d 100644 --- a/variants/STM32F4xx/F405RGT_F415RGT/ldscript.ld +++ b/variants/STM32F4xx/F405RGT_F415RGT/ldscript.ld @@ -79,13 +79,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -93,7 +93,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -102,7 +102,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -112,7 +112,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F4xx/F407V(E-G)T_F417V(E-G)T/ldscript.ld b/variants/STM32F4xx/F407V(E-G)T_F417V(E-G)T/ldscript.ld index a088ea0818..3d20142622 100644 --- a/variants/STM32F4xx/F407V(E-G)T_F417V(E-G)T/ldscript.ld +++ b/variants/STM32F4xx/F407V(E-G)T_F417V(E-G)T/ldscript.ld @@ -79,13 +79,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -93,7 +93,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -102,7 +102,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -112,7 +112,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F4xx/F407Z(E-G)T_F417Z(E-G)T/ldscript.ld b/variants/STM32F4xx/F407Z(E-G)T_F417Z(E-G)T/ldscript.ld index 0805f6c9f8..917a467f16 100644 --- a/variants/STM32F4xx/F407Z(E-G)T_F417Z(E-G)T/ldscript.ld +++ b/variants/STM32F4xx/F407Z(E-G)T_F417Z(E-G)T/ldscript.ld @@ -79,13 +79,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -93,7 +93,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -102,7 +102,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -112,7 +112,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F4xx/F410C(8-B)T/ldscript.ld b/variants/STM32F4xx/F410C(8-B)T/ldscript.ld index caebb69ff3..85a2f1a240 100644 --- a/variants/STM32F4xx/F410C(8-B)T/ldscript.ld +++ b/variants/STM32F4xx/F410C(8-B)T/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F4xx/F410C(8-B)U/ldscript.ld b/variants/STM32F4xx/F410C(8-B)U/ldscript.ld index 4fc02feb62..2f6ef789f7 100644 --- a/variants/STM32F4xx/F410C(8-B)U/ldscript.ld +++ b/variants/STM32F4xx/F410C(8-B)U/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F4xx/F410R(8-B)(I-T)/ldscript.ld b/variants/STM32F4xx/F410R(8-B)(I-T)/ldscript.ld index 7fa7b9d147..e54bb417b4 100644 --- a/variants/STM32F4xx/F410R(8-B)(I-T)/ldscript.ld +++ b/variants/STM32F4xx/F410R(8-B)(I-T)/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F4xx/F410T(8-B)Y/ldscript.ld b/variants/STM32F4xx/F410T(8-B)Y/ldscript.ld index b87aa0331a..0b724a4ec5 100644 --- a/variants/STM32F4xx/F410T(8-B)Y/ldscript.ld +++ b/variants/STM32F4xx/F410T(8-B)Y/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F4xx/F411C(C-E)(U-Y)/ldscript.ld b/variants/STM32F4xx/F411C(C-E)(U-Y)/ldscript.ld index a9cf32746e..c05c7eee1b 100644 --- a/variants/STM32F4xx/F411C(C-E)(U-Y)/ldscript.ld +++ b/variants/STM32F4xx/F411C(C-E)(U-Y)/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F4xx/F411R(C-E)T/ldscript.ld b/variants/STM32F4xx/F411R(C-E)T/ldscript.ld index cf402ba858..451a91e2f9 100644 --- a/variants/STM32F4xx/F411R(C-E)T/ldscript.ld +++ b/variants/STM32F4xx/F411R(C-E)T/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F4xx/F412C(E-G)U/ldscript.ld b/variants/STM32F4xx/F412C(E-G)U/ldscript.ld index c7ae43b64e..cc54534f65 100644 --- a/variants/STM32F4xx/F412C(E-G)U/ldscript.ld +++ b/variants/STM32F4xx/F412C(E-G)U/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F4xx/F412R(E-G)(T-Y)x(P)/ldscript.ld b/variants/STM32F4xx/F412R(E-G)(T-Y)x(P)/ldscript.ld index 4479623934..836c3fb565 100644 --- a/variants/STM32F4xx/F412R(E-G)(T-Y)x(P)/ldscript.ld +++ b/variants/STM32F4xx/F412R(E-G)(T-Y)x(P)/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F4xx/F412Z(E-G)(J-T)/ldscript.ld b/variants/STM32F4xx/F412Z(E-G)(J-T)/ldscript.ld index 545b6e13c4..2fc969ab73 100644 --- a/variants/STM32F4xx/F412Z(E-G)(J-T)/ldscript.ld +++ b/variants/STM32F4xx/F412Z(E-G)(J-T)/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F4xx/F413C(G-H)U_F423CHU/ldscript.ld b/variants/STM32F4xx/F413C(G-H)U_F423CHU/ldscript.ld index 3ffd0458b8..c147dc414d 100644 --- a/variants/STM32F4xx/F413C(G-H)U_F423CHU/ldscript.ld +++ b/variants/STM32F4xx/F413C(G-H)U_F423CHU/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F4xx/F413R(G-H)T_F423RHT/ldscript.ld b/variants/STM32F4xx/F413R(G-H)T_F423RHT/ldscript.ld index 2e23864e30..d918e66177 100644 --- a/variants/STM32F4xx/F413R(G-H)T_F423RHT/ldscript.ld +++ b/variants/STM32F4xx/F413R(G-H)T_F423RHT/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F4xx/F413Z(G-H)(J-T)_F423ZH(J-T)/ldscript.ld b/variants/STM32F4xx/F413Z(G-H)(J-T)_F423ZH(J-T)/ldscript.ld index 233754adcc..7de9fcd16e 100644 --- a/variants/STM32F4xx/F413Z(G-H)(J-T)_F423ZH(J-T)/ldscript.ld +++ b/variants/STM32F4xx/F413Z(G-H)(J-T)_F423ZH(J-T)/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F4xx/F427Z(G-I)T_F429ZET_F429Z(G-I)(T-Y)_F437Z(G-I)T_F439Z(G-I)(T-Y)/ldscript.ld b/variants/STM32F4xx/F427Z(G-I)T_F429ZET_F429Z(G-I)(T-Y)_F437Z(G-I)T_F439Z(G-I)(T-Y)/ldscript.ld index a35904e77d..11b43bfa21 100644 --- a/variants/STM32F4xx/F427Z(G-I)T_F429ZET_F429Z(G-I)(T-Y)_F437Z(G-I)T_F439Z(G-I)(T-Y)/ldscript.ld +++ b/variants/STM32F4xx/F427Z(G-I)T_F429ZET_F429Z(G-I)(T-Y)_F437Z(G-I)T_F439Z(G-I)(T-Y)/ldscript.ld @@ -79,13 +79,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -93,7 +93,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -102,7 +102,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -112,7 +112,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F4xx/F446R(C-E)T/ldscript.ld b/variants/STM32F4xx/F446R(C-E)T/ldscript.ld index 11e2205114..16166d6ced 100644 --- a/variants/STM32F4xx/F446R(C-E)T/ldscript.ld +++ b/variants/STM32F4xx/F446R(C-E)T/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F4xx/F446V(C-E)T/ldscript.ld b/variants/STM32F4xx/F446V(C-E)T/ldscript.ld index 785dfa51c7..9bddb3165c 100644 --- a/variants/STM32F4xx/F446V(C-E)T/ldscript.ld +++ b/variants/STM32F4xx/F446V(C-E)T/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F4xx/F446Z(C-E)(H-J-T)/ldscript.ld b/variants/STM32F4xx/F446Z(C-E)(H-J-T)/ldscript.ld index e1c9c38967..51da07f473 100644 --- a/variants/STM32F4xx/F446Z(C-E)(H-J-T)/ldscript.ld +++ b/variants/STM32F4xx/F446Z(C-E)(H-J-T)/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F7xx/F722R(C-E)T_F730R8T_F732RET/ldscript.ld b/variants/STM32F7xx/F722R(C-E)T_F730R8T_F732RET/ldscript.ld index d2d7f70bb9..f35a7166d2 100644 --- a/variants/STM32F7xx/F722R(C-E)T_F730R8T_F732RET/ldscript.ld +++ b/variants/STM32F7xx/F722R(C-E)T_F730R8T_F732RET/ldscript.ld @@ -84,13 +84,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -98,7 +98,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -107,7 +107,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -117,7 +117,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F7xx/F722Z(C-E)T_F732ZET/ldscript.ld b/variants/STM32F7xx/F722Z(C-E)T_F732ZET/ldscript.ld index aacef03417..596474a3a1 100644 --- a/variants/STM32F7xx/F722Z(C-E)T_F732ZET/ldscript.ld +++ b/variants/STM32F7xx/F722Z(C-E)T_F732ZET/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F7xx/F723I(C-E)(K-T)_F730I8K_F733IE(K-T)/ldscript.ld b/variants/STM32F7xx/F723I(C-E)(K-T)_F730I8K_F733IE(K-T)/ldscript.ld index b1bb71f37f..687bc712bd 100644 --- a/variants/STM32F7xx/F723I(C-E)(K-T)_F730I8K_F733IE(K-T)/ldscript.ld +++ b/variants/STM32F7xx/F723I(C-E)(K-T)_F730I8K_F733IE(K-T)/ldscript.ld @@ -83,13 +83,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -97,7 +97,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -106,7 +106,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -116,7 +116,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F7xx/F745Z(E-G)T_F746Z(E-G)(T-Y)_F750Z8T_F756ZG(T-Y)/ldscript.ld b/variants/STM32F7xx/F745Z(E-G)T_F746Z(E-G)(T-Y)_F750Z8T_F756ZG(T-Y)/ldscript.ld index a48a3304f8..3af13e061b 100644 --- a/variants/STM32F7xx/F745Z(E-G)T_F746Z(E-G)(T-Y)_F750Z8T_F756ZG(T-Y)/ldscript.ld +++ b/variants/STM32F7xx/F745Z(E-G)T_F746Z(E-G)(T-Y)_F750Z8T_F756ZG(T-Y)/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F7xx/F746B(E-G)T_F746N(E-G)H_F750N8H_F756BGT_F756NGH/ldscript.ld b/variants/STM32F7xx/F746B(E-G)T_F746N(E-G)H_F750N8H_F756BGT_F756NGH/ldscript.ld index fe77c5c536..87f4953668 100644 --- a/variants/STM32F7xx/F746B(E-G)T_F746N(E-G)H_F750N8H_F756BGT_F756NGH/ldscript.ld +++ b/variants/STM32F7xx/F746B(E-G)T_F746N(E-G)H_F750N8H_F756BGT_F756NGH/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F7xx/F765I(G-I)(K-T)_F767I(G-I)(K-T)_F777II(K-T)/ldscript.ld b/variants/STM32F7xx/F765I(G-I)(K-T)_F767I(G-I)(K-T)_F777II(K-T)/ldscript.ld index 953bbdadaf..b0ca66ee9a 100644 --- a/variants/STM32F7xx/F765I(G-I)(K-T)_F767I(G-I)(K-T)_F777II(K-T)/ldscript.ld +++ b/variants/STM32F7xx/F765I(G-I)(K-T)_F767I(G-I)(K-T)_F777II(K-T)/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F7xx/F765V(G-I)(H-T)_F767V(G-I)(H-T)_F777VI(H-T)/ldscript.ld b/variants/STM32F7xx/F765V(G-I)(H-T)_F767V(G-I)(H-T)_F777VI(H-T)/ldscript.ld index a0e71e0376..312365f0e4 100644 --- a/variants/STM32F7xx/F765V(G-I)(H-T)_F767V(G-I)(H-T)_F777VI(H-T)/ldscript.ld +++ b/variants/STM32F7xx/F765V(G-I)(H-T)_F767V(G-I)(H-T)_F777VI(H-T)/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32F7xx/F765Z(G-I)T_F767Z(G-I)T_F777ZIT/ldscript.ld b/variants/STM32F7xx/F765Z(G-I)T_F767Z(G-I)T_F777ZIT/ldscript.ld index 6288f802e1..f0c0cc760b 100644 --- a/variants/STM32F7xx/F765Z(G-I)T_F767Z(G-I)T_F777ZIT/ldscript.ld +++ b/variants/STM32F7xx/F765Z(G-I)T_F767Z(G-I)T_F777ZIT/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G0xx/G030C(6-8)T/ldscript.ld b/variants/STM32G0xx/G030C(6-8)T/ldscript.ld index e9be99f99d..4b13905208 100644 --- a/variants/STM32G0xx/G030C(6-8)T/ldscript.ld +++ b/variants/STM32G0xx/G030C(6-8)T/ldscript.ld @@ -86,13 +86,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -109,7 +109,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -119,7 +119,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G0xx/G030F6P/ldscript.ld b/variants/STM32G0xx/G030F6P/ldscript.ld index 58a95c4fdb..b467f99d0d 100644 --- a/variants/STM32G0xx/G030F6P/ldscript.ld +++ b/variants/STM32G0xx/G030F6P/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G0xx/G030J6M/ldscript.ld b/variants/STM32G0xx/G030J6M/ldscript.ld index 1dfd35f111..44169ff809 100644 --- a/variants/STM32G0xx/G030J6M/ldscript.ld +++ b/variants/STM32G0xx/G030J6M/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G0xx/G030K(6-8)T/ldscript.ld b/variants/STM32G0xx/G030K(6-8)T/ldscript.ld index 9cc19d2e60..59a718e7f1 100644 --- a/variants/STM32G0xx/G030K(6-8)T/ldscript.ld +++ b/variants/STM32G0xx/G030K(6-8)T/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G0xx/G031C(4-6-8)(T-U)_G041C(6-8)(T-U)/ldscript.ld b/variants/STM32G0xx/G031C(4-6-8)(T-U)_G041C(6-8)(T-U)/ldscript.ld index 4a2deb9832..f3b836a94f 100644 --- a/variants/STM32G0xx/G031C(4-6-8)(T-U)_G041C(6-8)(T-U)/ldscript.ld +++ b/variants/STM32G0xx/G031C(4-6-8)(T-U)_G041C(6-8)(T-U)/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G0xx/G031F(4-6-8)P_G031Y8Y_G041F(6-8)P_G041Y8Y/ldscript.ld b/variants/STM32G0xx/G031F(4-6-8)P_G031Y8Y_G041F(6-8)P_G041Y8Y/ldscript.ld index 00f0115189..1626e21128 100644 --- a/variants/STM32G0xx/G031F(4-6-8)P_G031Y8Y_G041F(6-8)P_G041Y8Y/ldscript.ld +++ b/variants/STM32G0xx/G031F(4-6-8)P_G031Y8Y_G041F(6-8)P_G041Y8Y/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G0xx/G031G(4-6-8)U_G041G(6-8)U/ldscript.ld b/variants/STM32G0xx/G031G(4-6-8)U_G041G(6-8)U/ldscript.ld index 8edfc3ed26..de9293153f 100644 --- a/variants/STM32G0xx/G031G(4-6-8)U_G041G(6-8)U/ldscript.ld +++ b/variants/STM32G0xx/G031G(4-6-8)U_G041G(6-8)U/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G0xx/G031J(4-6)M_G041J6M/ldscript.ld b/variants/STM32G0xx/G031J(4-6)M_G041J6M/ldscript.ld index 687460c381..f1534fede4 100644 --- a/variants/STM32G0xx/G031J(4-6)M_G041J6M/ldscript.ld +++ b/variants/STM32G0xx/G031J(4-6)M_G041J6M/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G0xx/G031K(4-6-8)(T-U)_G041K(6-8)(T-U)/ldscript.ld b/variants/STM32G0xx/G031K(4-6-8)(T-U)_G041K(6-8)(T-U)/ldscript.ld index 826c73df80..e1125d157d 100644 --- a/variants/STM32G0xx/G031K(4-6-8)(T-U)_G041K(6-8)(T-U)/ldscript.ld +++ b/variants/STM32G0xx/G031K(4-6-8)(T-U)_G041K(6-8)(T-U)/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G0xx/G050C(6-8)T/ldscript.ld b/variants/STM32G0xx/G050C(6-8)T/ldscript.ld index 0019dea4ba..75389b956d 100644 --- a/variants/STM32G0xx/G050C(6-8)T/ldscript.ld +++ b/variants/STM32G0xx/G050C(6-8)T/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G0xx/G050F6P/ldscript.ld b/variants/STM32G0xx/G050F6P/ldscript.ld index 7422a55e86..10b7eab6fe 100644 --- a/variants/STM32G0xx/G050F6P/ldscript.ld +++ b/variants/STM32G0xx/G050F6P/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G0xx/G050K(6-8)T/ldscript.ld b/variants/STM32G0xx/G050K(6-8)T/ldscript.ld index fe6e885c85..03083e65ff 100644 --- a/variants/STM32G0xx/G050K(6-8)T/ldscript.ld +++ b/variants/STM32G0xx/G050K(6-8)T/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G0xx/G051C(6-8)(T-U)_G061C(6-8)(T-U)/ldscript.ld b/variants/STM32G0xx/G051C(6-8)(T-U)_G061C(6-8)(T-U)/ldscript.ld index 4fc9328ca5..4133380046 100644 --- a/variants/STM32G0xx/G051C(6-8)(T-U)_G061C(6-8)(T-U)/ldscript.ld +++ b/variants/STM32G0xx/G051C(6-8)(T-U)_G061C(6-8)(T-U)/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G0xx/G051F6P_G051F8(P-Y)_G061F6P_G061F8(P-Y)/ldscript.ld b/variants/STM32G0xx/G051F6P_G051F8(P-Y)_G061F6P_G061F8(P-Y)/ldscript.ld index 33d1109a11..00c784c3c9 100644 --- a/variants/STM32G0xx/G051F6P_G051F8(P-Y)_G061F6P_G061F8(P-Y)/ldscript.ld +++ b/variants/STM32G0xx/G051F6P_G051F8(P-Y)_G061F6P_G061F8(P-Y)/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G0xx/G051G(6-8)U_G061G(6-8)U/ldscript.ld b/variants/STM32G0xx/G051G(6-8)U_G061G(6-8)U/ldscript.ld index 7d801b1610..a4de273c31 100644 --- a/variants/STM32G0xx/G051G(6-8)U_G061G(6-8)U/ldscript.ld +++ b/variants/STM32G0xx/G051G(6-8)U_G061G(6-8)U/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G0xx/G051K(6-8)(T-U)_G061K(6-8)(T-U)/ldscript.ld b/variants/STM32G0xx/G051K(6-8)(T-U)_G061K(6-8)(T-U)/ldscript.ld index 0a590e71f0..eb07a8a9c9 100644 --- a/variants/STM32G0xx/G051K(6-8)(T-U)_G061K(6-8)(T-U)/ldscript.ld +++ b/variants/STM32G0xx/G051K(6-8)(T-U)_G061K(6-8)(T-U)/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G0xx/G070CBT/ldscript.ld b/variants/STM32G0xx/G070CBT/ldscript.ld index 258165dd4f..1486fbe804 100644 --- a/variants/STM32G0xx/G070CBT/ldscript.ld +++ b/variants/STM32G0xx/G070CBT/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G0xx/G070KBT/ldscript.ld b/variants/STM32G0xx/G070KBT/ldscript.ld index 3d4f5609d0..f64ec3fcc3 100644 --- a/variants/STM32G0xx/G070KBT/ldscript.ld +++ b/variants/STM32G0xx/G070KBT/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G0xx/G070RBT/ldscript.ld b/variants/STM32G0xx/G070RBT/ldscript.ld index a9baf24381..d708ae91fe 100644 --- a/variants/STM32G0xx/G070RBT/ldscript.ld +++ b/variants/STM32G0xx/G070RBT/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G0xx/G071C(6-8-B)(T-U)_G081CB(T-U)/ldscript.ld b/variants/STM32G0xx/G071C(6-8-B)(T-U)_G081CB(T-U)/ldscript.ld index 87b10ec6f3..9587a100f3 100644 --- a/variants/STM32G0xx/G071C(6-8-B)(T-U)_G081CB(T-U)/ldscript.ld +++ b/variants/STM32G0xx/G071C(6-8-B)(T-U)_G081CB(T-U)/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G0xx/G071EBY_G081EBY/ldscript.ld b/variants/STM32G0xx/G071EBY_G081EBY/ldscript.ld index c1ce1e0ebe..d0d36fa268 100644 --- a/variants/STM32G0xx/G071EBY_G081EBY/ldscript.ld +++ b/variants/STM32G0xx/G071EBY_G081EBY/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G0xx/G071G(6-8-B)U_G081GBU/ldscript.ld b/variants/STM32G0xx/G071G(6-8-B)U_G081GBU/ldscript.ld index 16ba265495..fce691cd49 100644 --- a/variants/STM32G0xx/G071G(6-8-B)U_G081GBU/ldscript.ld +++ b/variants/STM32G0xx/G071G(6-8-B)U_G081GBU/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G0xx/G071G(8-B)UxN_G081GBUxN/ldscript.ld b/variants/STM32G0xx/G071G(8-B)UxN_G081GBUxN/ldscript.ld index f32c2418eb..aad9e435c6 100644 --- a/variants/STM32G0xx/G071G(8-B)UxN_G081GBUxN/ldscript.ld +++ b/variants/STM32G0xx/G071G(8-B)UxN_G081GBUxN/ldscript.ld @@ -103,26 +103,26 @@ SECTIONS } >FLASH .ARM.extab : { *(.ARM.extab* .gnu.linkonce.armextab.*) } >FLASH - .ARM : { + .ARM (READONLY) : { __exidx_start = .; *(.ARM.exidx*) __exidx_end = .; } >FLASH - .preinit_array : + .preinit_array (READONLY) : { PROVIDE_HIDDEN (__preinit_array_start = .); KEEP (*(.preinit_array*)) PROVIDE_HIDDEN (__preinit_array_end = .); } >FLASH - .init_array : + .init_array (READONLY) : { PROVIDE_HIDDEN (__init_array_start = .); KEEP (*(SORT(.init_array.*))) KEEP (*(.init_array*)) PROVIDE_HIDDEN (__init_array_end = .); } >FLASH - .fini_array : + .fini_array (READONLY) : { PROVIDE_HIDDEN (__fini_array_start = .); KEEP (*(SORT(.fini_array.*))) @@ -134,7 +134,7 @@ SECTIONS _sidata = LOADADDR(.data); /* Initialized data sections goes into RAM, load LMA copy after code */ - .data : + .data : { . = ALIGN(4); _sdata = .; /* create a global symbol at data start */ @@ -145,7 +145,7 @@ SECTIONS _edata = .; /* define a global symbol at data end */ } >RAM AT> FLASH - + /* Uninitialized data section */ . = ALIGN(4); .bss : @@ -173,7 +173,7 @@ SECTIONS . = ALIGN(8); } >RAM - + /* Remove information from the standard libraries */ /DISCARD/ : diff --git a/variants/STM32G0xx/G071K(6-8-B)(T-U)_G081KB(T-U)/ldscript.ld b/variants/STM32G0xx/G071K(6-8-B)(T-U)_G081KB(T-U)/ldscript.ld index 1d65d9e460..cb0f770252 100644 --- a/variants/STM32G0xx/G071K(6-8-B)(T-U)_G081KB(T-U)/ldscript.ld +++ b/variants/STM32G0xx/G071K(6-8-B)(T-U)_G081KB(T-U)/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G0xx/G071R(6-8)T_G071RB(I-T)_G081RB(I-T)/ldscript.ld b/variants/STM32G0xx/G071R(6-8)T_G071RB(I-T)_G081RB(I-T)/ldscript.ld index 4222a6272a..87b2ca6795 100644 --- a/variants/STM32G0xx/G071R(6-8)T_G071RB(I-T)_G081RB(I-T)/ldscript.ld +++ b/variants/STM32G0xx/G071R(6-8)T_G071RB(I-T)_G081RB(I-T)/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G0xx/G0B0CET/ldscript.ld b/variants/STM32G0xx/G0B0CET/ldscript.ld index 5108535fbf..2a4b206985 100644 --- a/variants/STM32G0xx/G0B0CET/ldscript.ld +++ b/variants/STM32G0xx/G0B0CET/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G0xx/G0B0RET/ldscript.ld b/variants/STM32G0xx/G0B0RET/ldscript.ld index d475078239..bbba14ddf0 100644 --- a/variants/STM32G0xx/G0B0RET/ldscript.ld +++ b/variants/STM32G0xx/G0B0RET/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G0xx/G0B0VET/ldscript.ld b/variants/STM32G0xx/G0B0VET/ldscript.ld index 53552800e9..1da1884d4c 100644 --- a/variants/STM32G0xx/G0B0VET/ldscript.ld +++ b/variants/STM32G0xx/G0B0VET/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G0xx/G0B1C(B-C-E)(T-U)_G0C1C(C-E)(T-U)/ldscript.ld b/variants/STM32G0xx/G0B1C(B-C-E)(T-U)_G0C1C(C-E)(T-U)/ldscript.ld index ce97a9f4ae..dd9d97bc31 100644 --- a/variants/STM32G0xx/G0B1C(B-C-E)(T-U)_G0C1C(C-E)(T-U)/ldscript.ld +++ b/variants/STM32G0xx/G0B1C(B-C-E)(T-U)_G0C1C(C-E)(T-U)/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G0xx/G0B1K(B-C-E)(T-U)_G0C1K(C-E)(T-U)/ldscript.ld b/variants/STM32G0xx/G0B1K(B-C-E)(T-U)_G0C1K(C-E)(T-U)/ldscript.ld index df89cee1cb..3b2a1e4407 100644 --- a/variants/STM32G0xx/G0B1K(B-C-E)(T-U)_G0C1K(C-E)(T-U)/ldscript.ld +++ b/variants/STM32G0xx/G0B1K(B-C-E)(T-U)_G0C1K(C-E)(T-U)/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G0xx/G0B1M(B-C-E)T_G0C1M(C-E)T/ldscript.ld b/variants/STM32G0xx/G0B1M(B-C-E)T_G0C1M(C-E)T/ldscript.ld index 58bb455351..b7cae229f3 100644 --- a/variants/STM32G0xx/G0B1M(B-C-E)T_G0C1M(C-E)T/ldscript.ld +++ b/variants/STM32G0xx/G0B1M(B-C-E)T_G0C1M(C-E)T/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G0xx/G0B1NEY_G0C1NEY/ldscript.ld b/variants/STM32G0xx/G0B1NEY_G0C1NEY/ldscript.ld index 9436f0ea35..40216b6197 100644 --- a/variants/STM32G0xx/G0B1NEY_G0C1NEY/ldscript.ld +++ b/variants/STM32G0xx/G0B1NEY_G0C1NEY/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G0xx/G0B1R(B-C-E)T_G0C1R(C-E)T/ldscript.ld b/variants/STM32G0xx/G0B1R(B-C-E)T_G0C1R(C-E)T/ldscript.ld index 3b619b6a97..af4a0795eb 100644 --- a/variants/STM32G0xx/G0B1R(B-C-E)T_G0C1R(C-E)T/ldscript.ld +++ b/variants/STM32G0xx/G0B1R(B-C-E)T_G0C1R(C-E)T/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G0xx/G0B1V(B-C-E)(I-T)_G0C1V(C-E)(I-T)/ldscript.ld b/variants/STM32G0xx/G0B1V(B-C-E)(I-T)_G0C1V(C-E)(I-T)/ldscript.ld index 9ef7f823f0..93674cc811 100644 --- a/variants/STM32G0xx/G0B1V(B-C-E)(I-T)_G0C1V(C-E)(I-T)/ldscript.ld +++ b/variants/STM32G0xx/G0B1V(B-C-E)(I-T)_G0C1V(C-E)(I-T)/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G4xx/G431C(6-8-B)T_G441CBT/ldscript.ld b/variants/STM32G4xx/G431C(6-8-B)T_G441CBT/ldscript.ld index a1b53d35a0..ef6e84fc15 100644 --- a/variants/STM32G4xx/G431C(6-8-B)T_G441CBT/ldscript.ld +++ b/variants/STM32G4xx/G431C(6-8-B)T_G441CBT/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G4xx/G431C(6-8-B)U_G441CBU/ldscript.ld b/variants/STM32G4xx/G431C(6-8-B)U_G441CBU/ldscript.ld index f33c5dd35a..922b821582 100644 --- a/variants/STM32G4xx/G431C(6-8-B)U_G441CBU/ldscript.ld +++ b/variants/STM32G4xx/G431C(6-8-B)U_G441CBU/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G4xx/G431K(6-8-B)(T-U)_G441KB(T-U)/ldscript.ld b/variants/STM32G4xx/G431K(6-8-B)(T-U)_G441KB(T-U)/ldscript.ld index 42eef31bfc..4bfe1abe58 100644 --- a/variants/STM32G4xx/G431K(6-8-B)(T-U)_G441KB(T-U)/ldscript.ld +++ b/variants/STM32G4xx/G431K(6-8-B)(T-U)_G441KB(T-U)/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G4xx/G431M(6-8-B)T_G441MBT/ldscript.ld b/variants/STM32G4xx/G431M(6-8-B)T_G441MBT/ldscript.ld index f32a2e7982..617a86cd71 100644 --- a/variants/STM32G4xx/G431M(6-8-B)T_G441MBT/ldscript.ld +++ b/variants/STM32G4xx/G431M(6-8-B)T_G441MBT/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G4xx/G431R(6-8)(I-T)_G431RB(I-T)x(Z)_G441RB(I-T)/ldscript.ld b/variants/STM32G4xx/G431R(6-8)(I-T)_G431RB(I-T)x(Z)_G441RB(I-T)/ldscript.ld index da7d733b99..75f51a4f65 100644 --- a/variants/STM32G4xx/G431R(6-8)(I-T)_G431RB(I-T)x(Z)_G441RB(I-T)/ldscript.ld +++ b/variants/STM32G4xx/G431R(6-8)(I-T)_G431RB(I-T)x(Z)_G441RB(I-T)/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G4xx/G431V(6-8-B)T_G441VBT/ldscript.ld b/variants/STM32G4xx/G431V(6-8-B)T_G441VBT/ldscript.ld index afa44871d3..29c57ce6e8 100644 --- a/variants/STM32G4xx/G431V(6-8-B)T_G441VBT/ldscript.ld +++ b/variants/STM32G4xx/G431V(6-8-B)T_G441VBT/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G4xx/G471C(C-E)T/ldscript.ld b/variants/STM32G4xx/G471C(C-E)T/ldscript.ld index 5dc45798ab..40844b4aab 100644 --- a/variants/STM32G4xx/G471C(C-E)T/ldscript.ld +++ b/variants/STM32G4xx/G471C(C-E)T/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G4xx/G471M(C-E)T/ldscript.ld b/variants/STM32G4xx/G471M(C-E)T/ldscript.ld index d552ca64e1..2d94920d00 100644 --- a/variants/STM32G4xx/G471M(C-E)T/ldscript.ld +++ b/variants/STM32G4xx/G471M(C-E)T/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G4xx/G471Q(C-E)T/ldscript.ld b/variants/STM32G4xx/G471Q(C-E)T/ldscript.ld index 2242a813a2..408bed2f3b 100644 --- a/variants/STM32G4xx/G471Q(C-E)T/ldscript.ld +++ b/variants/STM32G4xx/G471Q(C-E)T/ldscript.ld @@ -1,13 +1,13 @@ /* ****************************************************************************** ** -** @file : LinkerScript.ld (debug in RAM dedicated) +** @file : LinkerScript.ld ** ** @author : Auto-generated by STM32CubeIDE ** -** @brief : Linker script for STM32G471QCTx Device from STM32G4 series -** 256Kbytes FLASH -** 128Kbytes RAM +** @brief : Linker script for STM32G471QETx Device from STM32G4 series +** 512KBytes FLASH +** 128KBytes RAM ** ** Set heap size, stack size and stack location according ** to application requirements. @@ -22,7 +22,7 @@ ****************************************************************************** ** @attention ** -** Copyright (c) 2022 STMicroelectronics. +** Copyright (c) 2024 STMicroelectronics. ** All rights reserved. ** ** This software is licensed under terms that can be found in the LICENSE file @@ -44,22 +44,22 @@ _Min_Stack_Size = 0x400; /* required amount of stack */ /* Memories definition */ MEMORY { - RAM (xrw) : ORIGIN = 0x20000000, LENGTH = LD_MAX_DATA_SIZE - FLASH (rx) : ORIGIN = 0x8000000 + LD_FLASH_OFFSET, LENGTH = LD_MAX_SIZE - LD_FLASH_OFFSET + RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 128K + FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 512K } /* Sections */ SECTIONS { - /* The startup code into "RAM" Ram type memory */ + /* The startup code into "FLASH" Rom type memory */ .isr_vector : { . = ALIGN(4); KEEP(*(.isr_vector)) /* Startup code */ . = ALIGN(4); - } >RAM + } >FLASH - /* The program code and other data into "RAM" Ram type memory */ + /* The program code and other data into "FLASH" Rom type memory */ .text : { . = ALIGN(4); @@ -68,49 +68,49 @@ SECTIONS *(.glue_7) /* glue arm to thumb code */ *(.glue_7t) /* glue thumb to arm code */ *(.eh_frame) - *(.RamFunc) /* .RamFunc sections */ - *(.RamFunc*) /* .RamFunc* sections */ KEEP (*(.init)) KEEP (*(.fini)) . = ALIGN(4); _etext = .; /* define a global symbols at end of code */ - } >RAM + } >FLASH - /* Constant data into "RAM" Ram type memory */ + /* Constant data into "FLASH" Rom type memory */ .rodata : { . = ALIGN(4); *(.rodata) /* .rodata sections (constants, strings, etc.) */ *(.rodata*) /* .rodata* sections (constants, strings, etc.) */ . = ALIGN(4); - } >RAM + } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : + { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); - } >RAM + } >FLASH - .ARM : { + .ARM (READONLY) : + { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) __exidx_end = .; . = ALIGN(4); - } >RAM + } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); KEEP (*(.preinit_array*)) PROVIDE_HIDDEN (__preinit_array_end = .); . = ALIGN(4); - } >RAM + } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,9 +118,9 @@ SECTIONS KEEP (*(.init_array*)) PROVIDE_HIDDEN (__init_array_end = .); . = ALIGN(4); - } >RAM + } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); @@ -128,7 +128,7 @@ SECTIONS KEEP (*(.fini_array*)) PROVIDE_HIDDEN (__fini_array_end = .); . = ALIGN(4); - } >RAM + } >FLASH /* Used by the startup to initialize data */ _sidata = LOADADDR(.data); @@ -140,11 +140,13 @@ SECTIONS _sdata = .; /* create a global symbol at data start */ *(.data) /* .data sections */ *(.data*) /* .data* sections */ + *(.RamFunc) /* .RamFunc sections */ + *(.RamFunc*) /* .RamFunc* sections */ . = ALIGN(4); _edata = .; /* define a global symbol at data end */ - } >RAM + } >RAM AT> FLASH /* Uninitialized data section into "RAM" Ram type memory */ . = ALIGN(4); diff --git a/variants/STM32G4xx/G471R(C-E)T/ldscript.ld b/variants/STM32G4xx/G471R(C-E)T/ldscript.ld index 981f26bcb6..a6fa323083 100644 --- a/variants/STM32G4xx/G471R(C-E)T/ldscript.ld +++ b/variants/STM32G4xx/G471R(C-E)T/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G4xx/G471V(C-E)(H-I-T)/ldscript.ld b/variants/STM32G4xx/G471V(C-E)(H-I-T)/ldscript.ld index ac9ec8adeb..9b32693ac9 100644 --- a/variants/STM32G4xx/G471V(C-E)(H-I-T)/ldscript.ld +++ b/variants/STM32G4xx/G471V(C-E)(H-I-T)/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G4xx/G473C(B-C-E)T_G474C(B-C-E)T_G483CET_G484CET/ldscript.ld b/variants/STM32G4xx/G473C(B-C-E)T_G474C(B-C-E)T_G483CET_G484CET/ldscript.ld index f715f98c76..deea53d0d0 100644 --- a/variants/STM32G4xx/G473C(B-C-E)T_G474C(B-C-E)T_G483CET_G484CET/ldscript.ld +++ b/variants/STM32G4xx/G473C(B-C-E)T_G474C(B-C-E)T_G483CET_G484CET/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G4xx/G473M(B-C-E)T_G474M(B-C-E)T_G483MET_G484MET/ldscript.ld b/variants/STM32G4xx/G473M(B-C-E)T_G474M(B-C-E)T_G483MET_G484MET/ldscript.ld index 6e97736e73..2c296b8750 100644 --- a/variants/STM32G4xx/G473M(B-C-E)T_G474M(B-C-E)T_G483MET_G484MET/ldscript.ld +++ b/variants/STM32G4xx/G473M(B-C-E)T_G474M(B-C-E)T_G483MET_G484MET/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G4xx/G473P(B-C-E)I_G474P(B-C-E)I_G483PEI_G484PEI/ldscript.ld b/variants/STM32G4xx/G473P(B-C-E)I_G474P(B-C-E)I_G483PEI_G484PEI/ldscript.ld index 53b52eda4a..831935e28f 100644 --- a/variants/STM32G4xx/G473P(B-C-E)I_G474P(B-C-E)I_G483PEI_G484PEI/ldscript.ld +++ b/variants/STM32G4xx/G473P(B-C-E)I_G474P(B-C-E)I_G483PEI_G484PEI/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G4xx/G473Q(B-C)T_G473QETx(Z)_G474Q(B-C-E)T_G483QET_G484QET/ldscript.ld b/variants/STM32G4xx/G473Q(B-C)T_G473QETx(Z)_G474Q(B-C-E)T_G483QET_G484QET/ldscript.ld index 573a1eae4f..92e021b394 100644 --- a/variants/STM32G4xx/G473Q(B-C)T_G473QETx(Z)_G474Q(B-C-E)T_G483QET_G484QET/ldscript.ld +++ b/variants/STM32G4xx/G473Q(B-C)T_G473QETx(Z)_G474Q(B-C-E)T_G483QET_G484QET/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G4xx/G473R(B-C)T_G473RETx(Z)_G474R(B-C-E)T_G483RET_G484RET/ldscript.ld b/variants/STM32G4xx/G473R(B-C)T_G473RETx(Z)_G474R(B-C-E)T_G483RET_G484RET/ldscript.ld index 3dd70cd5a3..b45597fe5b 100644 --- a/variants/STM32G4xx/G473R(B-C)T_G473RETx(Z)_G474R(B-C-E)T_G483RET_G484RET/ldscript.ld +++ b/variants/STM32G4xx/G473R(B-C)T_G473RETx(Z)_G474R(B-C-E)T_G483RET_G484RET/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G4xx/G473V(B-C-E)(H-T)_G474V(B-C-E)(H-T)_G483VE(H-T)_G484VE(H-T)/ldscript.ld b/variants/STM32G4xx/G473V(B-C-E)(H-T)_G474V(B-C-E)(H-T)_G483VE(H-T)_G484VE(H-T)/ldscript.ld index 7f2560b13b..68d5b2b7e2 100644 --- a/variants/STM32G4xx/G473V(B-C-E)(H-T)_G474V(B-C-E)(H-T)_G483VE(H-T)_G484VE(H-T)/ldscript.ld +++ b/variants/STM32G4xx/G473V(B-C-E)(H-T)_G474V(B-C-E)(H-T)_G483VE(H-T)_G484VE(H-T)/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G4xx/G491C(C-E)T_G4A1CET/ldscript.ld b/variants/STM32G4xx/G491C(C-E)T_G4A1CET/ldscript.ld index 01e036356b..e59f6be812 100644 --- a/variants/STM32G4xx/G491C(C-E)T_G4A1CET/ldscript.ld +++ b/variants/STM32G4xx/G491C(C-E)T_G4A1CET/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G4xx/G491K(C-E)U_G4A1KEU/ldscript.ld b/variants/STM32G4xx/G491K(C-E)U_G4A1KEU/ldscript.ld index 4b8c9a8648..6d240bcb5b 100644 --- a/variants/STM32G4xx/G491K(C-E)U_G4A1KEU/ldscript.ld +++ b/variants/STM32G4xx/G491K(C-E)U_G4A1KEU/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G4xx/G491M(C-E)(S-T)_G4A1ME(S-T)/ldscript.ld b/variants/STM32G4xx/G491M(C-E)(S-T)_G4A1ME(S-T)/ldscript.ld index 3aa627662f..266b2e0082 100644 --- a/variants/STM32G4xx/G491M(C-E)(S-T)_G4A1ME(S-T)/ldscript.ld +++ b/variants/STM32G4xx/G491M(C-E)(S-T)_G4A1ME(S-T)/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G4xx/G491RC(I-T)_G491RE(I-T-Y)x(Z)_G4A1RE(I-T-Y)/ldscript.ld b/variants/STM32G4xx/G491RC(I-T)_G491RE(I-T-Y)x(Z)_G4A1RE(I-T-Y)/ldscript.ld index 75944d1d9b..2fb6166d18 100644 --- a/variants/STM32G4xx/G491RC(I-T)_G491RE(I-T-Y)x(Z)_G4A1RE(I-T-Y)/ldscript.ld +++ b/variants/STM32G4xx/G491RC(I-T)_G491RE(I-T-Y)x(Z)_G4A1RE(I-T-Y)/ldscript.ld @@ -75,13 +75,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -89,7 +89,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -98,7 +98,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32G4xx/G491V(C-E)T_G4A1VET/ldscript.ld b/variants/STM32G4xx/G491V(C-E)T_G4A1VET/ldscript.ld index 08e6ab9d25..29a111e278 100644 --- a/variants/STM32G4xx/G491V(C-E)T_G4A1VET/ldscript.ld +++ b/variants/STM32G4xx/G491V(C-E)T_G4A1VET/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32H5xx/H503RBT/ldscript.ld b/variants/STM32H5xx/H503RBT/ldscript.ld index 3f85cdba2e..26759b26e7 100644 --- a/variants/STM32H5xx/H503RBT/ldscript.ld +++ b/variants/STM32H5xx/H503RBT/ldscript.ld @@ -80,13 +80,13 @@ SECTIONS { . = ALIGN(4); } > FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } > FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -94,7 +94,7 @@ SECTIONS { . = ALIGN(4); } > FLASH - .preinit_array : { + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN(__preinit_array_start = .); KEEP(*(.preinit_array*)) @@ -102,7 +102,7 @@ SECTIONS { . = ALIGN(4); } > FLASH - .init_array : { + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN(__init_array_start = .); KEEP(*(SORT(.init_array.*))) @@ -111,7 +111,7 @@ SECTIONS { . = ALIGN(4); } > FLASH - .fini_array : { + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN(__fini_array_start = .); KEEP(*(SORT(.fini_array.*))) @@ -172,4 +172,4 @@ SECTIONS { .ARM.attributes 0 : { *(.ARM.attributes) } -} \ No newline at end of file +} diff --git a/variants/STM32H5xx/H563IIKxQ_H573IIKxQ/ldscript.ld b/variants/STM32H5xx/H563IIKxQ_H573IIKxQ/ldscript.ld index 7ed43755cb..1801b8eb68 100644 --- a/variants/STM32H5xx/H563IIKxQ_H573IIKxQ/ldscript.ld +++ b/variants/STM32H5xx/H563IIKxQ_H573IIKxQ/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32H5xx/H563Z(G-I)T_H573ZIT/ldscript.ld b/variants/STM32H5xx/H563Z(G-I)T_H573ZIT/ldscript.ld index a1ced4e188..d0fa188b6c 100644 --- a/variants/STM32H5xx/H563Z(G-I)T_H573ZIT/ldscript.ld +++ b/variants/STM32H5xx/H563Z(G-I)T_H573ZIT/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32H7xx/H723Z(E-G)T_H730ZBT_H733ZGT/ldscript.ld b/variants/STM32H7xx/H723Z(E-G)T_H730ZBT_H733ZGT/ldscript.ld index 374d98f308..c121c58981 100644 --- a/variants/STM32H7xx/H723Z(E-G)T_H730ZBT_H733ZGT/ldscript.ld +++ b/variants/STM32H7xx/H723Z(E-G)T_H730ZBT_H733ZGT/ldscript.ld @@ -89,20 +89,20 @@ SECTIONS } >FLASH .ARM.extab : { *(.ARM.extab* .gnu.linkonce.armextab.*) } >FLASH - .ARM : { + .ARM (READONLY) : { __exidx_start = .; *(.ARM.exidx*) __exidx_end = .; } >FLASH - .preinit_array : + .preinit_array (READONLY) : { PROVIDE_HIDDEN (__preinit_array_start = .); KEEP (*(.preinit_array*)) PROVIDE_HIDDEN (__preinit_array_end = .); } >FLASH - .init_array : + .init_array (READONLY) : { PROVIDE_HIDDEN (__init_array_start = .); KEEP (*(SORT(.init_array.*))) @@ -110,7 +110,7 @@ SECTIONS PROVIDE_HIDDEN (__init_array_end = .); } >FLASH - .fini_array : + .fini_array (READONLY) : { PROVIDE_HIDDEN (__fini_array_start = .); KEEP (*(SORT(.fini_array.*))) diff --git a/variants/STM32H7xx/H742I(G-I)K_H743I(G-I)K_H750IBK_H753IIK/DAISY_SEED.ld b/variants/STM32H7xx/H742I(G-I)K_H743I(G-I)K_H750IBK_H753IIK/DAISY_SEED.ld index 7e6879cd3f..538d2aa528 100644 --- a/variants/STM32H7xx/H742I(G-I)K_H743I(G-I)K_H750IBK_H753IIK/DAISY_SEED.ld +++ b/variants/STM32H7xx/H742I(G-I)K_H743I(G-I)K_H750IBK_H753IIK/DAISY_SEED.ld @@ -112,13 +112,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - - .ARM : { + + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -126,7 +126,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -134,8 +134,8 @@ SECTIONS PROVIDE_HIDDEN (__preinit_array_end = .); . = ALIGN(4); } >FLASH - - .init_array : + + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -144,8 +144,8 @@ SECTIONS PROVIDE_HIDDEN (__init_array_end = .); . = ALIGN(4); } >FLASH - - .fini_array : + + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); @@ -159,7 +159,7 @@ SECTIONS _sidata = LOADADDR(.data); /* Initialized data sections into "RAM_D1" Ram type memory */ - .data : + .data : { . = ALIGN(4); _sdata = .; /* create a global symbol at data start */ @@ -168,9 +168,9 @@ SECTIONS . = ALIGN(4); _edata = .; /* define a global symbol at data end */ - + } >RAM_D1 AT> FLASH - + /* Uninitialized data section into "RAM_D1" Ram type memory */ . = ALIGN(4); .bss : diff --git a/variants/STM32H7xx/H742I(G-I)K_H743I(G-I)K_H750IBK_H753IIK/ldscript.ld b/variants/STM32H7xx/H742I(G-I)K_H743I(G-I)K_H750IBK_H753IIK/ldscript.ld index 6dc8f9b5ea..7df6a652b1 100644 --- a/variants/STM32H7xx/H742I(G-I)K_H743I(G-I)K_H750IBK_H753IIK/ldscript.ld +++ b/variants/STM32H7xx/H742I(G-I)K_H743I(G-I)K_H750IBK_H753IIK/ldscript.ld @@ -86,26 +86,26 @@ SECTIONS } >FLASH .ARM.extab : { *(.ARM.extab* .gnu.linkonce.armextab.*) } >FLASH - .ARM : { + .ARM (READONLY) : { __exidx_start = .; *(.ARM.exidx*) __exidx_end = .; } >FLASH - .preinit_array : + .preinit_array (READONLY) : { PROVIDE_HIDDEN (__preinit_array_start = .); KEEP (*(.preinit_array*)) PROVIDE_HIDDEN (__preinit_array_end = .); } >FLASH - .init_array : + .init_array (READONLY) : { PROVIDE_HIDDEN (__init_array_start = .); KEEP (*(SORT(.init_array.*))) KEEP (*(.init_array*)) PROVIDE_HIDDEN (__init_array_end = .); } >FLASH - .fini_array : + .fini_array (READONLY) : { PROVIDE_HIDDEN (__fini_array_start = .); KEEP (*(SORT(.fini_array.*))) diff --git a/variants/STM32H7xx/H742I(G-I)T_H743I(G-I)T_H750IBT_H753IIT/ldscript.ld b/variants/STM32H7xx/H742I(G-I)T_H743I(G-I)T_H750IBT_H753IIT/ldscript.ld index a4736464b6..80e6928044 100644 --- a/variants/STM32H7xx/H742I(G-I)T_H743I(G-I)T_H750IBT_H753IIT/ldscript.ld +++ b/variants/STM32H7xx/H742I(G-I)T_H743I(G-I)T_H750IBT_H753IIT/ldscript.ld @@ -86,26 +86,26 @@ SECTIONS } >FLASH .ARM.extab : { *(.ARM.extab* .gnu.linkonce.armextab.*) } >FLASH - .ARM : { + .ARM (READONLY) : { __exidx_start = .; *(.ARM.exidx*) __exidx_end = .; } >FLASH - .preinit_array : + .preinit_array (READONLY) : { PROVIDE_HIDDEN (__preinit_array_start = .); KEEP (*(.preinit_array*)) PROVIDE_HIDDEN (__preinit_array_end = .); } >FLASH - .init_array : + .init_array (READONLY) : { PROVIDE_HIDDEN (__init_array_start = .); KEEP (*(SORT(.init_array.*))) KEEP (*(.init_array*)) PROVIDE_HIDDEN (__init_array_end = .); } >FLASH - .fini_array : + .fini_array (READONLY) : { PROVIDE_HIDDEN (__fini_array_start = .); KEEP (*(SORT(.fini_array.*))) diff --git a/variants/STM32H7xx/H742V(G-I)(H-T)_H743V(G-I)(H-T)_H750VBT_H753VI(H-T)/ldscript.ld b/variants/STM32H7xx/H742V(G-I)(H-T)_H743V(G-I)(H-T)_H750VBT_H753VI(H-T)/ldscript.ld index 4d6bec2983..ccf99bc7f3 100644 --- a/variants/STM32H7xx/H742V(G-I)(H-T)_H743V(G-I)(H-T)_H750VBT_H753VI(H-T)/ldscript.ld +++ b/variants/STM32H7xx/H742V(G-I)(H-T)_H743V(G-I)(H-T)_H750VBT_H753VI(H-T)/ldscript.ld @@ -90,26 +90,26 @@ SECTIONS } >FLASH .ARM.extab : { *(.ARM.extab* .gnu.linkonce.armextab.*) } >FLASH - .ARM : { + .ARM (READONLY) : { __exidx_start = .; *(.ARM.exidx*) __exidx_end = .; } >FLASH - .preinit_array : + .preinit_array (READONLY) : { PROVIDE_HIDDEN (__preinit_array_start = .); KEEP (*(.preinit_array*)) PROVIDE_HIDDEN (__preinit_array_end = .); } >FLASH - .init_array : + .init_array (READONLY) : { PROVIDE_HIDDEN (__init_array_start = .); KEEP (*(SORT(.init_array.*))) KEEP (*(.init_array*)) PROVIDE_HIDDEN (__init_array_end = .); } >FLASH - .fini_array : + .fini_array (READONLY) : { PROVIDE_HIDDEN (__fini_array_start = .); KEEP (*(SORT(.fini_array.*))) diff --git a/variants/STM32H7xx/H742X(G-I)H_H743X(G-I)H_H745X(G-I)H_H747X(G-I)H_H750XBH_H753XIH_H755XIH_H757XIH/ldscript.ld b/variants/STM32H7xx/H742X(G-I)H_H743X(G-I)H_H745X(G-I)H_H747X(G-I)H_H750XBH_H753XIH_H755XIH_H757XIH/ldscript.ld index f5102fa972..f0c5fca512 100644 --- a/variants/STM32H7xx/H742X(G-I)H_H743X(G-I)H_H745X(G-I)H_H747X(G-I)H_H750XBH_H753XIH_H755XIH_H757XIH/ldscript.ld +++ b/variants/STM32H7xx/H742X(G-I)H_H743X(G-I)H_H745X(G-I)H_H747X(G-I)H_H750XBH_H753XIH_H755XIH_H757XIH/ldscript.ld @@ -106,13 +106,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -120,7 +120,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -129,7 +129,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -139,7 +139,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32H7xx/H742Z(G-I)T_H743Z(G-I)T_H747A(G-I)I_H747I(G-I)T_H750ZBT_H753ZIT_H757AII_H757IIT/ldscript.ld b/variants/STM32H7xx/H742Z(G-I)T_H743Z(G-I)T_H747A(G-I)I_H747I(G-I)T_H750ZBT_H753ZIT_H757AII_H757IIT/ldscript.ld index b2ece9a7e2..f73a1837b6 100644 --- a/variants/STM32H7xx/H742Z(G-I)T_H743Z(G-I)T_H747A(G-I)I_H747I(G-I)T_H750ZBT_H753ZIT_H757AII_H757IIT/ldscript.ld +++ b/variants/STM32H7xx/H742Z(G-I)T_H743Z(G-I)T_H747A(G-I)I_H747I(G-I)T_H750ZBT_H753ZIT_H757AII_H757IIT/ldscript.ld @@ -86,26 +86,26 @@ SECTIONS } >FLASH .ARM.extab : { *(.ARM.extab* .gnu.linkonce.armextab.*) } >FLASH - .ARM : { + .ARM (READONLY) : { __exidx_start = .; *(.ARM.exidx*) __exidx_end = .; } >FLASH - .preinit_array : + .preinit_array (READONLY) : { PROVIDE_HIDDEN (__preinit_array_start = .); KEEP (*(.preinit_array*)) PROVIDE_HIDDEN (__preinit_array_end = .); } >FLASH - .init_array : + .init_array (READONLY) : { PROVIDE_HIDDEN (__init_array_start = .); KEEP (*(SORT(.init_array.*))) KEEP (*(.init_array*)) PROVIDE_HIDDEN (__init_array_end = .); } >FLASH - .fini_array : + .fini_array (READONLY) : { PROVIDE_HIDDEN (__fini_array_start = .); KEEP (*(SORT(.fini_array.*))) diff --git a/variants/STM32H7xx/H7A3V(G-I)(H-T)_H7B0VBT_H7B3VI(H-T)/ldscript.ld b/variants/STM32H7xx/H7A3V(G-I)(H-T)_H7B0VBT_H7B3VI(H-T)/ldscript.ld index 250245f11a..34e1221100 100644 --- a/variants/STM32H7xx/H7A3V(G-I)(H-T)_H7B0VBT_H7B3VI(H-T)/ldscript.ld +++ b/variants/STM32H7xx/H7A3V(G-I)(H-T)_H7B0VBT_H7B3VI(H-T)/ldscript.ld @@ -90,20 +90,20 @@ SECTIONS } >FLASH .ARM.extab : { *(.ARM.extab* .gnu.linkonce.armextab.*) } >FLASH - .ARM : { + .ARM (READONLY) : { __exidx_start = .; *(.ARM.exidx*) __exidx_end = .; } >FLASH - .preinit_array : + .preinit_array (READONLY) : { PROVIDE_HIDDEN (__preinit_array_start = .); KEEP (*(.preinit_array*)) PROVIDE_HIDDEN (__preinit_array_end = .); } >FLASH - .init_array : + .init_array (READONLY) : { PROVIDE_HIDDEN (__init_array_start = .); KEEP (*(SORT(.init_array.*))) @@ -111,7 +111,7 @@ SECTIONS PROVIDE_HIDDEN (__init_array_end = .); } >FLASH - .fini_array : + .fini_array (READONLY) : { PROVIDE_HIDDEN (__fini_array_start = .); KEEP (*(SORT(.fini_array.*))) diff --git a/variants/STM32L0xx/L010C6T/ldscript.ld b/variants/STM32L0xx/L010C6T/ldscript.ld index dc57472282..1f87d6dd88 100644 --- a/variants/STM32L0xx/L010C6T/ldscript.ld +++ b/variants/STM32L0xx/L010C6T/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L0xx/L010F4P_L011F(3-4)P_L021F4P/ldscript.ld b/variants/STM32L0xx/L010F4P_L011F(3-4)P_L021F4P/ldscript.ld index 33682a5441..fc0942fd68 100644 --- a/variants/STM32L0xx/L010F4P_L011F(3-4)P_L021F4P/ldscript.ld +++ b/variants/STM32L0xx/L010F4P_L011F(3-4)P_L021F4P/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L0xx/L010K4T_L011K(3-4)T_L021K4T/ldscript.ld b/variants/STM32L0xx/L010K4T_L011K(3-4)T_L021K4T/ldscript.ld index 9952c1b309..67e47a24fa 100644 --- a/variants/STM32L0xx/L010K4T_L011K(3-4)T_L021K4T/ldscript.ld +++ b/variants/STM32L0xx/L010K4T_L011K(3-4)T_L021K4T/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L0xx/L010R8T/ldscript.ld b/variants/STM32L0xx/L010R8T/ldscript.ld index 48f2f6afa0..8acfaedf23 100644 --- a/variants/STM32L0xx/L010R8T/ldscript.ld +++ b/variants/STM32L0xx/L010R8T/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L0xx/L010RBT/ldscript.ld b/variants/STM32L0xx/L010RBT/ldscript.ld index b8a5487c25..678259bbf0 100644 --- a/variants/STM32L0xx/L010RBT/ldscript.ld +++ b/variants/STM32L0xx/L010RBT/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L0xx/L011D(3-4)P_L021D4P/ldscript.ld b/variants/STM32L0xx/L011D(3-4)P_L021D4P/ldscript.ld index 36cd27ff6d..f21bf3caf4 100644 --- a/variants/STM32L0xx/L011D(3-4)P_L021D4P/ldscript.ld +++ b/variants/STM32L0xx/L011D(3-4)P_L021D4P/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L0xx/L011E(3-4)Y/ldscript.ld b/variants/STM32L0xx/L011E(3-4)Y/ldscript.ld index 49e25b4d2b..ed4a233ea1 100644 --- a/variants/STM32L0xx/L011E(3-4)Y/ldscript.ld +++ b/variants/STM32L0xx/L011E(3-4)Y/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L0xx/L011F(3-4)U_L021F4U/ldscript.ld b/variants/STM32L0xx/L011F(3-4)U_L021F4U/ldscript.ld index 08c7f25ca2..95f113765b 100644 --- a/variants/STM32L0xx/L011F(3-4)U_L021F4U/ldscript.ld +++ b/variants/STM32L0xx/L011F(3-4)U_L021F4U/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L0xx/L011G(3-4)U_L021G4U/ldscript.ld b/variants/STM32L0xx/L011G(3-4)U_L021G4U/ldscript.ld index 13e9725028..bcc8d19d87 100644 --- a/variants/STM32L0xx/L011G(3-4)U_L021G4U/ldscript.ld +++ b/variants/STM32L0xx/L011G(3-4)U_L021G4U/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L0xx/L011K(3-4)U_L021K4U/ldscript.ld b/variants/STM32L0xx/L011K(3-4)U_L021K4U/ldscript.ld index 5743887aa3..b02bdb5733 100644 --- a/variants/STM32L0xx/L011K(3-4)U_L021K4U/ldscript.ld +++ b/variants/STM32L0xx/L011K(3-4)U_L021K4U/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L0xx/L031C(4-6)(T-U)_L041C4T_L041C6(T-U)/ldscript.ld b/variants/STM32L0xx/L031C(4-6)(T-U)_L041C4T_L041C6(T-U)/ldscript.ld index 906009f96c..220db2fb47 100644 --- a/variants/STM32L0xx/L031C(4-6)(T-U)_L041C4T_L041C6(T-U)/ldscript.ld +++ b/variants/STM32L0xx/L031C(4-6)(T-U)_L041C4T_L041C6(T-U)/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L0xx/L031E(4-6)Y_L041E6Y/ldscript.ld b/variants/STM32L0xx/L031E(4-6)Y_L041E6Y/ldscript.ld index e480e7159c..3399026a46 100644 --- a/variants/STM32L0xx/L031E(4-6)Y_L041E6Y/ldscript.ld +++ b/variants/STM32L0xx/L031E(4-6)Y_L041E6Y/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L0xx/L031F(4-6)P_L041F6P/ldscript.ld b/variants/STM32L0xx/L031F(4-6)P_L041F6P/ldscript.ld index 8137ef8255..d18802846d 100644 --- a/variants/STM32L0xx/L031F(4-6)P_L041F6P/ldscript.ld +++ b/variants/STM32L0xx/L031F(4-6)P_L041F6P/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L0xx/L031G(4-6)U_L041G6U/ldscript.ld b/variants/STM32L0xx/L031G(4-6)U_L041G6U/ldscript.ld index 59a3d75e55..e07b079e82 100644 --- a/variants/STM32L0xx/L031G(4-6)U_L041G6U/ldscript.ld +++ b/variants/STM32L0xx/L031G(4-6)U_L041G6U/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L0xx/L031K(4-6)T_L041K6T/ldscript.ld b/variants/STM32L0xx/L031K(4-6)T_L041K6T/ldscript.ld index 26b69851a8..63a309cf05 100644 --- a/variants/STM32L0xx/L031K(4-6)T_L041K6T/ldscript.ld +++ b/variants/STM32L0xx/L031K(4-6)T_L041K6T/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L0xx/L051C(6-8)(T-U)/ldscript.ld b/variants/STM32L0xx/L051C(6-8)(T-U)/ldscript.ld index 2ce3bf44a0..a91992728b 100644 --- a/variants/STM32L0xx/L051C(6-8)(T-U)/ldscript.ld +++ b/variants/STM32L0xx/L051C(6-8)(T-U)/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L0xx/L052C(6-8)(T-U)_L053C(6-8)(T-U)_L062C8U_L063C8(T-U)/ldscript.ld b/variants/STM32L0xx/L052C(6-8)(T-U)_L053C(6-8)(T-U)_L062C8U_L063C8(T-U)/ldscript.ld index cb1e9b47ba..331e5c7584 100644 --- a/variants/STM32L0xx/L052C(6-8)(T-U)_L053C(6-8)(T-U)_L062C8U_L063C8(T-U)/ldscript.ld +++ b/variants/STM32L0xx/L052C(6-8)(T-U)_L053C(6-8)(T-U)_L062C8U_L063C8(T-U)/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L0xx/L052K(6-8)T_L062K8T/ldscript.ld b/variants/STM32L0xx/L052K(6-8)T_L062K8T/ldscript.ld index 249c528508..cec9938ba8 100644 --- a/variants/STM32L0xx/L052K(6-8)T_L062K8T/ldscript.ld +++ b/variants/STM32L0xx/L052K(6-8)T_L062K8T/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L0xx/L052R(6-8)H_L053R(6-8)H/ldscript.ld b/variants/STM32L0xx/L052R(6-8)H_L053R(6-8)H/ldscript.ld index e7a50a858a..c3e745116c 100644 --- a/variants/STM32L0xx/L052R(6-8)H_L053R(6-8)H/ldscript.ld +++ b/variants/STM32L0xx/L052R(6-8)H_L053R(6-8)H/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L0xx/L052R(6-8)T_L053R(6-8)T_L063R8T/ldscript.ld b/variants/STM32L0xx/L052R(6-8)T_L053R(6-8)T_L063R8T/ldscript.ld index 7ebf1707b3..73d1b11831 100644 --- a/variants/STM32L0xx/L052R(6-8)T_L053R(6-8)T_L063R8T/ldscript.ld +++ b/variants/STM32L0xx/L052R(6-8)T_L053R(6-8)T_L063R8T/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L0xx/L052T6Y_L052T8(F-Y)/ldscript.ld b/variants/STM32L0xx/L052T6Y_L052T8(F-Y)/ldscript.ld index 62372cbc42..7d7444924a 100644 --- a/variants/STM32L0xx/L052T6Y_L052T8(F-Y)/ldscript.ld +++ b/variants/STM32L0xx/L052T6Y_L052T8(F-Y)/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L0xx/L072C(B-Z)(T-U)_L073C(B-Z)(T-U)_L082CZU_L083CBT_L083CZ(T-U)/ldscript.ld b/variants/STM32L0xx/L072C(B-Z)(T-U)_L073C(B-Z)(T-U)_L082CZU_L083CBT_L083CZ(T-U)/ldscript.ld index fd0f38888c..2cf38a00a1 100644 --- a/variants/STM32L0xx/L072C(B-Z)(T-U)_L073C(B-Z)(T-U)_L082CZU_L083CBT_L083CZ(T-U)/ldscript.ld +++ b/variants/STM32L0xx/L072C(B-Z)(T-U)_L073C(B-Z)(T-U)_L082CZU_L083CBT_L083CZ(T-U)/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L0xx/L072CBY_L072CZ(E-Y)_L073CZY_L082CZY/ldscript.ld b/variants/STM32L0xx/L072CBY_L072CZ(E-Y)_L073CZY_L082CZY/ldscript.ld index b75f7c22c2..469e3f3e0f 100644 --- a/variants/STM32L0xx/L072CBY_L072CZ(E-Y)_L073CZY_L082CZY/ldscript.ld +++ b/variants/STM32L0xx/L072CBY_L072CZ(E-Y)_L073CZY_L082CZY/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L0xx/L072K(B-Z)T_L082K(B-Z)T/ldscript.ld b/variants/STM32L0xx/L072K(B-Z)T_L082K(B-Z)T/ldscript.ld index 2b6a44123b..937da665e2 100644 --- a/variants/STM32L0xx/L072K(B-Z)T_L082K(B-Z)T/ldscript.ld +++ b/variants/STM32L0xx/L072K(B-Z)T_L082K(B-Z)T/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L0xx/L072K(B-Z)U_L082K(B-Z)U/ldscript.ld b/variants/STM32L0xx/L072K(B-Z)U_L082K(B-Z)U/ldscript.ld index efd2e77ecc..648a80d400 100644 --- a/variants/STM32L0xx/L072K(B-Z)U_L082K(B-Z)U/ldscript.ld +++ b/variants/STM32L0xx/L072K(B-Z)U_L082K(B-Z)U/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L0xx/L072R(B-Z)(H-I)_L073RBH_L073RZ(H-I)_L083R(B-Z)H/ldscript.ld b/variants/STM32L0xx/L072R(B-Z)(H-I)_L073RBH_L073RZ(H-I)_L083R(B-Z)H/ldscript.ld index b438397e2b..cf8288e249 100644 --- a/variants/STM32L0xx/L072R(B-Z)(H-I)_L073RBH_L073RZ(H-I)_L083R(B-Z)H/ldscript.ld +++ b/variants/STM32L0xx/L072R(B-Z)(H-I)_L073RBH_L073RZ(H-I)_L083R(B-Z)H/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L0xx/L072R(B-Z)T_L073R(B-Z)T_L083R(B-Z)T/ldscript.ld b/variants/STM32L0xx/L072R(B-Z)T_L073R(B-Z)T_L083R(B-Z)T/ldscript.ld index cddf601bb5..8772835f6b 100644 --- a/variants/STM32L0xx/L072R(B-Z)T_L073R(B-Z)T_L083R(B-Z)T/ldscript.ld +++ b/variants/STM32L0xx/L072R(B-Z)T_L073R(B-Z)T_L083R(B-Z)T/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L0xx/L072V(8-B-Z)(I-T)_L073V(8-B-Z)(I-T)_L083V(8-B-Z)(I-T)/ldscript.ld b/variants/STM32L0xx/L072V(8-B-Z)(I-T)_L073V(8-B-Z)(I-T)_L083V(8-B-Z)(I-T)/ldscript.ld index df02826b41..d279ad7a16 100644 --- a/variants/STM32L0xx/L072V(8-B-Z)(I-T)_L073V(8-B-Z)(I-T)_L083V(8-B-Z)(I-T)/ldscript.ld +++ b/variants/STM32L0xx/L072V(8-B-Z)(I-T)_L073V(8-B-Z)(I-T)_L083V(8-B-Z)(I-T)/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L1xx/L100C6Ux(A)_L151C(6-8-B)(T-U)x(A)_L152C(6-8-B)(T-U)x(A)/ldscript.ld b/variants/STM32L1xx/L100C6Ux(A)_L151C(6-8-B)(T-U)x(A)_L152C(6-8-B)(T-U)x(A)/ldscript.ld index a5bd696021..721b6e5f9b 100644 --- a/variants/STM32L1xx/L100C6Ux(A)_L151C(6-8-B)(T-U)x(A)_L152C(6-8-B)(T-U)x(A)/ldscript.ld +++ b/variants/STM32L1xx/L100C6Ux(A)_L151C(6-8-B)(T-U)x(A)_L152C(6-8-B)(T-U)x(A)/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L1xx/L151RET_L152RET_L162RET/ldscript.ld b/variants/STM32L1xx/L151RET_L152RET_L162RET/ldscript.ld index ad1d9828de..ca60af13cf 100644 --- a/variants/STM32L1xx/L151RET_L152RET_L162RET/ldscript.ld +++ b/variants/STM32L1xx/L151RET_L152RET_L162RET/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L1xx/L151ZDT_L152ZDT_L162ZDT/ldscript.ld b/variants/STM32L1xx/L151ZDT_L152ZDT_L162ZDT/ldscript.ld index 7f0c0208f6..ff3557b21f 100644 --- a/variants/STM32L1xx/L151ZDT_L152ZDT_L162ZDT/ldscript.ld +++ b/variants/STM32L1xx/L151ZDT_L152ZDT_L162ZDT/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L4xx/L412K(8-B)(T-U)_L422KB(T-U)/ldscript.ld b/variants/STM32L4xx/L412K(8-B)(T-U)_L422KB(T-U)/ldscript.ld index 8ac4a2eb52..782b547d6e 100644 --- a/variants/STM32L4xx/L412K(8-B)(T-U)_L422KB(T-U)/ldscript.ld +++ b/variants/STM32L4xx/L412K(8-B)(T-U)_L422KB(T-U)/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L4xx/L431R(B-C)(I-T-Y)/ldscript.ld b/variants/STM32L4xx/L431R(B-C)(I-T-Y)/ldscript.ld index bba657794a..00ff0c524f 100644 --- a/variants/STM32L4xx/L431R(B-C)(I-T-Y)/ldscript.ld +++ b/variants/STM32L4xx/L431R(B-C)(I-T-Y)/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L4xx/L432K(B-C)U_L442KCU/ldscript.ld b/variants/STM32L4xx/L432K(B-C)U_L442KCU/ldscript.ld index 348e69847a..f12297fcbf 100644 --- a/variants/STM32L4xx/L432K(B-C)U_L442KCU/ldscript.ld +++ b/variants/STM32L4xx/L432K(B-C)U_L442KCU/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L4xx/L433C(B-C)(T-U)_L443CC(T-U)/ldscript.ld b/variants/STM32L4xx/L433C(B-C)(T-U)_L443CC(T-U)/ldscript.ld index 23ef2fe861..1d5e070463 100644 --- a/variants/STM32L4xx/L433C(B-C)(T-U)_L443CC(T-U)/ldscript.ld +++ b/variants/STM32L4xx/L433C(B-C)(T-U)_L443CC(T-U)/ldscript.ld @@ -87,13 +87,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -101,7 +101,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -120,7 +120,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L4xx/L433R(B-C)(I-T-Y)_L443RC(I-T-Y)/ldscript.ld b/variants/STM32L4xx/L433R(B-C)(I-T-Y)_L443RC(I-T-Y)/ldscript.ld index 9daf92138d..ea84244c29 100644 --- a/variants/STM32L4xx/L433R(B-C)(I-T-Y)_L443RC(I-T-Y)/ldscript.ld +++ b/variants/STM32L4xx/L433R(B-C)(I-T-Y)_L443RC(I-T-Y)/ldscript.ld @@ -86,13 +86,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -109,7 +109,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -119,7 +119,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L4xx/L433RCTxP/ldscript.ld b/variants/STM32L4xx/L433RCTxP/ldscript.ld index f2767bff8b..e693cbe343 100644 --- a/variants/STM32L4xx/L433RCTxP/ldscript.ld +++ b/variants/STM32L4xx/L433RCTxP/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L4xx/L452RC(I-T-Y)_L452RE(I-T-Y)x(P)_L462RE(I-T-Y)/ldscript.ld b/variants/STM32L4xx/L452RC(I-T-Y)_L452RE(I-T-Y)x(P)_L462RE(I-T-Y)/ldscript.ld index 2c8533d744..3d865b5aff 100644 --- a/variants/STM32L4xx/L452RC(I-T-Y)_L452RE(I-T-Y)x(P)_L462RE(I-T-Y)/ldscript.ld +++ b/variants/STM32L4xx/L452RC(I-T-Y)_L452RE(I-T-Y)x(P)_L462RE(I-T-Y)/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L4xx/L452RETxP/ldscript.ld b/variants/STM32L4xx/L452RETxP/ldscript.ld index 2dc53f36f8..83ef603a09 100644 --- a/variants/STM32L4xx/L452RETxP/ldscript.ld +++ b/variants/STM32L4xx/L452RETxP/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L4xx/L475R(C-E-G)T_L476R(C-E-G)T_L486RGT/ldscript.ld b/variants/STM32L4xx/L475R(C-E-G)T_L476R(C-E-G)T_L486RGT/ldscript.ld index ba290b2f5c..eae17446af 100644 --- a/variants/STM32L4xx/L475R(C-E-G)T_L476R(C-E-G)T_L486RGT/ldscript.ld +++ b/variants/STM32L4xx/L475R(C-E-G)T_L476R(C-E-G)T_L486RGT/ldscript.ld @@ -79,13 +79,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -93,7 +93,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -102,7 +102,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -112,7 +112,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L4xx/L475V(C-E-G)T_L476V(C-E-G)T_L486VGT/ldscript.ld b/variants/STM32L4xx/L475V(C-E-G)T_L476V(C-E-G)T_L486VGT/ldscript.ld index 76e745f0e2..ba9c434ff8 100644 --- a/variants/STM32L4xx/L475V(C-E-G)T_L476V(C-E-G)T_L486VGT/ldscript.ld +++ b/variants/STM32L4xx/L475V(C-E-G)T_L476V(C-E-G)T_L486VGT/ldscript.ld @@ -79,13 +79,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -93,7 +93,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -102,7 +102,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -112,7 +112,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L4xx/L496Z(E-G)T_L4A6ZGT/ldscript.ld b/variants/STM32L4xx/L496Z(E-G)T_L4A6ZGT/ldscript.ld index 4be3b99016..b82d30e0af 100644 --- a/variants/STM32L4xx/L496Z(E-G)T_L4A6ZGT/ldscript.ld +++ b/variants/STM32L4xx/L496Z(E-G)T_L4A6ZGT/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L4xx/L496ZGTxP_L4A6ZGTxP/ldscript.ld b/variants/STM32L4xx/L496ZGTxP_L4A6ZGTxP/ldscript.ld index 61577dcd14..b5a22e4f64 100644 --- a/variants/STM32L4xx/L496ZGTxP_L4A6ZGTxP/ldscript.ld +++ b/variants/STM32L4xx/L496ZGTxP_L4A6ZGTxP/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L4xx/L4R5V(G-I)T_L4R7VIT_L4S5VIT_L4S7VIT/ldscript.ld b/variants/STM32L4xx/L4R5V(G-I)T_L4R7VIT_L4S5VIT_L4S7VIT/ldscript.ld index 93f6481b47..6fad457964 100644 --- a/variants/STM32L4xx/L4R5V(G-I)T_L4R7VIT_L4S5VIT_L4S7VIT/ldscript.ld +++ b/variants/STM32L4xx/L4R5V(G-I)T_L4R7VIT_L4S5VIT_L4S7VIT/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L4xx/L4R5Z(G-I)T_L4R7ZIT_L4S5ZIT_L4S7ZIT/ldscript.ld b/variants/STM32L4xx/L4R5Z(G-I)T_L4R7ZIT_L4S5ZIT_L4S7ZIT/ldscript.ld index 1689ea7d0f..e7167dca4b 100644 --- a/variants/STM32L4xx/L4R5Z(G-I)T_L4R7ZIT_L4S5ZIT_L4S7ZIT/ldscript.ld +++ b/variants/STM32L4xx/L4R5Z(G-I)T_L4R7ZIT_L4S5ZIT_L4S7ZIT/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L4xx/L4R5Z(G-I)Y_L4R9Z(G-I)Y_L4S5ZIY_L4S9ZIY/ldscript.ld b/variants/STM32L4xx/L4R5Z(G-I)Y_L4R9Z(G-I)Y_L4S5ZIY_L4S9ZIY/ldscript.ld index c2cc5c41a3..d038e3ed32 100644 --- a/variants/STM32L4xx/L4R5Z(G-I)Y_L4R9Z(G-I)Y_L4S5ZIY_L4S9ZIY/ldscript.ld +++ b/variants/STM32L4xx/L4R5Z(G-I)Y_L4R9Z(G-I)Y_L4S5ZIY_L4S9ZIY/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L4xx/L4R5ZITxP/ldscript.ld b/variants/STM32L4xx/L4R5ZITxP/ldscript.ld index 1689ea7d0f..e7167dca4b 100644 --- a/variants/STM32L4xx/L4R5ZITxP/ldscript.ld +++ b/variants/STM32L4xx/L4R5ZITxP/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L4xx/L4R9Z(G-I)J_L4S9ZIJ/ldscript.ld b/variants/STM32L4xx/L4R9Z(G-I)J_L4S9ZIJ/ldscript.ld index 0e7f4a2f96..d9cecf3eee 100644 --- a/variants/STM32L4xx/L4R9Z(G-I)J_L4S9ZIJ/ldscript.ld +++ b/variants/STM32L4xx/L4R9Z(G-I)J_L4S9ZIJ/ldscript.ld @@ -77,13 +77,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -91,7 +91,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32L5xx/L552Z(C-E)TxQ_L562ZETxQ/ldscript.ld b/variants/STM32L5xx/L552Z(C-E)TxQ_L562ZETxQ/ldscript.ld index 0a3825d976..e0b89f19af 100644 --- a/variants/STM32L5xx/L552Z(C-E)TxQ_L562ZETxQ/ldscript.ld +++ b/variants/STM32L5xx/L552Z(C-E)TxQ_L562ZETxQ/ldscript.ld @@ -86,13 +86,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -109,7 +109,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -119,7 +119,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32MP1xx/MP153AAC_MP153CAC_MP153DAC_MP153FAC_MP157AAC_MP157CAC_MP157DAC_MP157FAC/ldscript.ld b/variants/STM32MP1xx/MP153AAC_MP153CAC_MP153DAC_MP153FAC_MP157AAC_MP157CAC_MP157DAC_MP157FAC/ldscript.ld index 9efaa2f72a..1308066e55 100644 --- a/variants/STM32MP1xx/MP153AAC_MP153CAC_MP153DAC_MP153FAC_MP157AAC_MP157CAC_MP157DAC_MP157FAC/ldscript.ld +++ b/variants/STM32MP1xx/MP153AAC_MP153CAC_MP153DAC_MP153FAC_MP157AAC_MP157CAC_MP157DAC_MP157FAC/ldscript.ld @@ -84,13 +84,13 @@ SECTIONS . = ALIGN(4); } >FLASH_text - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH_text - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -98,7 +98,7 @@ SECTIONS . = ALIGN(4); } >FLASH_text - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -107,7 +107,7 @@ SECTIONS . = ALIGN(4); } >FLASH_text - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -117,7 +117,7 @@ SECTIONS . = ALIGN(4); } >FLASH_text - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32U5xx/U575A(G-I)IxQ_U585AIIxQ/ldscript.ld b/variants/STM32U5xx/U575A(G-I)IxQ_U585AIIxQ/ldscript.ld index ca0a605e83..4446385a3b 100644 --- a/variants/STM32U5xx/U575A(G-I)IxQ_U585AIIxQ/ldscript.ld +++ b/variants/STM32U5xx/U575A(G-I)IxQ_U585AIIxQ/ldscript.ld @@ -80,26 +80,26 @@ SECTIONS *(.rodata*) /* .rodata* sections (constants, strings, etc.) */ } >FLASH - .ARM.extab : + .ARM.extab (READONLY) : { *(.ARM.extab* .gnu.linkonce.armextab.*) } >FLASH - .ARM : + .ARM (READONLY) : { __exidx_start = .; *(.ARM.exidx*) __exidx_end = .; } >FLASH - .preinit_array : + .preinit_array (READONLY) : { PROVIDE_HIDDEN (__preinit_array_start = .); KEEP (*(.preinit_array*)) PROVIDE_HIDDEN (__preinit_array_end = .); } >FLASH - .init_array : + .init_array (READONLY) : { PROVIDE_HIDDEN (__init_array_start = .); KEEP (*(SORT(.init_array.*))) @@ -107,7 +107,7 @@ SECTIONS PROVIDE_HIDDEN (__init_array_end = .); } >FLASH - .fini_array : + .fini_array (READONLY) : { PROVIDE_HIDDEN (__fini_array_start = .); KEEP (*(SORT(.fini_array.*))) diff --git a/variants/STM32U5xx/U575C(G-I)(T-U)_U585CI(T-U)/ldscript.ld b/variants/STM32U5xx/U575C(G-I)(T-U)_U585CI(T-U)/ldscript.ld index a5f0ee1452..c29d811f16 100644 --- a/variants/STM32U5xx/U575C(G-I)(T-U)_U585CI(T-U)/ldscript.ld +++ b/variants/STM32U5xx/U575C(G-I)(T-U)_U585CI(T-U)/ldscript.ld @@ -79,26 +79,26 @@ SECTIONS *(.rodata*) /* .rodata* sections (constants, strings, etc.) */ } >FLASH - .ARM.extab : + .ARM.extab (READONLY) : { *(.ARM.extab* .gnu.linkonce.armextab.*) } >FLASH - .ARM : + .ARM (READONLY) : { __exidx_start = .; *(.ARM.exidx*) __exidx_end = .; } >FLASH - .preinit_array : + .preinit_array (READONLY) : { PROVIDE_HIDDEN (__preinit_array_start = .); KEEP (*(.preinit_array*)) PROVIDE_HIDDEN (__preinit_array_end = .); } >FLASH - .init_array : + .init_array (READONLY) : { PROVIDE_HIDDEN (__init_array_start = .); KEEP (*(SORT(.init_array.*))) @@ -106,7 +106,7 @@ SECTIONS PROVIDE_HIDDEN (__init_array_end = .); } >FLASH - .fini_array : + .fini_array (READONLY) : { PROVIDE_HIDDEN (__fini_array_start = .); KEEP (*(SORT(.fini_array.*))) diff --git a/variants/STM32U5xx/U575Z(G-I)TxQ_U585ZITxQ/ldscript.ld b/variants/STM32U5xx/U575Z(G-I)TxQ_U585ZITxQ/ldscript.ld index 73a09875ab..b4a41a6006 100644 --- a/variants/STM32U5xx/U575Z(G-I)TxQ_U585ZITxQ/ldscript.ld +++ b/variants/STM32U5xx/U575Z(G-I)TxQ_U585ZITxQ/ldscript.ld @@ -81,26 +81,26 @@ SECTIONS *(.rodata*) /* .rodata* sections (constants, strings, etc.) */ } >FLASH - .ARM.extab : + .ARM.extab (READONLY) : { *(.ARM.extab* .gnu.linkonce.armextab.*) } >FLASH - .ARM : + .ARM (READONLY) : { __exidx_start = .; *(.ARM.exidx*) __exidx_end = .; } >FLASH - .preinit_array : + .preinit_array (READONLY) : { PROVIDE_HIDDEN (__preinit_array_start = .); KEEP (*(.preinit_array*)) PROVIDE_HIDDEN (__preinit_array_end = .); } >FLASH - .init_array : + .init_array (READONLY) : { PROVIDE_HIDDEN (__init_array_start = .); KEEP (*(SORT(.init_array.*))) @@ -108,7 +108,7 @@ SECTIONS PROVIDE_HIDDEN (__init_array_end = .); } >FLASH - .fini_array : + .fini_array (READONLY) : { PROVIDE_HIDDEN (__fini_array_start = .); KEEP (*(SORT(.fini_array.*))) diff --git a/variants/STM32WBAxx/WBA55C(E-G)U/ldscript.ld b/variants/STM32WBAxx/WBA55C(E-G)U/ldscript.ld index 83cf331b03..929d5f0b05 100644 --- a/variants/STM32WBAxx/WBA55C(E-G)U/ldscript.ld +++ b/variants/STM32WBAxx/WBA55C(E-G)U/ldscript.ld @@ -85,13 +85,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -99,7 +99,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -108,7 +108,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -118,7 +118,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32WBxx/WB15CCU/ldscript.ld b/variants/STM32WBxx/WB15CCU/ldscript.ld index b769e7e651..0965f3ef0c 100644 --- a/variants/STM32WBxx/WB15CCU/ldscript.ld +++ b/variants/STM32WBxx/WB15CCU/ldscript.ld @@ -87,26 +87,26 @@ SECTIONS } >FLASH .ARM.extab : { *(.ARM.extab* .gnu.linkonce.armextab.*) } >FLASH - .ARM : { + .ARM (READONLY) : { __exidx_start = .; *(.ARM.exidx*) __exidx_end = .; } >FLASH - .preinit_array : + .preinit_array (READONLY) : { PROVIDE_HIDDEN (__preinit_array_start = .); KEEP (*(.preinit_array*)) PROVIDE_HIDDEN (__preinit_array_end = .); } >FLASH - .init_array : + .init_array (READONLY) : { PROVIDE_HIDDEN (__init_array_start = .); KEEP (*(SORT(.init_array.*))) KEEP (*(.init_array*)) PROVIDE_HIDDEN (__init_array_end = .); } >FLASH - .fini_array : + .fini_array (READONLY) : { PROVIDE_HIDDEN (__fini_array_start = .); KEEP (*(SORT(.fini_array.*))) diff --git a/variants/STM32WBxx/WB35C(C-E)UxA_WB55C(C-E-G)U/ldscript.ld b/variants/STM32WBxx/WB35C(C-E)UxA_WB55C(C-E-G)U/ldscript.ld index cae1089ca7..4871dff5de 100644 --- a/variants/STM32WBxx/WB35C(C-E)UxA_WB55C(C-E-G)U/ldscript.ld +++ b/variants/STM32WBxx/WB35C(C-E)UxA_WB55C(C-E-G)U/ldscript.ld @@ -88,26 +88,26 @@ SECTIONS } >FLASH .ARM.extab : { *(.ARM.extab* .gnu.linkonce.armextab.*) } >FLASH - .ARM : { + .ARM (READONLY) : { __exidx_start = .; *(.ARM.exidx*) __exidx_end = .; } >FLASH - .preinit_array : + .preinit_array (READONLY) : { PROVIDE_HIDDEN (__preinit_array_start = .); KEEP (*(.preinit_array*)) PROVIDE_HIDDEN (__preinit_array_end = .); } >FLASH - .init_array : + .init_array (READONLY) : { PROVIDE_HIDDEN (__init_array_start = .); KEEP (*(SORT(.init_array.*))) KEEP (*(.init_array*)) PROVIDE_HIDDEN (__init_array_end = .); } >FLASH - .fini_array : + .fini_array (READONLY) : { PROVIDE_HIDDEN (__fini_array_start = .); KEEP (*(SORT(.fini_array.*))) diff --git a/variants/STM32WBxx/WB55R(C-E-G)V/ldscript.ld b/variants/STM32WBxx/WB55R(C-E-G)V/ldscript.ld index ff7b891574..388d614d2d 100644 --- a/variants/STM32WBxx/WB55R(C-E-G)V/ldscript.ld +++ b/variants/STM32WBxx/WB55R(C-E-G)V/ldscript.ld @@ -88,26 +88,26 @@ SECTIONS } >FLASH .ARM.extab : { *(.ARM.extab* .gnu.linkonce.armextab.*) } >FLASH - .ARM : { + .ARM (READONLY) : { __exidx_start = .; *(.ARM.exidx*) __exidx_end = .; } >FLASH - .preinit_array : + .preinit_array (READONLY) : { PROVIDE_HIDDEN (__preinit_array_start = .); KEEP (*(.preinit_array*)) PROVIDE_HIDDEN (__preinit_array_end = .); } >FLASH - .init_array : + .init_array (READONLY) : { PROVIDE_HIDDEN (__init_array_start = .); KEEP (*(SORT(.init_array.*))) KEEP (*(.init_array*)) PROVIDE_HIDDEN (__init_array_end = .); } >FLASH - .fini_array : + .fini_array (READONLY) : { PROVIDE_HIDDEN (__fini_array_start = .); KEEP (*(SORT(.fini_array.*))) diff --git a/variants/STM32WBxx/WB5MMGH/ldscript.ld b/variants/STM32WBxx/WB5MMGH/ldscript.ld index 9a561b5760..8054d6526e 100644 --- a/variants/STM32WBxx/WB5MMGH/ldscript.ld +++ b/variants/STM32WBxx/WB5MMGH/ldscript.ld @@ -88,26 +88,26 @@ SECTIONS } >FLASH .ARM.extab : { *(.ARM.extab* .gnu.linkonce.armextab.*) } >FLASH - .ARM : { + .ARM (READONLY) : { __exidx_start = .; *(.ARM.exidx*) __exidx_end = .; } >FLASH - .preinit_array : + .preinit_array (READONLY) : { PROVIDE_HIDDEN (__preinit_array_start = .); KEEP (*(.preinit_array*)) PROVIDE_HIDDEN (__preinit_array_end = .); } >FLASH - .init_array : + .init_array (READONLY) : { PROVIDE_HIDDEN (__init_array_start = .); KEEP (*(SORT(.init_array.*))) KEEP (*(.init_array*)) PROVIDE_HIDDEN (__init_array_end = .); } >FLASH - .fini_array : + .fini_array (READONLY) : { PROVIDE_HIDDEN (__fini_array_start = .); KEEP (*(SORT(.fini_array.*))) diff --git a/variants/STM32WLxx/WL54CCU_WL55CCU_WLE4C(8-B-C)U_WLE5C(8-B-C)U/ldscript.ld b/variants/STM32WLxx/WL54CCU_WL55CCU_WLE4C(8-B-C)U_WLE5C(8-B-C)U/ldscript.ld index 93f1c4a763..0f5f3ca8c0 100644 --- a/variants/STM32WLxx/WL54CCU_WL55CCU_WLE4C(8-B-C)U_WLE5C(8-B-C)U/ldscript.ld +++ b/variants/STM32WLxx/WL54CCU_WL55CCU_WLE4C(8-B-C)U_WLE5C(8-B-C)U/ldscript.ld @@ -86,13 +86,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -109,7 +109,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -119,7 +119,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .); diff --git a/variants/STM32WLxx/WL54JCI_WL55JCI_WLE4J(8-B-C)I_WLE5J(8-B-C)I/ldscript.ld b/variants/STM32WLxx/WL54JCI_WL55JCI_WLE4J(8-B-C)I_WLE5J(8-B-C)I/ldscript.ld index c5b8367985..4b80849828 100644 --- a/variants/STM32WLxx/WL54JCI_WL55JCI_WLE4J(8-B-C)I_WLE5J(8-B-C)I/ldscript.ld +++ b/variants/STM32WLxx/WL54JCI_WL55JCI_WLE4J(8-B-C)I_WLE5J(8-B-C)I/ldscript.ld @@ -86,13 +86,13 @@ SECTIONS . = ALIGN(4); } >FLASH - .ARM.extab : { + .ARM.extab (READONLY) : { . = ALIGN(4); *(.ARM.extab* .gnu.linkonce.armextab.*) . = ALIGN(4); } >FLASH - .ARM : { + .ARM (READONLY) : { . = ALIGN(4); __exidx_start = .; *(.ARM.exidx*) @@ -100,7 +100,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .preinit_array : + .preinit_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__preinit_array_start = .); @@ -109,7 +109,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .init_array : + .init_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__init_array_start = .); @@ -119,7 +119,7 @@ SECTIONS . = ALIGN(4); } >FLASH - .fini_array : + .fini_array (READONLY) : { . = ALIGN(4); PROVIDE_HIDDEN (__fini_array_start = .);