aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2011-08-19 11:16:02 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2011-08-19 11:16:02 +0100
commitf6d08ab2de237d9cc4ef1c6605b2d839ce0bfec7 (patch)
tree92bf0d0ee55d105535f91426460454718e29461f /gcc
parenta3f94870980063aac37a66443fa6a0a3b0f91706 (diff)
downloadgcc-f6d08ab2de237d9cc4ef1c6605b2d839ce0bfec7.zip
gcc-f6d08ab2de237d9cc4ef1c6605b2d839ce0bfec7.tar.gz
gcc-f6d08ab2de237d9cc4ef1c6605b2d839ce0bfec7.tar.bz2
opth-gen.awk: Do not declare target save/restore structures and functions if IN_RTS defined.
* opth-gen.awk: Do not declare target save/restore structures and functions if IN_RTS defined. From-SVN: r177894
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/opth-gen.awk2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7c0c7b5..be47b95 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2011-08-19 Joseph Myers <joseph@codesourcery.com>
+
+ * opth-gen.awk: Do not declare target save/restore structures and
+ functions if IN_RTS defined.
+
2011-08-19 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
PR target/49437
diff --git a/gcc/opth-gen.awk b/gcc/opth-gen.awk
index 2bae695..541bc3e 100644
--- a/gcc/opth-gen.awk
+++ b/gcc/opth-gen.awk
@@ -127,7 +127,7 @@ print ""
# Also, order the structure so that pointer fields occur first, then int
# fields, and then char fields to provide the best packing.
-print "#if !defined(IN_LIBGCC2) && !defined(IN_TARGET_LIBS)"
+print "#if !defined(IN_LIBGCC2) && !defined(IN_TARGET_LIBS) && !defined(IN_RTS)"
print ""
print "/* Structure to save/restore optimization and target specific options. */";
print "struct GTY(()) cl_optimization";