aboutsummaryrefslogtreecommitdiff
path: root/lib/lm3s
diff options
context:
space:
mode:
authorFergus Noble2012-01-25 22:05:09 -0800
committerUwe Hermann2012-02-06 23:08:06 +0100
commitfae83c43c105bb51326ab9d1464df9b912447b48 (patch)
tree6d55fa2ab1f6ab22c878a8924b047eaa42bedbed /lib/lm3s
parent31b04665252dc33c81caf88f4214354cfc57196e (diff)
Discard .ARM.exidx section to make newlib 64bit (long long) printf support work. This may need to be fixed if using C++.
Diffstat (limited to 'lib/lm3s')
-rw-r--r--lib/lm3s/libopencm3_lm3s.ld5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/lm3s/libopencm3_lm3s.ld b/lib/lm3s/libopencm3_lm3s.ld
index ebb79df..67dd7ba 100644
--- a/lib/lm3s/libopencm3_lm3s.ld
+++ b/lib/lm3s/libopencm3_lm3s.ld
@@ -55,6 +55,11 @@ SECTIONS
* You may need to fix this if you're using C++.
*/
/DISCARD/ : { *(.eh_frame) }
+ /*
+ * Another section used by C++ stuff, appears when using newlib with 64bit
+ * (long long) printf support - discard it for now.
+ */
+ /DISCARD/ : { *(.ARM.exidx) }
end = .;
}