This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [EFifer@sanwaint.com: RE: binutils prerelease available for testing (feedback needed)]
- To: binutils at sources dot redhat dot com, dj at delorie dot com
- Subject: Re: [EFifer@sanwaint.com: RE: binutils prerelease available for testing (feedback needed)]
- From: "Mark E." <snowball3 at bigfoot dot com>
- Date: Thu, 20 Jul 2000 15:58:40 -0400
> : Danny Smith wrote:
> : >But, rebuilding binutils-000718 after reverting the changes made to
> : >gas/config/obj_coff.c
> : >(http://sources.redhat.com/ml/binutils/2000-07/msg00226.html) back to
> : >binutils-000717 version, I can successfully build and link against dlls,
> : >using either dllwrap or gcc -shared.
> :
> : Yes, rebuilding binutils-20000718-1 with the patch you mention
> : reversed out, clears up the problems I'm seeing.
Interesting. Most of the changes go along with what's already being done in
the BFD version in obj_coff_endef . The first culprit I'd look would be this
change:
if (S_GET_STORAGE_CLASS (symp) == C_NULL)
{
if (!S_IS_DEFINED (symp) && !SF_GET_LOCAL (symp))
{
assert (S_GET_VALUE (symp) == 0);
S_SET_EXTERNAL (symp);
}
else if (S_GET_SEGMENT (symp) == text_section
&& symp != seg_info (text_section)->sym)
{
S_SET_STORAGE_CLASS (symp, C_LABEL);
}
else
{
S_SET_STORAGE_CLASS (symp, C_STAT);
}
}