9
0
Fork 0

fix underscore count in bss_start/bss_stop

As done in the Linux Kernel

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2011-12-07 13:05:22 +01:00
parent 8145c67ff8
commit e629a53a14
2 changed files with 6 additions and 6 deletions

View File

@ -84,9 +84,9 @@ SECTIONS
___usymtab_end = .;
. = ALIGN(4);
__bss_start = .;
___bss_start = .;
.bss : { *(.bss) }
__bss_stop = .;
___bss_stop = .;
_end = .;
}

View File

@ -163,8 +163,8 @@ offset:
p2.h = hi(TEXT_BASE);
p3 = 0x04;
p4.l = __bss_start;
p4.h = __bss_start;
p4.l = ___bss_start;
p4.h = ___bss_start;
loop1:
r1 = [p1 ++ p3];
[p2 ++ p3] = r1;
@ -308,8 +308,8 @@ WAIT_DMA_DONE:
W[P1+OFFSET_(MDMA_D0_IRQ_STATUS)] = R0; /* Write 1 to clear DMA interrupt */
/* Initialize BSS Section with 0 s */
p1.l = __bss_start;
p1.h = __bss_start;
p1.l = ___bss_start;
p1.h = ___bss_start;
p2.l = _end;
p2.h = _end;
r1 = p1;