This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: determining whether page 0 (or low addresses in general) is executable


On Wed, Apr 16, 2008 at 06:02:24PM -0700, Doug Evans wrote:
> >  I thought GNU ld only had this problem for .debug_info and already
> >  edited out discarded FDEs from .debug_frame / .eh_frame.  Are you
> >  using GNU ld or gold?  Maybe the linker only edits .eh_frame.
> 
> Actually the problem occurs with both gld and gold.  The linker does
> explicitly handle .eh_frame, and I'm told the debug info doesn't go
> into comdat on purpose (complexity issues I gather).

OK, so we could probably fix this in GNU ld by reusing the eh-frame
editor for .debug_frame too.  COMDAT is better, of course.  It's just
hard :-(

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]