rtems.h 967 B

123456789101112131415161718192021222324252627
  1. /* Definitions for rtems targeting a SH using COFF.
  2. Copyright (C) 1997-2015 Free Software Foundation, Inc.
  3. Contributed by Joel Sherrill (joel@OARcorp.com).
  4. This file is part of GCC.
  5. GCC is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 3, or (at your option)
  8. any later version.
  9. GCC is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with GCC; see the file COPYING3. If not see
  15. <http://www.gnu.org/licenses/>. */
  16. /* Specify predefined symbols in preprocessor. */
  17. #define TARGET_OS_CPP_BUILTINS() do { \
  18. builtin_define( "__rtems__" ); \
  19. builtin_assert( "system=rtems" ); \
  20. } while (0)