From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11195 invoked by alias); 22 Oct 2018 09:27:14 -0000 Mailing-List: contact newlib-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-cvs-owner@sourceware.org Received: (qmail 11115 invoked by uid 10080); 22 Oct 2018 09:27:12 -0000 Date: Mon, 22 Oct 2018 09:27:00 -0000 Message-ID: <20181022092712.11113.qmail@sourceware.org> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Sebastian Huber To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] RTEMS: Use function and data sections X-Act-Checkin: newlib-cygwin X-Git-Author: Sebastian Huber X-Git-Refname: refs/heads/master X-Git-Oldrev: 037428fae327bb25c4421d01b35036f7f1e81a96 X-Git-Newrev: 5835688440fb0b23fe991a04c7e2df54ded87657 X-SW-Source: 2018-q4/txt/msg00019.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=5835688440fb0b23fe991a04c7e2df54ded87657 commit 5835688440fb0b23fe991a04c7e2df54ded87657 Author: Sebastian Huber Date: Mon Oct 8 14:29:08 2018 +0200 RTEMS: Use function and data sections Signed-off-by: Sebastian Huber Diff: --- newlib/configure.host | 1 + 1 file changed, 1 insertion(+) diff --git a/newlib/configure.host b/newlib/configure.host index 9e809c9..27bce36 100644 --- a/newlib/configure.host +++ b/newlib/configure.host @@ -637,6 +637,7 @@ case "${host}" in *-*-rtems*) default_newlib_io_long_long="yes" default_newlib_io_c99_formats="yes" + newlib_cflags="${newlib_cflags} -ffunction-sections -fdata-sections " newlib_cflags="${newlib_cflags} -D_COMPILING_NEWLIB" newlib_cflags="${newlib_cflags} -DCLOCK_PROVIDED -DMALLOC_PROVIDED -DEXIT_PROVIDED -DSIGNAL_PROVIDED -DGETREENT_PROVIDED -DREENTRANT_SYSCALLS_PROVIDED -DHAVE_NANOSLEEP -DHAVE_BLKSIZE -DHAVE_FCNTL -DHAVE_ASSERT_FUNC" # turn off unsupported items in posix directory