OSDN Git Service

Do not give an error for __attribute__((weak)) on systems that do not support it.
authormeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Apr 1995 18:59:29 +0000 (18:59 +0000)
committermeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Apr 1995 18:59:29 +0000 (18:59 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9411 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/varasm.c

index 4ea82fc..cdda400 100644 (file)
@@ -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
 }