home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.os.vms      DEC's VAX* line of computers & VMS.      264,096 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 263,292 of 264,096   
   =?UTF-8?Q?Arne_Vajh=C3=B8j?= to Waldek Hebisch   
   Re: Binutils   
   08 Sep 25 20:06:53   
   
   From: arne@vajhoej.dk   
      
   On 9/8/2025 7:30 AM, Waldek Hebisch wrote:   
   > In DEC assembler '=' apparently gives effect that you describe:   
   > new name is not exported.  In DEC assembler '==' apparently creates   
   > an alias, but as a data symbol.  I am not aware of DEC construct   
   > to get effect of '.set' as in x86 Linux example above (but up   
   > to now I did not look into macro manual).  So '=' probably is   
   > wrong syntatx, I do not know why gcc uses it.   
      
   In the DEC Macro-64 assembler there is an argument to $routine   
   for aliases.   
      
   $ type tst.for   
          program tst   
          integer*4 func_1,func_2,func_3   
          write(*,*) func_1()   
          write(*,*) func_2()   
          write(*,*) func_3()   
          end   
   $ type f.m64   
            $code_section   
            $routine name=FUNC_1,aliases=,kind=stack   
            mov     #42, r0   
            $return   
            $end_routine FUNC_1   
            .end   
   $ for tst   
   $ macro/alpha f   
   $ link tst + f   
   $ run tst   
             42   
             42   
             42   
      
   Arne   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca