This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [EFifer@sanwaint.com: RE: binutils prerelease available for testing (feedback needed)]


> : 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);
	    }
	}



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]