aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rtems.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-04-27 07:14:42 +0000
committerSebastian Huber <sh@gcc.gnu.org>2016-04-27 07:14:42 +0000
commitc47194d2ab2e3ce6c760ea44de3ec00bf18976ee (patch)
tree6b59812c3fdcb399dee51a909b909f0521a90d7d /gcc/config/rtems.h
parent727cbedf8b21e38a47da66c400d51a30d3a64c33 (diff)
downloadgcc-c47194d2ab2e3ce6c760ea44de3ec00bf18976ee.zip
gcc-c47194d2ab2e3ce6c760ea44de3ec00bf18976ee.tar.gz
gcc-c47194d2ab2e3ce6c760ea44de3ec00bf18976ee.tar.bz2
[libatomic] Add RTEMS support
gcc/ * config/rtems.h (LIB_SPEC): Add -latomic. libatomic/ * configure.tgt (configure_tgt_pre_target_cpu_XCFLAGS): New variable. (*-*-rtems*): New supported target. * config/rtems/host-config.h: New file. * config/rtems/lock.c: Likewise. From-SVN: r235466
Diffstat (limited to 'gcc/config/rtems.h')
-rw-r--r--gcc/config/rtems.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/rtems.h b/gcc/config/rtems.h
index f13f72f..e005547 100644
--- a/gcc/config/rtems.h
+++ b/gcc/config/rtems.h
@@ -45,6 +45,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#define LIB_SPEC "%{!qrtems: " STD_LIB_SPEC "} " \
"%{!nostdlib: %{qrtems: --start-group \
-lrtemsbsp -lrtemscpu \
- -lc -lgcc --end-group %{!qnolinkcmds: -T linkcmds%s}}}"
+ -latomic -lc -lgcc --end-group %{!qnolinkcmds: -T linkcmds%s}}}"
#define TARGET_POSIX_IO