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
This commit is contained in:
Joseph Myers 2011-08-19 11:16:02 +01:00 committed by Joseph Myers
parent a3f9487098
commit f6d08ab2de
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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";