diff options
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r-- | ld/ldlang.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c index 9e956b3..8371370 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -4665,7 +4665,7 @@ lang_size_sections_1 lang_memory_region_type *r; os = &s->output_section_statement; - if (link_info.relocatable) + if (os->addr_tree == NULL && link_info.relocatable) os->addr_tree = exp_intop (0); if (os->addr_tree != NULL) { |