[1643] in Athena Bugs

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

Re: ld Z0MAGIC man page

daemon@ATHENA.MIT.EDU (epeisach@ATHENA.MIT.EDU)
Fri Jan 13 13:36:22 1989

From: <epeisach@ATHENA.MIT.EDU>
Date: Fri, 13 Jan 89 13:35:12 EST
To: manbugs@ATHENA.MIT.EDU
Cc: geer@ATHENA.MIT.EDU, bugs@ATHENA.MIT.EDU

I was refered to the man page in the z0magic patch file and I snarfed
the following text from the network mods. I put in a few comments about
the Vax and RT differences. I still believe the 2048/1024 discrepencies
in the rest of the man page should eventually be reconciled. As the man
pages are are being maintained in the system dependent man directories,
I believe on installation, the proper 1024/2048 swaps should be made.

	Ezra

*** p.s.v.m.m1.ld.1	Fri Jan 13 13:34:22 1989
--- /paris/source/vax/man/man1/ld.1	Tue Dec 15 16:14:01 1987
***************
*** 4,10 ****
  .\"
  .\"	@(#)ld.1	6.2 (Berkeley) 5/8/86
  .\"
! .TH LD 1 "January 13, 1989"
  .UC 4
  .SH NAME
  ld \- link editor
--- 4,10 ----
  .\"
  .\"	@(#)ld.1	6.2 (Berkeley) 5/8/86
  .\"
! .TH LD 1 "May 8, 1986"
  .UC 4
  .SH NAME
  ld \- link editor
***************
*** 218,224 ****
  .TP
  .B \-z
  Arrange for the process to be loaded on
! demand from the resulting executable file (0413 format)
  rather than preloaded.
  This is the default.
  Results in a 1024 byte header on the output file followed by
--- 218,224 ----
  .TP
  .B \-z
  Arrange for the process to be loaded on
! demand from the resulting executable file (413 format)
  rather than preloaded.
  This is the default.
  Results in a 1024 byte header on the output file followed by
***************
*** 228,245 ****
  (from the output of
  .IR size (1))
  to live in the data segment;
! this to avoid wasting the space resulting from data segment size
! roundup.
! .TP
! .B \-Z
! Similar to
! .B \-z
! format except for two things:  (1) the magic number is 0420, (2) the
! first page of the text segment is filled with zeros and the entry point
! is immediately following instead of an offset of 0.  (The offset is 1024 on
! the VAX, 2048 on the RT).
! The kernel doesn't map page 0, so a reference to NULL causes a bus error
! on the VAX and segmentation violation on IBM RT and SUN architectures.
  .SH FILES
  .ta \w'/usr/local/lib/lib*.a\ \ 'u
  /lib/lib*.a	libraries
--- 228,234 ----
  (from the output of
  .IR size (1))
  to live in the data segment;
! this to avoid wasting the space resulting from data segment size roundup.
  .SH FILES
  .ta \w'/usr/local/lib/lib*.a\ \ 'u
  /lib/lib*.a	libraries

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