Google
 

Trailing-Edge - PDP-10 Archives - FORTRAN-10_V7wLink_Feb83 - link.bwr
There are 17 other files named link.bwr in the archive. Click here to see a list.


         LINK.BWR: LINK Version 5.1(2030) 1 Feb 83




Copyright (C) 1983 Digital Equipment  Corporation,  Maynard,
MA.


This software is furnished under a license and may  be  used
and copied only in accordance with the terms of such license
and with the inclusion of the above copyright notice.   This
software  or any other copies thereof may not be provided or
otherwise made available to any other person.  No  title  to
and ownership of the software is hereby transferred.

The information  in  this  software  is  subject  to  change
without  notice  and should not be construed as a commitment
by Digital Equipment Corporation.

Digital assumes no responsibility for the use or reliability
of  its  software  on  equipment  which  is  not supplied by
Digital.
                                                      Page 2


The following problem will be fixed on  a  future  AUTOPATCH
tape.  If you patch the LINK sources keep an unmodified copy
as AUTOPATCHing LINK requires the use of  standard  sources.
The patches described here can also be installed using DDT.

     1.  When loading  a  FORTRAN  program  containing  SAVE
         statements   or   blank   COMMONs  LINK  will  open
         SYS:OVRLAY.REL whether or  not  /OVERLAY  has  been
         specified.  The following patch solves this problem
         as well as a variety  of  other  reported  problems
         (notably  problems in loading DBMS) and we strongly
         recommend its installation:

[Symptom]

When loading FORTRAN programs containing SAVE statements or blank
COMMONs:

1. LINK opens SYS:OVRLAY.REL even if the program being loaded doesn't
use overlays.

2. LINK gets an illegal memory reference while loading DBMS.

3. Spurious error messages mentioning overlays may be issued by LINK
even though the program being loaded doesn't use overlays.

[Diagnosis]

In order to be certain that variables in COMMON are preserved, even
for overlaid programs, the FORTRAN compiler always includes a Type
1045 block in the FORTRAN object code.  LINK interprets this block as
a request for writable overlays and sets the "writable overlay" flag
in the global OVERLW.

[Cure]

LINK should not set the bit in OVERLW when a type 1045 block is seen
unless OVERLW is already nonzero ( i.e., that /OVERLAY has been seen. )

[FILCOM]

File 1)   L5D:LNKHST.MAC[4,377]    created: 1818 20-Jan-1983
File 2)   DSK:LNKHST.MAC[4,77]     created: 1424 27-Jan-1983

1)1  SUBTTL    D.M.NIXON/DMN/JLd/RKH/JBC/JNG/DCE/MCHC/PAH/DZN/PY/MFB 6-Jan-83
1)   
****
2)1  SUBTTL    D.M.NIXON/DMN/JLd/RKH/JBC/JNG/DCE/MCHC/PAH/DZN/PY/MFB 27-Jan-83
2)   
**************
1)1  DECEVR==2030        ;DEC EDIT VERSION
1)   
****
2)1  DECEVR==2031        ;DEC EDIT VERSION
2)   
                                                      Page 3


**************
1)5  
****
2)5  ;2031     PY   27-Jan-83
2)   ;    Don't set the writable overlay bit when processing type 1045
2)   ;    blocks (FORTRAN SAVE statement) unless actually doing an
2)   ;    overlay load. Prevents undesirable searching of OVRLAY.REL
2)   ;    Routine: LNKNEW
2)   
2)   
**************


File 1)   L5D:LNKNEW.MAC[4,377]    created: 1739 06-Jan-1983
File 2)   DSK:LNKNEW.MAC[4,77]     created: 1419 27-Jan-1983

1)1  SUBTTL    D.M.NIXON/DMN/JLd/TXR/JNG/DZN/PAH/PY  6-Jan-83
1)   
****
2)1  SUBTTL    D.M.NIXON/DMN/JLd/TXR/JNG/DZN/PAH/PY  27-Jan-83
2)   
**************
1)1  DECEVR==2026        ;DEC EDIT VERSION
1)   
****
2)1  DECEVR==2031        ;DEC EDIT VERSION
2)   
**************
1)2  
1)   
****
2)2  ;2031     Don't set the writable bit in OVERLW unless actually doing overlays.
2)   
**************
1)31      IORM T1,OVERLW      ;[1704] REMEMBER THIS
****
2)31 ;**;[2031] Insert 1 Line after T.1045+4 Lines PY 27-Jan-83
2)        SKIPE     OVERLW              ;[2031] DON'T SET UNLESS DOING OVERLAYS
2)        IORM T1,OVERLW      ;[1704] REMEMBER THIS
**************
   ========