ld scripts: drop duplication of standard sections

Instead of every "simple" target having their own duplicate file with
all the section mappings, just provide a single, simple,
"cortex-m-generic.ld" that works with our startup code and any simple
rom/ram system.  This also drops the pointless copying of files all over
the place.  Using -L flags properly is sufficient, and the standard file
is now in the root of the library already.
This commit is contained in:
Karl Palsson
2018-03-14 21:43:02 +00:00
parent dd87b5bed2
commit 9a05dcb6c0
58 changed files with 48 additions and 2376 deletions

View File

@@ -27,5 +27,5 @@ MEMORY
}
/* Include the common ld script. */
INCLUDE libopencm3_stm32f1.ld
INCLUDE cortex-m-generic.ld