Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
deltaflight
deltaflight
Commits
5dee96c3
Commit
5dee96c3
authored
Jun 21, 2015
by
Dominic Clifton
Browse files
Save a few bytes of flash by aligning BSS data.
parent
7db62674
Changes
6
Hide whitespace changes
Inline
Side-by-side
src/main/target/stm32_flash_f103_128k.ld
View file @
5dee96c3
...
...
@@ -97,7 +97,6 @@ SECTIONS
_sdata = .; /* create a global symbol at data start */
*(.data) /* .data sections */
*(.data*) /* .data* sections */
. = ALIGN(4);
_edata = .; /* define a global symbol at data end */
} >RAM AT> FLASH
...
...
@@ -110,7 +109,7 @@ SECTIONS
_sbss = .; /* define a global symbol at bss start */
__bss_start__ = _sbss;
*(.bss)
*(.bss*)
*(
SORT_BY_ALIGNMENT(
.bss*)
)
*(COMMON)
. = ALIGN(4);
...
...
src/main/target/stm32_flash_f103_128k_opbl.ld
View file @
5dee96c3
...
...
@@ -111,7 +111,7 @@ SECTIONS
_sbss = .; /* define a global symbol at bss start */
__bss_start__ = _sbss;
*(.bss)
*(.bss*)
*(
SORT_BY_ALIGNMENT(
.bss*)
)
*(COMMON)
. = ALIGN(4);
...
...
src/main/target/stm32_flash_f103_256k.ld
View file @
5dee96c3
...
...
@@ -109,7 +109,7 @@ SECTIONS
_sbss = .; /* define a global symbol at bss start */
__bss_start__ = _sbss;
*(.bss)
*(.bss*)
*(
SORT_BY_ALIGNMENT(
.bss*)
)
*(COMMON)
. = ALIGN(4);
...
...
src/main/target/stm32_flash_f103_64k.ld
View file @
5dee96c3
...
...
@@ -109,7 +109,7 @@ SECTIONS
_sbss = .; /* define a global symbol at bss start */
__bss_start__ = _sbss;
*(.bss)
*(.bss*)
*(
SORT_BY_ALIGNMENT(
.bss*)
)
*(COMMON)
. = ALIGN(4);
...
...
src/main/target/stm32_flash_f303_128k.ld
View file @
5dee96c3
...
...
@@ -109,7 +109,7 @@ SECTIONS
_sbss = .; /* define a global symbol at bss start */
__bss_start__ = _sbss;
*(.bss)
*(.bss*)
*(
SORT_BY_ALIGNMENT(
.bss*)
)
*(COMMON)
. = ALIGN(4);
...
...
src/main/target/stm32_flash_f303_256k.ld
View file @
5dee96c3
...
...
@@ -109,7 +109,7 @@ SECTIONS
_sbss = .; /* define a global symbol at bss start */
__bss_start__ = _sbss;
*(.bss)
*(.bss*)
*(
SORT_BY_ALIGNMENT(
.bss*)
)
*(COMMON)
. = ALIGN(4);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment