diff options
author | Torbjörn SVENSSON <torbjorn.svensson@foss.st.com> | 2023-12-17 22:16:08 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2023-12-18 12:32:14 +0000 |
commit | 8ea1e363b92243b0562e4a4a360a582e368884a8 (patch) | |
tree | fe5334a34e98781f06919f222569194e60d3fa17 /Makefile.in | |
parent | 4cc1f41cfa45b0d36427e79409f447e83f4e66d4 (diff) | |
download | binutils-8ea1e363b92243b0562e4a4a360a582e368884a8.zip binutils-8ea1e363b92243b0562e4a4a360a582e368884a8.tar.gz binutils-8ea1e363b92243b0562e4a4a360a582e368884a8.tar.bz2 |
ld: Print 0 size in B and not in GB
When using --print-memory-usage, the printed size can be zero and in
that case, the unit should be B and not GB.
ld/
* ldlang.c (lang_print_memory_size) Print 0 B instead of 0 GB.
* testsuite/ld-scripts/print-memory-usage-1.l: Validate emplty region.
* testsuite/ld-scripts/print-memory-usage-1.t: Define empty region.
Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Diffstat (limited to 'Makefile.in')
0 files changed, 0 insertions, 0 deletions