This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: alpha special entry labels
- To: rth at cygnus dot com
- Subject: Re: alpha special entry labels
- From: kkaempf at progis dot de (Klaus Kaempf)
- Date: Thu, 20 Nov 1997 12:50:58 +0100 (MET)
- Cc: law at cygnus dot com, egcs at cygnus dot com
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