altos/telelco-v2.0: A bit fancier with the drag-mode LED show
[fw/altos] / src / stmf0 / altos.ld
index 9dbc83d0b6967116faa6ffe1ce4c57cd305e7a5f..74fdf3eaeb3b595268938a0965219e157e131954 100644 (file)
@@ -3,7 +3,8 @@
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -54,10 +55,16 @@ SECTIONS {
                ao_product.o(.romconfig*)
 
                *(.text*)       /* Executable code */
+       } > rom
+
+       .ARM.exidx : {
                *(.ARM.exidx* .gnu.linkonce.armexidx.*)
-               *(.rodata*)     /* Constants */
+       } > rom
 
+       .rodata : {
+               *(.rodata*)     /* Constants */
        } > rom
+
        __text_end__ = .;
 
        /* Boot data which must live at the start of ram so that