public inbox for
help / color / mirror / Atom feed
From: Jeff Johnston <>
Subject: [newlib-cygwin] pru: Enable -ffunction-sections and -fdata-sections
Date: Wed,  9 Jun 2021 18:08:18 +0000 (GMT)	[thread overview]
Message-ID: <> (raw);h=b58515101634274c4f75185d746d71a753e7cc11

commit b58515101634274c4f75185d746d71a753e7cc11
Author: Dimitar Dimitrov <>
Date:   Sun May 9 16:11:36 2021 +0300

    pru: Enable -ffunction-sections and -fdata-sections
    Recent binutils support --gc-sections for pru, so let's make use of
    Signed-off-by: Dimitar Dimitrov <>

 newlib/ | 1 +
 1 file changed, 1 insertion(+)

diff --git a/newlib/ b/newlib/
index 38fec0597..4ac53342a 100644
--- a/newlib/
+++ b/newlib/
@@ -303,6 +303,7 @@ case "${host_cpu}" in
 	newlib_cflags="${newlib_cflags} -DPREFER_SIZE_OVER_SPEED"
 	newlib_cflags="${newlib_cflags} -DNO_EXEC"
 	newlib_cflags="${newlib_cflags} -DSMALL_MEMORY"
+	newlib_cflags="${newlib_cflags} -ffunction-sections -fdata-sections "

                 reply	other threads:[~2021-06-09 18:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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:

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

  git send-email \ \ \ \

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