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
2 changed files with 11 additions and 2 deletions
|
@ -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>
|
||||
|
||||
* config/darwin.h (flag_mkernel): Remove.
|
||||
|
|
|
@ -5542,8 +5542,12 @@ assemble_alias (tree decl, tree target)
|
|||
# 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
|
||||
|
|
Loading…
Add table
Reference in a new issue