[7315] in Athena Bugs

home help back first fref pref prev next nref lref last post

/bin/ld

daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Thu Mar 14 22:58:13 1991

To: bugs@ATHENA.MIT.EDU
Date: Thu, 14 Mar 91 22:58:02 EST
From: John Carr <jfc@ATHENA.MIT.EDU>


There was a mistake in my earlier message.  Replace 

 		    cursym.n_value!=sp->n_value && sp->n_value != torigin) {

with

		    cursym.n_value!=sp->n_value && ((arflag == rflag) || cursym.n_value != sp->n_value - pagesize)) {

The problem here is that undefined symbols disable Zflag and reset the
text origin after some symbols have been relocated.  arflag != rflag
is true if this happened.


home help back first fref pref prev next nref lref last post