This is the mail archive of the binutils@sourceware.cygnus.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: PATCH for using both RELA and REL relocations in the samebackend


   From: Mark Mitchell <mark@codesourcery.com>
   Date: Tue, 01 Jun 1999 20:28:58 -0700

   @@ -3952,8 +3962,8 @@ swap_out_syms (abfd, sttp, relocatable_p
	   flagword flags = syms[idx]->flags;
	   int type;

   -	if (flags & BSF_SECTION_SYM)
   -	  /* Section symbols have no names.  */
   +	if ((flags & BSF_SECTION_SYM) && !syms[idx]->name)
   +	  /* Some section symbols have no names.  */
	     sym.st_name = 0;
	   else
	     {

By the way, this appears to be an unrelated patch.  I believe this
will change gas behaviour on GNU/Linux and Solaris and other systems.
I'm not sure this is a good idea.

Ian

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