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] dwarf2read: Allow SEC_ALLOC sections to be located at address 0


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


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