tech-toolchain archive

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

Re: EH handling and PR/39986



In article <201012240837.58291.nick.hudson%gmx.co.uk@localhost>,
Nick Hudson  <nick.hudson%gmx.co.uk@localhost> wrote:
>-=-=-=-=-=-
>
>Hi,
>
>Attached are diffs (minus gcc mknative re-run) to support the PT_GNU_EH_FRAME 
>and dl_iterate_phdr method for finding unwind information for exception 
>handling. This is described in more detail here:
>
>       http://www.airs.com/blog/archives/166
>
>A question was asked about removing the calls to __{de,}register_frame_info in 
>crt{begin,end}. Here's what happens...
>
>       - New binaries will work with new crt{begin,end} and new compiler (gcc)
>
>       - Old binaries will work as they have old crt{begin,end} copied in.
>
>       - Any compiler that requires the calls can define USE_EHREGISTER so that
>         crt{begin,end} will have the calls restored. This is only a "problem"
>         for i386/amd64 which uses the BSD licensed crt{begin,end}.
>
>       - gcc crt{begin,end} will dtrt after mknative update.
>
>Comments before I commit?

Go for it, but I am afraid something is broken right now with c++ binaries
like groff.

christos



Home | Main Index | Thread Index | Old Index