This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: f build dies with: undefined reference to `lookup_name'
> gcc/ChangeLog
> * c-decl.c (pushdecl): Call decl_pending_weak.
> * output.h (decl_pending_weak): Declare.
> * varasm.c (weak_decls_tail): New.
> (add_weak): Manipulate weak_decls_tail.
> (decl_pending_weak): New.
> (weak_finish): Don't lookup_name here.
> (remove_from_pending_weak_list): Fix up weak_decls_tail. Don't
> strcmp identifiers.
> * c-pragma.c (handle_pragma_weak): Try to find a decl for value.
> Check value != name.
How is this patch going?
Andrew