public inbox for newlib-cvs@sourceware.org help / color / mirror / Atom feed
From: Jeff Johnston <jjohnstn@sourceware.org> To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] pru: Enable -ffunction-sections and -fdata-sections Date: Wed, 9 Jun 2021 18:08:18 +0000 (GMT) [thread overview] Message-ID: <20210609180818.5303939B3468@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=b58515101634274c4f75185d746d71a753e7cc11 commit b58515101634274c4f75185d746d71a753e7cc11 Author: Dimitar Dimitrov <dimitar@dinux.eu> 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 them. Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu> Diff: --- newlib/configure.host | 1 + 1 file changed, 1 insertion(+) diff --git a/newlib/configure.host b/newlib/configure.host index 38fec0597..4ac53342a 100644 --- a/newlib/configure.host +++ b/newlib/configure.host @@ -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 " default_newlib_nano_malloc="yes" default_newlib_atexit_dynamic_alloc="no" machine_dir=pru
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: 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=20210609180818.5303939B3468@sourceware.org \ --to=jjohnstn@sourceware.org \ --cc=newlib-cvs@sourceware.org \ /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: linkBe 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).