Commit 479f4358 by Ralf Corsepius Committed by Ralf Corsepius

config.gcc (microblaze*-*-rtems*): New target.

2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>

	* config.gcc (microblaze*-*-rtems*): New target.
	* config/microblaze/rtems.h: New.
	* config/microblaze/t-rtems: New.

From-SVN: r192815
parent 42b40eff
2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
* config.gcc (microblaze*-*-rtems*): New target.
* config/microblaze/rtems.h: New.
* config/microblaze/t-rtems: New.
2012-10-25 Jan Hubicka <jh@suse.cz> 2012-10-25 Jan Hubicka <jh@suse.cz>
PR tree-optimize/54980 PR tree-optimize/54980
...@@ -1727,6 +1727,14 @@ microblaze*-linux*) ...@@ -1727,6 +1727,14 @@ microblaze*-linux*)
c_target_objs="${c_target_objs} microblaze-c.o" c_target_objs="${c_target_objs} microblaze-c.o"
cxx_target_objs="${cxx_target_objs} microblaze-c.o" cxx_target_objs="${cxx_target_objs} microblaze-c.o"
;; ;;
microblaze*-*-rtems*)
tm_file="${tm_file} dbxelf.h"
tm_file="${tm_file} microblaze/rtems.h rtems.h newlib-stdint.h"
c_target_objs="${c_target_objs} microblaze-c.o"
cxx_target_objs="${cxx_target_objs} microblaze-c.o"
tmake_file="${tmake_file} microblaze/t-microblaze"
tmake_file="${tmake_file} t-rtems microblaze/t-rtems"
;;
microblaze*-*-*) microblaze*-*-*)
tm_file="${tm_file} dbxelf.h" tm_file="${tm_file} dbxelf.h"
c_target_objs="${c_target_objs} microblaze-c.o" c_target_objs="${c_target_objs} microblaze-c.o"
......
/* Definitions for rtems targeting a microblaze using ELF.
Copyright (C) 2012 Free Software Foundation, Inc.
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3, or (at your option)
any later version.
GCC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. */
/* Specify predefined symbols in preprocessor. */
#define TARGET_OS_CPP_BUILTINS() do { \
builtin_define( "__rtems__" ); \
builtin_assert( "system=rtems" ); \
} while (0)
# Custom multilibs for RTEMS
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment