mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 01:50:24 +08:00
* layout.cc (Layout::set_segment_offsets): Accept writable .text
segment when omagic.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2013-03-21 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
* layout.cc (Layout::set_segment_offsets): Accept writable .text
|
||||||
|
segment when omagic.
|
||||||
|
|
||||||
2013-03-21 Alan Modra <amodra@gmail.com>
|
2013-03-21 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
* dwp.cc (Dwp_output_file::add_contribution): Avoid signed/unsigned
|
* dwp.cc (Dwp_output_file::add_contribution): Avoid signed/unsigned
|
||||||
|
@ -3353,7 +3353,8 @@ Layout::set_segment_offsets(const Target* target, Output_segment* load_seg,
|
|||||||
addr = (*p)->paddr();
|
addr = (*p)->paddr();
|
||||||
}
|
}
|
||||||
else if (parameters->options().user_set_Ttext()
|
else if (parameters->options().user_set_Ttext()
|
||||||
&& ((*p)->flags() & elfcpp::PF_W) == 0)
|
&& (parameters->options().omagic()
|
||||||
|
|| ((*p)->flags() & elfcpp::PF_W) == 0))
|
||||||
{
|
{
|
||||||
are_addresses_set = true;
|
are_addresses_set = true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user