unsupported ifunc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164728
138bc75d-0d04-0410-961f-
82ee72b054a4
+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.
# else
if (!DECL_WEAK (decl))
{
- error_at (DECL_SOURCE_LOCATION (decl),
- "only weak aliases are supported in this configuration");
+ 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;
}
# endif