RTEMS: Use function and data sections
Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
This commit is contained in:
parent
037428fae3
commit
5835688440
|
@ -637,6 +637,7 @@ case "${host}" in
|
||||||
*-*-rtems*)
|
*-*-rtems*)
|
||||||
default_newlib_io_long_long="yes"
|
default_newlib_io_long_long="yes"
|
||||||
default_newlib_io_c99_formats="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} -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"
|
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
|
# turn off unsupported items in posix directory
|
||||||
|
|
Loading…
Reference in New Issue