Letext...

John David Anglin dave@hiauly1.hia.nrc.ca
Thu Mar 28 14:00:00 GMT 2002


> > troll:~> echo 'void Letext (void) { }' > boo.c && gcc -g boo.c
> > /tmp/welinder/ccKspBJF.s: Assembler messages:
> > /tmp/welinder/ccKspBJF.s:48: Fatal error: Symbol Letext already defined.
> 
> Fixed thus.

The PA linux port suffers from this problem as well, and I presume that the
various PA embedded ports using elf are also affected.  Before I patch a bunch
of files, I was wondering why we don't just add

+#undef LOCAL_LABEL_PREFIX
+#define LOCAL_LABEL_PREFIX  "."

to elfos.h.  The default assumption in elfos.h is that local labels
start with '.'.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)



More information about the Gcc-bugs mailing list