From: Joseph Myers Date: Fri, 19 Aug 2011 10:16:02 +0000 (+0100) Subject: opth-gen.awk: Do not declare target save/restore structures and functions if IN_RTS... X-Git-Tag: releases/gcc-4.7.0~4380 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f6d08ab2de237d9cc4ef1c6605b2d839ce0bfec7;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7c0c7b52be85..be47b95cb958 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-08-19 Joseph Myers + + * opth-gen.awk: Do not declare target save/restore structures and + functions if IN_RTS defined. + 2011-08-19 Matthew Gretton-Dann PR target/49437 diff --git a/gcc/opth-gen.awk b/gcc/opth-gen.awk index 2bae69533993..541bc3ea596e 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";