From 012abeda6ae846d74729e96e7ed7c8af2edca572 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Wed, 18 Dec 2013 02:02:12 -0800 Subject: [PATCH] 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 --- src/lpc/altos-loader.ld | 8 ++++---- 1 file 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 -- 2.30.2