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

Mark E. snowball3@bigfoot.com
Thu Jul 20 12:59:00 GMT 2000
> : 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);
	    }
	}




More information about the Binutils mailing list