diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-10-08 15:29:08 +0300 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-10-22 12:26:39 +0300 |
commit | 5835688440fb0b23fe991a04c7e2df54ded87657 (patch) | |
tree | e4219ce01629372c629564af96c30a4b86b3a87e /newlib/configure.host | |
parent | 037428fae327bb25c4421d01b35036f7f1e81a96 (diff) |
RTEMS: Use function and data sections
Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
Diffstat (limited to 'newlib/configure.host')
-rw-r--r-- | newlib/configure.host | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/configure.host b/newlib/configure.host index 9e809c9a8..27bce36a1 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 |