This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
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