changeset 101:35e3963f03e9

target-utils/c139-lldbg/lldbg.lds: properly disallow .data at last
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 01 Nov 2016 00:15:59 +0000
parents d7ef80dce192
children 3431a069254f
files target-utils/c139-lldbg/lldbg.lds
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/target-utils/c139-lldbg/lldbg.lds	Tue Nov 01 00:09:34 2016 +0000
+++ b/target-utils/c139-lldbg/lldbg.lds	Tue Nov 01 00:15:59 2016 +0000
@@ -19,12 +19,10 @@
         *(.rodata*)
     }
 
-    /* initialized data */
-    . = ALIGN(4);
-    .data : {
+    /* cannot have any initialized data */
+    /DISCARD/ : {
         *(.data)
     }
-    PROVIDE(edata = .);
 
     /* uninitialized data */
     .bss 0x83C000 (NOLOAD) : {