Remove empty lines from linker script, Make .bss section NOLOAD
This commit is contained in:
		@@ -124,16 +124,10 @@ SECTIONS
 | 
				
			|||||||
    _sccmram = .;       /* create a global symbol at ccmram start */
 | 
					    _sccmram = .;       /* create a global symbol at ccmram start */
 | 
				
			||||||
    *(.ccmram)
 | 
					    *(.ccmram)
 | 
				
			||||||
    *(.ccmram*)
 | 
					    *(.ccmram*)
 | 
				
			||||||
    
 | 
					 | 
				
			||||||
    . = ALIGN(4);
 | 
					    . = ALIGN(4);
 | 
				
			||||||
    _eccmram = .;       /* create a global symbol at ccmram end */
 | 
					    _eccmram = .;       /* create a global symbol at ccmram end */
 | 
				
			||||||
  } >CCM AT> FLASH
 | 
					  } >CCM AT> FLASH
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 _sidata = LOADADDR(.data);
 | 
					 _sidata = LOADADDR(.data);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  /* Initialized data sections goes into RAM, load LMA copy after code */
 | 
					  /* Initialized data sections goes into RAM, load LMA copy after code */
 | 
				
			||||||
@@ -143,7 +137,6 @@ SECTIONS
 | 
				
			|||||||
    _sdata = .;        /* create a global symbol at data start */
 | 
					    _sdata = .;        /* create a global symbol at data start */
 | 
				
			||||||
    *(.data)           /* .data sections */
 | 
					    *(.data)           /* .data sections */
 | 
				
			||||||
    *(.data*)          /* .data* sections */
 | 
					    *(.data*)          /* .data* sections */
 | 
				
			||||||
 | 
					 | 
				
			||||||
    . = ALIGN(4);
 | 
					    . = ALIGN(4);
 | 
				
			||||||
    _edata = .;        /* define a global symbol at data end */
 | 
					    _edata = .;        /* define a global symbol at data end */
 | 
				
			||||||
  } >RAM AT> FLASH
 | 
					  } >RAM AT> FLASH
 | 
				
			||||||
@@ -152,7 +145,7 @@ SECTIONS
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  /* Uninitialized data section */
 | 
					  /* Uninitialized data section */
 | 
				
			||||||
  . = ALIGN(4);
 | 
					  . = ALIGN(4);
 | 
				
			||||||
  .bss :
 | 
					  .bss (NOLOAD):
 | 
				
			||||||
  {
 | 
					  {
 | 
				
			||||||
    /* This is used by the startup in order to initialize the .bss secion */
 | 
					    /* This is used by the startup in order to initialize the .bss secion */
 | 
				
			||||||
    _sbss = .;         /* define a global symbol at bss start */
 | 
					    _sbss = .;         /* define a global symbol at bss start */
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user