3.2 PATCH: Major Solaris 2 configuration cleanup
Rainer Orth
ro@TechFak.Uni-Bielefeld.DE
Wed May 29 04:50:00 GMT 2002
Daniel Jacobowitz writes:
> > where the lines are
> >
> > .stabs "/homes/ro/src/c/test/",100,0,0,.Ltext0
> > .stabs "hello.c",100,0,0,.Ltext0
> >
> > .stabs "main:F(0,1)",36,0,5,main
> >
> > .stabs "",100,0,0,.Letext
> >
> > It looks like those stabs are incorrect: the `Stabs Interface' document
> > distributed with the Sun compilers (found in
> > /opt/SUNWspro/READMEs/stabs.ps) states that the value field of the N_SO
> > (0x64, 100) stabs is 0, likewise the Address field of the N_FUN (0x24,
> > 36) stabs for ELF objects.
>
> ... which makes for a great deal of annoyance in GDB. Please don't
> change these stabs unless the GDB folks decide to globally enable the
> workarounds for this behavior.
Thanks for this information: that's exactly the kind of comment I wanted to
get with my remarks above.
I had no intention to remove that .stabs field: as I said, -K PIC still
isn't passed to the native as on Solaris 2/Intel. In most cases, it
doesn't seem to make any difference anyway, but I'll probably fire off
another bootstrap to check for cases where it does.
Rainer
More information about the Gcc-patches
mailing list