mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 12:23:31 +08:00
* ldlang.c (print_output_section_statement): Print load address
when lma differs from vma. testsuite/ * ld-scripts/overlay-size-map.d: Update.
This commit is contained in:
10
ld/ldlang.c
10
ld/ldlang.c
@ -3412,14 +3412,8 @@ print_output_section_statement
|
||||
|
||||
minfo ("0x%V %W", section->vma, section->size);
|
||||
|
||||
if (output_section_statement->load_base != NULL)
|
||||
{
|
||||
bfd_vma addr;
|
||||
|
||||
addr = exp_get_abs_int (output_section_statement->load_base, 0,
|
||||
"load base");
|
||||
minfo (_(" load address 0x%V"), addr);
|
||||
}
|
||||
if (section->vma != section->lma)
|
||||
minfo (_(" load address 0x%V"), section->lma);
|
||||
}
|
||||
|
||||
print_nl ();
|
||||
|
Reference in New Issue
Block a user