| Submitter | Jack Howarth |
|---|---|
| Date | Sept. 23, 2010, 9:22 p.m. |
| Message ID | <20100923212223.GA32472@bromo.med.uc.edu> |
| Download | mbox | patch |
| Permalink | /patch/65600/ |
| State | New |
| Headers | show |
Comments
Patch
Index: gcc/varasm.c =================================================================== --- gcc/varasm.c (revision 164570) +++ gcc/varasm.c (working copy) @@ -5535,7 +5535,11 @@ # else if (!DECL_WEAK (decl)) { - error_at (DECL_SOURCE_LOCATION (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; }