diff --git a/ld/ChangeLog b/ld/ChangeLog index 431e5b62b1f..f3aa29817fa 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2019-11-06 Christian Eggers + + * ldlang.c (print_input_section): Shift printed size by opb_shift. + 2019-11-05 Alan Modra * emulparams/aarch64elf.sh (GENERATE_SHLIB_SCRIPT), diff --git a/ld/ldlang.c b/ld/ldlang.c index df7f6594863..eedcb7f4050 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -4653,7 +4653,7 @@ print_input_section (asection *i, bfd_boolean is_discarded) size = 0; } - minfo ("0x%V %W %pB\n", addr, size, i->owner); + minfo ("0x%V %W %pB\n", addr, TO_ADDR (size), i->owner); if (size != i->rawsize && i->rawsize != 0) { @@ -4669,7 +4669,7 @@ print_input_section (asection *i, bfd_boolean is_discarded) --len; } - minfo (_("%W (size before relaxing)\n"), i->rawsize); + minfo (_("%W (size before relaxing)\n"), TO_ADDR (i->rawsize)); } if (i->output_section != NULL