This is the mail archive of the gdb-patches@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: [PATCH] Use mmap for symbol tables


On Mon, Jan 30, 2006 at 09:28:06PM -0800, Jim Blandy wrote:
> When debug sections have relocations, are they really covered with
> relocs, or are the relocs rare?  I thought that MAP_PRIVATE was
> implemented using copy-on-write pages, so if the relocations are rare,
> then MAP_PRIVATE would give you a writeable image that still shared as
> much as possible.

Covered.  There will be one for every reference to .debug_str,
.debug_ranges, et cetera.

-- 
Daniel Jacobowitz
CodeSourcery


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