mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-16 12:24:19 +08:00
* ldlang.c (lang_size_sections_1): Allow scripts to specify a
non-zero vma even when relocatable.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2009-09-29 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
* ldlang.c (lang_size_sections_1): Allow scripts to specify a
|
||||||
|
non-zero vma even when relocatable.
|
||||||
|
|
||||||
2009-09-28 Alan Modra <amodra@bigpond.net.au>
|
2009-09-28 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* scripttempl/elf32cr16.sc: Emit empty script for ld -r and ld -Ur.
|
* scripttempl/elf32cr16.sc: Emit empty script for ld -r and ld -Ur.
|
||||||
|
@ -4665,7 +4665,7 @@ lang_size_sections_1
|
|||||||
lang_memory_region_type *r;
|
lang_memory_region_type *r;
|
||||||
|
|
||||||
os = &s->output_section_statement;
|
os = &s->output_section_statement;
|
||||||
if (link_info.relocatable)
|
if (os->addr_tree == NULL && link_info.relocatable)
|
||||||
os->addr_tree = exp_intop (0);
|
os->addr_tree = exp_intop (0);
|
||||||
if (os->addr_tree != NULL)
|
if (os->addr_tree != NULL)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user