diff options
| author | Bdale Garbee <bdale@gag.com> | 2017-12-21 19:07:13 -0700 | 
|---|---|---|
| committer | Bdale Garbee <bdale@gag.com> | 2017-12-21 19:07:13 -0700 | 
| commit | 456c27a7ed26e4edde02aa0a0b8ef4f46f1ea464 (patch) | |
| tree | 7c259a612e315ac439c2d6ac87e08f6c67b68485 /src/lambdakey-v1.0/lambda.ld | |
| parent | fe2fe0f4b8382d7e0a5eceaeccced28ef004dab8 (diff) | |
| parent | 16a9d8617b2d2092d166a85ada4349601afb0dce (diff) | |
Merge branch 'branch-1.8' into debian
Diffstat (limited to 'src/lambdakey-v1.0/lambda.ld')
| -rw-r--r-- | src/lambdakey-v1.0/lambda.ld | 13 | 
1 files changed, 5 insertions, 8 deletions
diff --git a/src/lambdakey-v1.0/lambda.ld b/src/lambdakey-v1.0/lambda.ld index 5de65eb5..b09fdb4a 100644 --- a/src/lambdakey-v1.0/lambda.ld +++ b/src/lambdakey-v1.0/lambda.ld @@ -17,10 +17,9 @@   */  MEMORY { -	rom (rx) :   ORIGIN = 0x08001000, LENGTH = 25K -	flash (r):   ORIGIN = 0x08007400, LENGTH = 3k -	ram (!w) :   ORIGIN = 0x20000000, LENGTH = 6k - 128 -	stack (!w) : ORIGIN = 0x20000000 + 6k - 128, LENGTH = 128 +	rom (rx) :   ORIGIN = 0x08001000, LENGTH = 28K +	ram (!w) :   ORIGIN = 0x20000000, LENGTH = 6k - 1k +	stack (!w) : ORIGIN = 0x20000000 + 6k - 1k, LENGTH = 1k  }  INCLUDE registers.ld @@ -93,9 +92,9 @@ SECTIONS {  	/* Data -- relocated to RAM, but written to ROM  	 */ -	.data : { +	.data BLOCK(8): {  		*(.data)	/* initialized data */ -		. = ALIGN(4); +		. = ALIGN(8);  		__data_end__ = .;  	} >ram AT>rom @@ -110,8 +109,6 @@ SECTIONS {  	PROVIDE(end = .);  	PROVIDE(__stack__ = ORIGIN(stack) + LENGTH(stack)); - -	__flash__ = ORIGIN(flash);  }  ENTRY(start);  | 
