dwarf2read: Allow SEC_ALLOC sections to be located at address 0.
authorKevin Buettner <kevinb@redhat.com>
Sat, 11 Jul 2015 00:41:55 +0000 (17:41 -0700)
committerKevin Buettner <kevinb@redhat.com>
Sat, 18 Jul 2015 17:10:15 +0000 (10:10 -0700)
commitb4e1fd615ae6582170a6bb62d6519d586bd5347e
tree70fb8d04ff33f9c9a2e6d9fd037d0629155e4d02
parentce62125ee9797bc5b23745fe140506b0d64f4220
dwarf2read: Allow SEC_ALLOC sections to be located at address 0.

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.
gdb/ChangeLog
gdb/dwarf2read.c