aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas W. Barr2012-10-08 16:42:47 -0500
committerThomas W. Barr2012-10-08 16:42:47 -0500
commitf94d71efee4afd49e475f056707fa34b0820e664 (patch)
tree3b5134afa4428e98f1770d025e1d7beecdfc5438
parent8f9f2bdc005648c19fbe62426210b3b560662776 (diff)
add _end and __end symbols for compatibility with code written against CodeSourcery linkers
-rw-r--r--lib/lm3s/libopencm3_lm3s.ld2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/lm3s/libopencm3_lm3s.ld b/lib/lm3s/libopencm3_lm3s.ld
index ceb391a..4aaf4d9 100644
--- a/lib/lm3s/libopencm3_lm3s.ld
+++ b/lib/lm3s/libopencm3_lm3s.ld
@@ -77,6 +77,8 @@ SECTIONS
. = ALIGN(4);
end = .;
+ _end = .;
+ __end = .;
}
PROVIDE(_stack = ORIGIN(ram) + LENGTH(ram));