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]
Other format: [Raw text]

Re: xfail gcc.dg test


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


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