diff options
| author | Keith Packard <keithp@keithp.com> | 2013-04-22 20:32:18 -0500 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2013-04-22 20:32:18 -0500 |
| commit | 37cac48fb057cc770000f5fa87984ccf43b07130 (patch) | |
| tree | d2db828fff67886fea325802bd9774fd9fcf0879 /src/stm | |
| parent | ae26e6f1f7be989427ed2985c3e7fe63181aeb80 (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 */ |
