OSDN Git Service

* lib/target-supports.exp (check_effective_target_static): New
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 25 Jul 2009 13:45:02 +0000 (13:45 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 25 Jul 2009 13:45:02 +0000 (13:45 +0000)
commitc8795808f87d264428a77fccd74ed95a482c7400
treeb128f10b07ee43b10c821597a326137ebbd9b386
parentbb982f6666cf2bf5e343ac9b910303a97019135c
* lib/target-supports.exp (check_effective_target_static): New
procedure.
* gcc.dg/special/gcsec-1.c (dg-options): Use -static only when
supported.
* g++.old-deja/g++.law/weak.C: Require static effective target.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150080 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.law/weak.C
gcc/testsuite/gcc.dg/special/gcsec-1.c
gcc/testsuite/lib/target-supports.exp