diff options
author | Keith Packard <keithp@keithp.com> | 2013-12-18 02:02:12 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-12-18 02:02:12 -0800 |
commit | 012abeda6ae846d74729e96e7ed7c8af2edca572 (patch) | |
tree | 5675a63b78f5f158126d9a49f806fbbbae12a083 /src/lpc | |
parent | e26306c9350ef1d107d4257ef1c09d15165c9154 (diff) |
altos/lpc: Be a bit more resistant to toolchain section name changes
Just add some wild cards on the ends of each section name in case the
toolchain changes names in the future.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/lpc')
-rw-r--r-- | src/lpc/altos-loader.ld | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lpc/altos-loader.ld b/src/lpc/altos-loader.ld index 4f78f552..9df6e456 100644 --- a/src/lpc/altos-loader.ld +++ b/src/lpc/altos-loader.ld @@ -53,7 +53,7 @@ SECTIONS { */ .boot ORIGIN(ram) + SIZEOF(.interrupt) (NOLOAD) : { __boot_start__ = .; - *(.boot) + *(.boot*) __boot_end__ = .; } >ram @@ -61,15 +61,15 @@ SECTIONS { */ .data : { __data_start__ = .; - *(.data) /* initialized data */ + *(.data*) /* initialized data */ __data_end__ = .; } >ram AT>rom .bss : { __bss_start__ = .; - *(.bss) - *(COMMON) + *(.bss*) + *(COMMON*) __bss_end__ = .; } >ram |