This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: alpha special entry labels


Sorry folks, close but no cigar :-)

egcs-971114 outputs wrong assembly code like 'lda $1,$*function_name..lk'

For openVMS/Alpha the following patch is needed for bootstrapping:

===================================================================
RCS file: alpha/RCS/alpha.md,v
retrieving revision 1.3
diff -c -r1.3 alpha/alpha.md
*** alpha/alpha.md	1997/11/20 11:17:08	1.3
--- alpha/alpha.md	1997/11/20 11:23:04
***************
*** 3146,3151 ****
--- 3146,3152 ----
        char *linksym = savealloc (strlen (symbol) + 6);
        rtx linkage;
  
+       symbol = (*symbol == '*') ? (symbol+1) : symbol;
        alpha_need_linkage (symbol, 0);
  
        linksym[0] = '$';
***************
*** 3251,3256 ****
--- 3252,3258 ----
        char *linksym = savealloc (strlen (symbol) + 6);
        rtx linkage;
  
+       symbol = (*symbol == '*') ? (symbol+1) : symbol;
        alpha_need_linkage (symbol, 0);
        linksym[0] = '$';
        strcpy (linksym+1, symbol);



Just runnung c-torture/execute, coming back in a moment ...

Klaus
-- 
proGIS Software                 E-Mail: kkaempf@progis.de
Dipl.-Inform. Klaus K"ampf      Fax:    0241-47067-29
Jakobstr. 117                   Voice:  0241-47067-11
D-52064 Aachen                  WWW:	http://www.progis.de



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]