From 20ac468a2c661bb79fdb2c9cc99ce395d9da8d0e Mon Sep 17 00:00:00 2001 From: Nicolas Reinecke Date: Sun, 10 Jan 2016 20:22:56 +0100 Subject: [PATCH] fix *.ld codestyle --- bootloader/stm32_flash.ld | 4 ++-- stm32_flash.ld | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/bootloader/stm32_flash.ld b/bootloader/stm32_flash.ld index 596256cc..b43cafec 100644 --- a/bootloader/stm32_flash.ld +++ b/bootloader/stm32_flash.ld @@ -60,7 +60,7 @@ SECTIONS KEEP(*(.isr_vector)) /* Startup code */ . = ALIGN(4); } >FLASH - + /* version info needs to have a section, so the bootloader and python script can find it */ .version_info : { @@ -79,7 +79,7 @@ SECTIONS *(.rodata*) /* .rodata* sections (constants, strings, etc.) */ *(.glue_7) /* glue arm to thumb code */ *(.glue_7t) /* glue thumb to arm code */ - *(.eh_frame) + *(.eh_frame) KEEP (*(.init)) KEEP (*(.fini)) diff --git a/stm32_flash.ld b/stm32_flash.ld index b0e45d9e..aee4e3db 100644 --- a/stm32_flash.ld +++ b/stm32_flash.ld @@ -64,19 +64,19 @@ SECTIONS KEEP(*(.isr_vector)) /* Startup code */ . = ALIGN(4); } >FLASH - + /* version info needs to have a section, so the bootloader and python script can find it */ .version_info : { . = ALIGN(4); - KEEP(*(.version_info)) + KEEP(*(.version_info)) . = ALIGN(4); } >FLASH - + .hv_firmware : { . = ALIGN(4); - KEEP(*(.hv_firmware)) + KEEP(*(.hv_firmware)) . = ALIGN(4); } >FLASH @@ -90,7 +90,7 @@ SECTIONS *(.rodata*) /* .rodata* sections (constants, strings, etc.) */ *(.glue_7) /* glue arm to thumb code */ *(.glue_7t) /* glue thumb to arm code */ - *(.eh_frame) + *(.eh_frame) KEEP (*(.init)) KEEP (*(.fini))