tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: GCC 4.5 update -- status

On Thu, Jul 07, 2011 at 07:32:29PM +0200, Matthias Drochner wrote:
> [register_frame_info() in crtbegin]
> said:
> > It's a weak symbol to allow coexistance of old-style and new-style
> > runtime.
> But crtbegin/end are linked into the binary at build time, and
> new binaries use the new method anyway.

We provide a single set of crt* for all compilers. So making it easy to
switch between them greatly simplifies things. As you wrote, there are
some issues with mixing code compiled for the different EH frame
options, but it all goes down to which libstdc++ is used.

> > The new libstdc++ shouldn't provide it and all is fine
> You mean libgcc?

Right, libgcc_s.

> > Did you check the -static case?
> Yes - libgcc_eh uses dl_iterate_phdr, and it gets linked into
> static binaries. So it seems OK.


Home | Main Index | Thread Index | Old Index