public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Nick Clifton <nickc@redhat.com>
To: "Torbjörn SVENSSON" <torbjorn.svensson@foss.st.com>,
	binutils@sourceware.org
Subject: Re: [PATCH] ld: Print 0 size in B and not in GB
Date: Mon, 18 Dec 2023 12:33:09 +0000	[thread overview]
Message-ID: <8818ec9c-f399-4979-a507-22ade6e8d346@redhat.com> (raw)
In-Reply-To: <20231217211607.270091-1-torbjorn.svensson@foss.st.com>

Hi Torbjörn,

> 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.

Patch approved and applied.

Cheers
   Nick



      reply	other threads:[~2023-12-18 12:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-17 21:16 Torbjörn SVENSSON
2023-12-18 12:33 ` Nick Clifton [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8818ec9c-f399-4979-a507-22ade6e8d346@redhat.com \
    --to=nickc@redhat.com \
    --cc=binutils@sourceware.org \
    --cc=torbjorn.svensson@foss.st.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).