Commit a0c6102d by Jack Howarth Committed by Nathan Sidwell

varasm.c (assemble_alias): Add error message for unsupported ifunc.

	* varasm.c (assemble_alias): Add error message for
	unsupported ifunc.

From-SVN: r164728
parent 48b3f0a0
2010-09-29 Jack Howarth <howarth@bromo.med.uc.edu>
* varasm.c (assemble_alias): Add error message for
unsupported ifunc.
2010-09-29 Mike Stump <mikestump@comcast.net>
* config/darwin.h (flag_mkernel): Remove.
......@@ -5542,6 +5542,10 @@ assemble_alias (tree decl, tree target)
# else
if (!DECL_WEAK (decl))
{
if (lookup_attribute ("ifunc", DECL_ATTRIBUTES (decl)))
error_at (DECL_SOURCE_LOCATION (decl),
"ifunc is not supported in this configuration");
else
error_at (DECL_SOURCE_LOCATION (decl),
"only weak aliases are supported in this configuration");
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment