From:	SMTP%"RELAY-INFO-VAX@CRVAX.SRI.COM" 11-JUL-1994 12:42:07.65
To:	EVERHART
CC:	
Subj:	Errors in Appendix B of the openVMS linker manual (EVAX object language)

X-Newsgroups: comp.os.vms
From: kkaempf@didymus.rmi.de (Klaus Kaempf)
Subject: Errors in Appendix B of the openVMS linker manual (EVAX object language)
Message-ID: <CsqCHp.J2H@didymus.rmi.de>
Summary: openVMS linker manual errors (and fixes)
Keywords: openVMS linker EVAX
Organization: proGIS Softwareentwicklung
Date: Sun, 10 Jul 1994 15:03:24 GMT
Lines: 64
To: Info-VAX@CRVAX.SRI.COM
X-Gateway-Source-Info: USENET


Having posted this to 'vmsnet.alpha' without success, i'm trying to get
some more answers (preferably from someone at digital) in 'comp.os.vms'.

While working with the EVAX object language, i discovered the following
errors and typos in the openVMS linker manual.


Section B.3.2.1 (GSD Subrecord for a Global Symbol Def.)

These changes i'm not sure of. The values should be 8 bytes wide (we're
an a 64 bit system, are we ?) but maybe only 4 bytes are valid and 4 bytes
are 'reserved to digital' :-) The structure uses 8 bytes however.

change		ESDF$L_VALUE (4 bytes)
to		ESDF$Q_VALUE (8 bytes)

change		ESDF$L_CODE_ADDRESS (4 bytes)
to		ESDF$Q_CODE_ADDRESS (8 bytes)

change		ESDF$L_CA_PSINDX (4 bytes)
to		ESDF$Q_CA_PSINDX (8 bytes)


Section B.5 (End-of-Module Record)

(just before EEOM$L_PSINDX)

change		EEOM$B_TEMP (1 byte)
to		EEOM$W_TEMP (2 bytes)

this is definitely wrong since there are 2 byte values before and with
a 1-byte alignment EEOM$L_PSINDX would be on an odd address boundary.


Table B-9: Store Commands

change		62	Reserved to Digital
to		62	ETIR$C_STO_GBL_LW	Argument: counted string

This ETIR command isn't explained in the documentation but is emitted
by the DEC C-Compiler and allowed by ANALYZE/IMAGE.
What does it do ??


change		64	ETIR$C_STO_BR_GBL
to		64	ETIR$C_STO_HINT_GBL

change		65	ETIR$C_STO_BR_PS
to		65	ETIR$C_STO_HINT_PS

now the symbols match their definition in 'etirdef.h'


Someone out there with some knowledge ? Are my changes correct ?


Klaus

-- 
Klaus Kaempf                 E-Mail: kkaempf@didymus.rmi.de
Jakobstr. 181                Fax:    0241-403407
D-52064 Aachen               Voice:  0241-403446
Germany                      http://www.rmi.de

