analysis: arch=i686, -fPIC won't play nice on OSR5
Jeffrey A Law
Tue Jun 30 23:20:00 GMT 1998
In message <19980630223944.A2325@dgii.com>you write:
> [ moved to egcs-patches. Discussion was on egcs. ]
> > > If this sounds like the right solution, let me know and I'll do the
> > > patch thing.
> > It's correct that the internal labels need no type information. If
> > your patch simply avoids adding the .type line it is correct.
> I've run this code through the testsuite on every i386 host/target that
> I can (i586 and i686, linux and openserver, elf, elf + pic, coff) and
> don't think I have have any reason to distrust it so far.
> Unfortunately, I have completely too many build trees right now
> so I cannot say with absolute certainty that it hasn't caused any
I would indicate in a comment in that code which assembler couldn't
handle the type information for local labels.
That way if later we find an assembler that can't handle calls to
local labels we'll know why the label isn't declared as a fucntion
with type information and such.
Consider it approved after adding the comment.
More information about the Gcc-patches