This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: xfail gcc.dg test
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Geoff Keating <geoffk at geoffk dot org>
- Cc: David Edelsohn <dje at watson dot ibm dot com>, Richard Henderson <rth at redhat dot com>, gcc at gcc dot gnu dot org
- Date: Sat, 5 Oct 2002 01:02:51 +0930
- Subject: Re: xfail gcc.dg test
- References: <amodra@bigpond.net.au> <200210041424.KAA30014@makai.watson.ibm.com> <jmwuoytffn.fsf@desire.geoffk.org>
On Fri, Oct 04, 2002 at 08:02:52AM -0700, Geoff Keating wrote:
> I believe the problem is that if you have a function named "text",
> then the symbols for that function are "text" and ".text", which
> causes trouble.
Yes, and ".text" clashes, not with the name of the .text section,
but with the section symbol for .text which happens to be called
".text".
> Is it too late to change the second symbol to, say,
> "_.text"?
That would work. So would "..text". The main thing is to avoid
anything that can be specified as a C identifier or is already
enshrined in the ELF standard.
--
Alan Modra
IBM OzLabs - Linux Technology Centre