From: forsyth@caldo.demon.co.uk
To: 9fans@cs.psu.edu
Subject: [9fans] kl
Date: Tue, 2 Apr 2002 10:37:12 +0100 [thread overview]
Message-ID: <20020402094046.1B00219988@mail.cse.psu.edu> (raw)
i think this is at least part of the problem (kl isn't up to date in
the released version, and hasn't got the xrefresolv changes).
it links cpu when i include them. i suppose there was a backwards
dependency somewhere.
diff /n/dump/2002/0329/sys/src/cmd/kl/l.h ./l.h
224a225
> EXTERN int xrefresolv;
293c294
< void loadlib(int, int);
---
> void loadlib(void);
diff /n/dump/2002/0329/sys/src/cmd/kl/obj.c ./obj.c
16a17
> * -H3 -T0xE0004000 -R4 is javastation boot format
118a120,128
> case 3: /* javastation boot */
> HEADR = 32L;
> if(INITTEXT == -1)
> INITTEXT = 0xE0004020L;
> if(INITDAT == -1)
> INITDAT = 0;
> if(INITRND == -1)
> INITRND = 4;
> break;
165c175
< loadlib(0, libraryp);
---
> loadlib();
195c205
< loadlib(int beg, int end)
---
> loadlib(void)
197c207,209
< int i, t;
---
> int i;
> long h;
> Sym *s;
199,200c211,213
< for(i=end-1; i>=beg; i--) {
< t = libraryp;
---
> loop:
> xrefresolv = 0;
> for(i=0; i<libraryp; i++) {
204,205d216
< if(t != libraryp)
< loadlib(t, libraryp);
206a218,222
> if(xrefresolv)
> for(h=0; h<nelem(hash); h++)
> for(s = hash[h]; s != S; s = s->link)
> if(s->type == SXREF)
> goto loop;
317a334
> xrefresolv = 1;
next reply other threads:[~2002-04-02 9:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-02 9:37 forsyth [this message]
2002-04-02 10:32 ` Lucio De Re
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020402094046.1B00219988@mail.cse.psu.edu \
--to=forsyth@caldo.demon.co.uk \
--cc=9fans@cs.psu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).