Re: [PATCH] Use dl_iterate_phdr() on OpenBSD

2012-10-05 Thread Gerald Pfeifer
On Sat, 15 Sep 2012, Ian Lance Taylor wrote: >> 2012-09-02 Mark Kettenis >> >> * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file. >> * unwind-dw2-fde-dip.c: Don't include on OpenBSD. >> (USE_PT_GNU_EH_FRAME): Define for OpenBSD. >> (ElfW): Likewise. >

Re: [PATCH] Use dl_iterate_phdr() on OpenBSD

2012-09-15 Thread Ian Lance Taylor
On Sat, Sep 15, 2012 at 2:57 AM, Mark Kettenis wrote: > > 2012-09-02 Mark Kettenis > > * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file. > * unwind-dw2-fde-dip.c: Don't include on OpenBSD. > (USE_PT_GNU_EH_FRAME): Define for OpenBSD. > (ElfW): Likewi

[PATCH] Use dl_iterate_phdr() on OpenBSD

2012-09-15 Thread Mark Kettenis
Split out from . Makes exception handling in shared libraries actually work. OpenBSD doesn't have so this slightly inceases the #ifdef spaghetti. Tested on i386-*-openbsd5.2 and amd64-*-openbsd5.2. Turns quite a few exception handling FA