COMPILATION LISTING OF SEGMENT putxt_ Compiled by: Multics PL/I Compiler, Release 31a, of October 12, 1988 Compiled at: Honeywell Bull, Phoenix AZ, SysM Compiled on: 10/17/88 0943.7 mst Mon Options: optimize map 1 /****^ *********************************************************** 2* * * 3* * Copyright, (C) Honeywell Bull Inc., 1988 * 4* * * 5* * Copyright, (C) Honeywell Information Systems Inc., 1982 * 6* * * 7* * Copyright (c) 1972 by Massachusetts Institute of * 8* * Technology and Honeywell Information Systems, Inc. * 9* * * 10* *********************************************************** */ 11 12 13 putxt_: procedure( pc, word, relwrd ) ; 14 15 /* Last modified by NA on June 25, 1970 at 1626 */ 16 17 /* makes calls to write the object text and stack the 18* associated relocation bits */ 19 20 declare (pc, word, relwrd) fixed bin (26); 21 declare (lbits, rbits, itemp, nl, nr, i, ival ) fixed bin ( 17) aligned ; 22 1 1 /* Begin include file objnfo.incl.pl1. 1 2* Parameters saved for object map. 1 3* Last modified on 05/12/72 at 01:10:27 by R F Mabee. */ 1 4 1 5 1 6 /****^ HISTORY COMMENTS: 1 7* 1) change(86-10-01,JRGray), approve(86-10-01,MCR7507), 1 8* audit(86-10-27,RWaters), install(86-11-12,MR12.0-1202): 1 9* Modified to add definition count used to join blocks to the definition 1 10* section. 1 11* END HISTORY COMMENTS */ 1 12 1 13 declare 1 eb_data_$objnfo external static aligned, 1 14 2 (itxpc, ilkpc, istpc, idfpc, itxcnt, ilkcnt, istcnt, idfcnt) fixed bin (26) aligned, 1 15 2 (new_text_offset, new_definition_offset, new_link_offset, new_static_offset, new_symbol_offset) fixed bin (26) aligned, 1 16 2 (new_text_length, new_definition_length, new_link_length, new_static_length, new_symbol_length) fixed bin (26) aligned; 1 17 1 18 /* End of include file objnfo.incl.pl1. */ 23 24 25 /* EXTERNAL ENTRIES */ 26 declare object_$object_ ext entry (fixed bin (26), fixed bin (26)), 27 object_$wrbtx ext entry (fixed bin (26), fixed bin (26)), 28 object_$getbtx ext entry ( fixed bin, fixed bin, fixed bin) ; 29 30 call object_$object_( pc, word ) ; /* write the text directly into the object segment */ 31 32 call object_$wrbtx( pc, relwrd ) ; /* insert the relocation bits into the proper place in the scratch segment */ 33 34 return ; 35 36 37 38 39 txtcnt: entry( ival ) ; /* entry to count the number of relocation bits for the text portion */ 40 41 ival = 0 ; 42 43 itemp = itxpc - 1 ; 44 45 label_1000: 46 do i = 0 to itemp ; 47 48 call object_$getbtx( i, lbits, rbits ) ; 49 50 nl = 1 ; 51 52 nr = 1 ; 53 54 if lbits ^= 0 then nl = 5 ; 55 56 if rbits ^= 0 then nr = 5 ; 57 58 ival = nl + nr + ival ; 59 60 end label_1000 ; 61 62 itxcnt = ival ; 63 64 end putxt_ ; SOURCE FILES USED IN THIS COMPILATION. LINE NUMBER DATE MODIFIED NAME PATHNAME 0 10/17/88 0938.3 putxt_.pl1 >spec>install>1170>putxt_.pl1 23 1 11/12/86 1103.0 objnfo.incl.pl1 >ldd>include>objnfo.incl.pl1 NAMES DECLARED IN THIS COMPILATION. IDENTIFIER OFFSET LOC STORAGE CLASS DATA TYPE ATTRIBUTES AND REFERENCES (* indicates a set context) NAMES DECLARED BY DECLARE STATEMENT. eb_data_$objnfo 000010 external static structure level 1 dcl 1-13 i 000105 automatic fixed bin(17,0) dcl 21 set ref 45* 48* itemp 000102 automatic fixed bin(17,0) dcl 21 set ref 43* 45 itxcnt 4 000010 external static fixed bin(26,0) level 2 dcl 1-13 set ref 62* itxpc 000010 external static fixed bin(26,0) level 2 dcl 1-13 ref 43 ival parameter fixed bin(17,0) dcl 21 set ref 39 41* 58* 58 62 lbits 000100 automatic fixed bin(17,0) dcl 21 set ref 48* 54 nl 000103 automatic fixed bin(17,0) dcl 21 set ref 50* 54* 58 nr 000104 automatic fixed bin(17,0) dcl 21 set ref 52* 56* 58 object_$getbtx 000016 constant entry external dcl 26 ref 48 object_$object_ 000012 constant entry external dcl 26 ref 30 object_$wrbtx 000014 constant entry external dcl 26 ref 32 pc parameter fixed bin(26,0) dcl 20 set ref 13 30* 32* rbits 000101 automatic fixed bin(17,0) dcl 21 set ref 48* 56 relwrd parameter fixed bin(26,0) dcl 20 set ref 13 32* word parameter fixed bin(26,0) dcl 20 set ref 13 30* NAMES DECLARED BY EXPLICIT CONTEXT. label_1000 000055 constant label dcl 45 putxt_ 000006 constant entry external dcl 13 txtcnt 000042 constant entry external dcl 39 THERE WERE NO NAMES DECLARED BY CONTEXT OR IMPLICATION. STORAGE REQUIREMENTS FOR THIS PROGRAM. Object Text Link Symbol Defs Static Start 0 0 204 224 125 214 Length 404 125 20 144 57 0 BLOCK NAME STACK SIZE TYPE WHY NONQUICK/WHO SHARES STACK FRAME putxt_ 86 external procedure is an external procedure. STORAGE FOR AUTOMATIC VARIABLES. STACK FRAME LOC IDENTIFIER BLOCK NAME putxt_ 000100 lbits putxt_ 000101 rbits putxt_ 000102 itemp putxt_ 000103 nl putxt_ 000104 nr putxt_ 000105 i putxt_ THE FOLLOWING EXTERNAL OPERATORS ARE USED BY THIS PROGRAM. call_ext_out return_mac ext_entry THE FOLLOWING EXTERNAL ENTRIES ARE CALLED BY THIS PROGRAM. object_$getbtx object_$object_ object_$wrbtx THE FOLLOWING EXTERNAL VARIABLES ARE USED BY THIS PROGRAM. eb_data_$objnfo LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC 13 000002 30 000013 32 000024 34 000036 39 000037 41 000047 43 000051 45 000055 48 000063 50 000076 52 000100 54 000101 56 000105 58 000111 60 000115 62 000117 64 000124 ----------------------------------------------------------- Historical Background This edition of the Multics software materials and documentation is provided and donated to Massachusetts Institute of Technology by Group BULL including BULL HN Information Systems Inc. as a contribution to computer science knowledge. This donation is made also to give evidence of the common contributions of Massachusetts Institute of Technology, Bell Laboratories, General Electric, Honeywell Information Systems Inc., Honeywell BULL Inc., Groupe BULL and BULL HN Information Systems Inc. to the development of this operating system. Multics development was initiated by Massachusetts Institute of Technology Project MAC (1963-1970), renamed the MIT Laboratory for Computer Science and Artificial Intelligence in the mid 1970s, under the leadership of Professor Fernando Jose Corbato. Users consider that Multics provided the best software architecture for managing computer hardware properly and for executing programs. Many subsequent operating systems incorporated Multics principles. Multics was distributed in 1975 to 2000 by Group Bull in Europe , and in the U.S. by Bull HN Information Systems Inc., as successor in interest by change in name only to Honeywell Bull Inc. and Honeywell Information Systems Inc. . ----------------------------------------------------------- Permission to use, copy, modify, and distribute these programs and their documentation for any purpose and without fee is hereby granted,provided that the below copyright notice and historical background appear in all copies and that both the copyright notice and historical background and this permission notice appear in supporting documentation, and that the names of MIT, HIS, BULL or BULL HN not be used in advertising or publicity pertaining to distribution of the programs without specific prior written permission. Copyright 1972 by Massachusetts Institute of Technology and Honeywell Information Systems Inc. Copyright 2006 by BULL HN Information Systems Inc. Copyright 2006 by Bull SAS All Rights Reserved