From: Michael Meissner Date: Tue, 18 Apr 1995 18:59:29 +0000 (+0000) Subject: Do not give an error for __attribute__((weak)) on systems that do not support it. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7b83cfef6d24a23122a20ab7b0d892913cf9baaf;p=gcc.git Do not give an error for __attribute__((weak)) on systems that do not support it. From-SVN: r9411 --- diff --git a/gcc/varasm.c b/gcc/varasm.c index 4ea82fcb593..cdda400ad65 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -3973,9 +3973,6 @@ declare_weak (decl) handle_pragma_weak (ps_name, IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl)), NULL_PTR); - -#else - error ("weak declarations are not supported in this configuration"); #endif }