changeset 97:80e3a78126ac

gcc/ld-script.src: .bss_dar moved to the beginning of XRAM
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 21 Jul 2018 02:10:28 +0000
parents 85a26478b7de
children 5fe5853f4e63
files gcc/ld-script.src
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/gcc/ld-script.src	Sat Jul 21 01:30:53 2018 +0000
+++ b/gcc/ld-script.src	Sat Jul 21 02:10:28 2018 +0000
@@ -79,6 +79,10 @@
 		*(.rodata*)
 	} > Buildmem
 
+	.bss_dar (NOLOAD) : {
+		*dar_gbl_var.a:(.bss* COMMON)
+	} > XRAM
+
 	/*
 	 * All .data will go into XRAM.
 	 * For the flash build we'll have a step that copies
@@ -94,10 +98,6 @@
 	__initdata_size = SIZEOF(.data);
 ')dnl
 
-	.bss_dar (NOLOAD) : {
-		*dar_gbl_var.a:(.bss* COMMON)
-	} > XRAM
-
 	/* we have two kinds of BSS: internal and external */
 	int.bss (NOLOAD) : {
 		*(.l1s_global)