* script-sections.cc (Script_sections::find_memory_region): Check
for a NULL output section pointer.
This commit is contained in:
parent
120bd36024
commit
3f9a327892
@ -1,3 +1,8 @@
|
||||
2010-11-03 Ryan Mansfield <rmansfield@qnx.com>
|
||||
|
||||
* script-sections.cc (Script_sections::find_memory_region): Check
|
||||
for a NULL output section pointer.
|
||||
|
||||
2010-10-29 Doug Kwan <dougkwan@google.com>
|
||||
|
||||
* arm.cc (Arm_outout_section::fix_exidx_coverage): Adjust call to
|
||||
|
@ -2238,6 +2238,7 @@ Script_sections::find_memory_region(
|
||||
// explicit region assignment, then we will return this region.
|
||||
Output_section* out_sec = section->get_output_section();
|
||||
if (first_match == NULL
|
||||
&& out_sec != NULL
|
||||
&& (*mr)->attributes_compatible(out_sec->flags(),
|
||||
out_sec->type()))
|
||||
first_match = *mr;
|
||||
|
Loading…
Reference in New Issue
Block a user