public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* dl_iterate_phdr support
@ 2011-02-13  2:15 John Marino
  2011-02-14  8:11 ` Ian Lance Taylor
  0 siblings, 1 reply; 4+ messages in thread
From: John Marino @ 2011-02-13  2:15 UTC (permalink / raw)
  To: gcc-help

FreeBSD and openBSD have had dl_iterate_phdr support in their runtime 
linker since 2007.  NetBSD-current added it in late 2010 and I just 
patched Dragonfly's RTLD to support it as well, which means the feature 
is fully supported by *BSD.

I was a bit surprised when I checked the gcc configure log and saw the 
check for dl_iterate_phdr came back "unknown" so I checked the 
gcc/configure script.

Basically the logic in the configure script is this:
If target <> solaris2 then gcc_cv_target_dl_iterate_phdr=unknown

Basically that means this feature is only possibly used by gcc when 
Solaris is the target.

Is this intentional?
Why are not Linux and BSD targets being tested?

Is the problem only a deficient configure script, or is there missing 
support within gcc itself?  I was told on the gcc-help mail list that 
using dl_iterate_phdr was a more efficient method of propagating 
exceptions and I'd like GNAT to take advantage of that.

Thanks,
John

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-02-14 17:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-13  2:15 dl_iterate_phdr support John Marino
2011-02-14  8:11 ` Ian Lance Taylor
2011-02-14 15:48   ` John Marino
2011-02-14 17:46     ` Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).