forked from apache/mynewt-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hmcu/stm32: Add link_tables to all ld scripts
newt tool can create link_tables.ld.h file from pkg.link_table section This modifies all STM32 linker scripts to have this functionality. G4 and G0 already have common linker script so they are already covered. Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl>
- Loading branch information
Showing
19 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,6 +107,7 @@ SECTIONS | |
*(SORT(.dtors.*)) | ||
*(.dtors) | ||
|
||
INCLUDE "link_tables.ld.h" | ||
*(.rodata*) | ||
|
||
KEEP(*(.eh_frame*)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,6 +107,7 @@ SECTIONS | |
*(SORT(.dtors.*)) | ||
*(.dtors) | ||
|
||
INCLUDE "link_tables.ld.h" | ||
*(.rodata*) | ||
|
||
KEEP(*(.eh_frame*)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -108,6 +108,7 @@ SECTIONS | |
*(SORT(.dtors.*)) | ||
*(.dtors) | ||
|
||
INCLUDE "link_tables.ld.h" | ||
*(.rodata*) | ||
|
||
KEEP(*(.eh_frame*)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -105,6 +105,7 @@ SECTIONS | |
*(SORT(.dtors.*)) | ||
*(.dtors) | ||
|
||
INCLUDE "link_tables.ld.h" | ||
*(.rodata*) | ||
|
||
KEEP(*(.eh_frame*)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -105,6 +105,7 @@ SECTIONS | |
*(SORT(.dtors.*)) | ||
*(.dtors) | ||
|
||
INCLUDE "link_tables.ld.h" | ||
*(.rodata*) | ||
|
||
KEEP(*(.eh_frame*)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -105,6 +105,7 @@ SECTIONS | |
*(SORT(.dtors.*)) | ||
*(.dtors) | ||
|
||
INCLUDE "link_tables.ld.h" | ||
*(.rodata*) | ||
|
||
KEEP(*(.eh_frame*)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,6 +107,7 @@ SECTIONS | |
*(SORT(.dtors.*)) | ||
*(.dtors) | ||
|
||
INCLUDE "link_tables.ld.h" | ||
*(.rodata*) | ||
|
||
KEEP(*(.eh_frame*)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -105,6 +105,7 @@ SECTIONS | |
*(SORT(.dtors.*)) | ||
*(.dtors) | ||
|
||
INCLUDE "link_tables.ld.h" | ||
*(.rodata*) | ||
|
||
KEEP(*(.eh_frame*)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -108,6 +108,7 @@ SECTIONS | |
*(SORT(.dtors.*)) | ||
*(.dtors) | ||
|
||
INCLUDE "link_tables.ld.h" | ||
*(.rodata*) | ||
|
||
KEEP(*(.eh_frame*)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -108,6 +108,7 @@ SECTIONS | |
*(SORT(.dtors.*)) | ||
*(.dtors) | ||
|
||
INCLUDE "link_tables.ld.h" | ||
*(.rodata*) | ||
|
||
KEEP(*(.eh_frame*)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,6 +107,7 @@ SECTIONS | |
*(SORT(.dtors.*)) | ||
*(.dtors) | ||
|
||
INCLUDE "link_tables.ld.h" | ||
*(.rodata*) | ||
|
||
KEEP(*(.eh_frame*)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,6 +107,7 @@ SECTIONS | |
*(SORT(.dtors.*)) | ||
*(.dtors) | ||
|
||
INCLUDE "link_tables.ld.h" | ||
*(.rodata*) | ||
|
||
KEEP(*(.eh_frame*)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,6 +107,7 @@ SECTIONS | |
*(SORT(.dtors.*)) | ||
*(.dtors) | ||
|
||
INCLUDE "link_tables.ld.h" | ||
*(.rodata*) | ||
|
||
KEEP(*(.eh_frame*)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -106,6 +106,7 @@ SECTIONS | |
*(SORT(.dtors.*)) | ||
*(.dtors) | ||
|
||
INCLUDE "link_tables.ld.h" | ||
*(.rodata*) | ||
|
||
KEEP(*(.eh_frame*)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -106,6 +106,7 @@ SECTIONS | |
*(SORT(.dtors.*)) | ||
*(.dtors) | ||
|
||
INCLUDE "link_tables.ld.h" | ||
*(.rodata*) | ||
|
||
KEEP(*(.eh_frame*)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,6 +107,7 @@ SECTIONS | |
*(SORT(.dtors.*)) | ||
*(.dtors) | ||
|
||
INCLUDE "link_tables.ld.h" | ||
*(.rodata*) | ||
|
||
KEEP(*(.eh_frame*)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -106,6 +106,7 @@ SECTIONS | |
*(SORT(.dtors.*)) | ||
*(.dtors) | ||
|
||
INCLUDE "link_tables.ld.h" | ||
*(.rodata*) | ||
|
||
KEEP(*(.eh_frame*)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -106,6 +106,7 @@ SECTIONS | |
*(SORT(.dtors.*)) | ||
*(.dtors) | ||
|
||
INCLUDE "link_tables.ld.h" | ||
*(.rodata*) | ||
|
||
KEEP(*(.eh_frame*)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,6 +107,7 @@ SECTIONS | |
*(SORT(.dtors.*)) | ||
*(.dtors) | ||
|
||
INCLUDE "link_tables.ld.h" | ||
*(.rodata*) | ||
|
||
KEEP(*(.eh_frame*)) | ||
|