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'
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Richard Henderson <rth at redhat dot com>, Andrew Cagney <cagney at mac dot com>, Alan Modra <amodra at bigpond dot net dot au>, gcc-patches at gcc dot gnu dot org
- Date: Wed, 06 Mar 2002 18:09:36 -0500
- Subject: Re: f build dies with: undefined reference to `lookup_name'
>>>>> Richard Henderson writes:
Richard> On Wed, Mar 06, 2002 at 05:39:05PM -0500, David Edelsohn wrote:
>> That means weak_decls now needs to be global, but it is defined in
>> varasm.c so we will not have any undefined symbols.
Richard> No, the *entire* processing of #pragma weak should be moved.
I don't mean move everything. weak_finish walks weak_decls list.
We now need to walk the list outside varasm.c which means that the list
head cannot be static.
David