This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PCH failures on SPARC
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: gcc-patches at gcc dot gnu dot org, ebotcazou at libertysurf dot fr
- Date: Thu, 19 Jun 2003 16:15:31 -0400 (EDT)
- Subject: Re: [PATCH] Fix PCH failures on SPARC
Hi Eric,
I believe that your patch causes some difficulty with the .stabs output
on PA ports using som.h. Here is an example of an incorrect .stabs
line. It causes 20011119-1.c to fail.
.stabs "*xxx:F1",36,0,3,xxx
.EXPORT xxx,ENTRY,PRIV_LEV=3,RTNVAL=GR
.stabn 68,0,0,0
xxx
.PROC
.CALLINFO FRAME=0,CALLS,SAVE_RP
.ENTRY
.stabn 68,0,3,L$M2-*xxx
The last line causes an assembler error:
/var/tmp//ccvFw2Ty.s: Assembler messages:
/var/tmp//ccvFw2Ty.s:47: Error: bad expression
/var/tmp//ccvFw2Ty.s:47: Warning: rest of line ignored; first ignored character
is `x'
I believe that the patch needs to strip the encoding from the function
string. That's where the `*' comes from.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)