diff options
| author | Keith Packard <keithp@keithp.com> | 2013-04-22 20:32:18 -0500 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2013-05-07 21:30:26 -0700 |
| commit | 6cd015b8b6b02bd8e0ce28f248426ae75c242b53 (patch) | |
| tree | b0699fd02932c9a7e1b0c635f8d6f0b091771675 /src/stm | |
| parent | 02681adbc5919bd3713788da352aa36ace619ef4 (diff) | |
altos/stm: Shrink stm flash loader to < 4kB
Saves 4kB of flash space for applications.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm')
| -rw-r--r-- | src/stm/altos-loader.ld | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/src/stm/altos-loader.ld b/src/stm/altos-loader.ld index 14b45351..78649be2 100644 --- a/src/stm/altos-loader.ld +++ b/src/stm/altos-loader.ld @@ -32,21 +32,7 @@ SECTIONS { .text : { __text_start__ = .; *(.interrupt) /* Interrupt vectors */ - - . = ORIGIN(rom) + 0x100; - - /* Ick. What I want is to specify the - * addresses of some global constants so - * that I can find them across versions - * of the application. I can't figure out - * how to make gnu ld do that, so instead - * we just load the two files that include - * these defines in the right order here and - * expect things to 'just work'. Don't change - * the contents of those files, ok? - */ - ao_romconfig.o(.romconfig*) - ao_product.o(.romconfig*) + *(.romconfig) *(.text) /* Executable code */ *(.rodata) /* Constants */ |
