This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] dwarf2read: Allow SEC_ALLOC sections to be located at address 0
- From: Pedro Alves <palves at redhat dot com>
- To: Kevin Buettner <kevinb at redhat dot com>, gdb-patches at sourceware dot org
- Date: Tue, 14 Jul 2015 12:56:30 +0100
- Subject: Re: [PATCH] dwarf2read: Allow SEC_ALLOC sections to be located at address 0
- Authentication-results: sourceware.org; auth=none
- References: <20150710180132 dot 46351ee6 at pinnacle dot lan>
On 07/11/2015 02:01 AM, Kevin Buettner wrote:
> GDB already allows statically initialized variables, located in
> SEC_LOAD sections, to be placed at address 0. This change allows
> uninitialized variables (which are in SEC_ALLOC sections) to be placed
> address 0 as well.
>
> gdb/ChangeLog:
>
> * dwarf2read.c (dwarf2_locate_sections): Allow has_section_at_zero
> to be set for SEC_ALLOC sections too.
LGTM.
Thanks,
Pedro Alves