pdp11 loader options
tom at rlgvax.UUCP
tom at rlgvax.UUCP
Tue Jun 14 07:45:47 AEST 1983
Another note should be made about the "ld" option "-n".
As discussed, if NEITHER "-n" or "-i" is specified, you get the
default, which is that each user runs his own copy of the complete
program, with no sharing of the text and text is not write-protected.
In short, there is no distinction between text and data, and they are
put in the same memory mapping segments.
A program may fit in 16-bit addressing in the default case, but may
not fit when link-edited with the "-n" option. This is because the text
must be set up in separate map segments to be protected and shared.
This generally requires an extra memory mapping register. If your
program is big and using all them already it will no longer fit.
I believe the error you get is a simple "too big" when you try to execute
it without the program ever getting to first base.
- Tom Beres
{mcnc, seismo, allegra, brl-bmd}!rlgvax!tom
More information about the Comp.unix.wizards
mailing list