4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-22 00:38:06 +08:00

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

View File

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