better attempt to indicate start and end of own BSS; still not good

enough
This commit is contained in:
ceriel 1989-04-04 10:09:27 +00:00
parent 1b6fe5b9ed
commit 3030b5edd1
2 changed files with 6 additions and 2 deletions

View file

@ -16,10 +16,14 @@
exa argv
exa argc
exa MainLB
exa bkillbss
exp $catch
exp $init
inp $trap_handler
bkillbss
bss EM_PSIZE,0,0
exp $m_a_i_n
pro $m_a_i_n, 0

View file

@ -45,8 +45,8 @@ static int blablabla; /* We cannot use end, because then also
killbss()
{
extern char *edata;
register char *p = (char *) &edata;
extern char *bkillbss;
register char *p = (char *) &bkillbss;
while (p < (char *) &blablabla) *p++ = 0x66;
}