Fix relocation type for _bsssize being R_MSP430X_ABS16 when large memory model is used

This commit is contained in:
Jozef Lawrynowicz 2017-04-19 11:47:13 +00:00 committed by Corinna Vinschen
parent fe86ad29d6
commit 161b4ff037
1 changed files with 2 additions and 2 deletions

View File

@ -72,9 +72,9 @@ START_CRT_FUNC 0100 init_bss
mov_ #__bssstart, R12
clr.w R13
mov.w #__bsssize, R14
mov_ #__bsssize, R14
#ifdef __MSP430X_LARGE__
clr.w R15 ; We assume that __bsssize is never > 64M
clr.w R15 ; We assume that __bsssize is never > 64K
#endif
call_ #memset