mirror of git://gcc.gnu.org/git/gcc.git
varasm.c (assemble_alias): Add error message for unsupported ifunc.
* varasm.c (assemble_alias): Add error message for unsupported ifunc. From-SVN: r164728
This commit is contained in:
parent
48b3f0a0dc
commit
a0c6102d29
|
|
@ -1,3 +1,8 @@
|
||||||
|
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>
|
2010-09-29 Mike Stump <mikestump@comcast.net>
|
||||||
|
|
||||||
* config/darwin.h (flag_mkernel): Remove.
|
* config/darwin.h (flag_mkernel): Remove.
|
||||||
|
|
|
||||||
|
|
@ -5542,8 +5542,12 @@ assemble_alias (tree decl, tree target)
|
||||||
# else
|
# else
|
||||||
if (!DECL_WEAK (decl))
|
if (!DECL_WEAK (decl))
|
||||||
{
|
{
|
||||||
error_at (DECL_SOURCE_LOCATION (decl),
|
if (lookup_attribute ("ifunc", DECL_ATTRIBUTES (decl)))
|
||||||
"only weak aliases are supported in this configuration");
|
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;
|
return;
|
||||||
}
|
}
|
||||||
# endif
|
# endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue