aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2017-01-19 23:00:17 +0100
committerUros Bizjak <uros@gcc.gnu.org>2017-01-19 23:00:17 +0100
commitd445d739b91c2e68c2b13c265910ecf24511f3a3 (patch)
treec91f1baabe07f80554056d79d84766c44f98ef80 /gcc
parentfa9205536c7ba8f6da2f60343abaa1a5ea2a1b55 (diff)
downloadgcc-d445d739b91c2e68c2b13c265910ecf24511f3a3.zip
gcc-d445d739b91c2e68c2b13c265910ecf24511f3a3.tar.gz
gcc-d445d739b91c2e68c2b13c265910ecf24511f3a3.tar.bz2
config.gcc (x86_64-*-rtems*): Use i386/rtemself.h instead of i386/rtems-64.h.
* config.gcc (x86_64-*-rtems*): Use i386/rtemself.h instead of i386/rtems-64.h. * config/i386/rtems-64.h: Remove. From-SVN: r244655
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config.gcc2
-rw-r--r--gcc/config/i386/rtems-64.h30
3 files changed, 7 insertions, 31 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1ad88a0..5cdcfa8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,11 @@
2017-01-19 Uros Bizjak <ubizjak@gmail.com>
+ * config.gcc (x86_64-*-rtems*): Use i386/rtemself.h
+ instead of i386/rtems-64.h.
+ * config/i386/rtems-64.h: Remove.
+
+2017-01-19 Uros Bizjak <ubizjak@gmail.com>
+
PR target/78478
Revert:
2013-11-05 Uros Bizjak <ubizjak@gmail.com>
diff --git a/gcc/config.gcc b/gcc/config.gcc
index dd8c08c..c0969a1 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1447,7 +1447,7 @@ x86_64-*-elf*)
tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h i386/x86-64.h"
;;
x86_64-*-rtems*)
- tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h i386/x86-64.h i386/rtems-64.h"
+ tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h i386/x86-64.h i386/rtemself.h"
;;
i[34567]86-*-rdos*)
tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h i386/rdos.h"
diff --git a/gcc/config/i386/rtems-64.h b/gcc/config/i386/rtems-64.h
deleted file mode 100644
index e9faecd..0000000
--- a/gcc/config/i386/rtems-64.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/* Definitions for rtems targeting an x86_64
- Copyright (C) 2016-2017 Free Software Foundation, Inc.
- Contributed by Joel Sherrill (joel@OARcorp.com).
-
-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_define ("__USE_INIT_FINI__"); \
- builtin_assert ("system=rtems"); \
- } \
- while (0)