View | Details | Raw Unified | Return to bug 20995 | Differences between
and this patch

Collapse All | Expand All

(-)a/bfd/elf32-nios2.c (-3 / +3 lines)
Lines 6003-6015 nios2_elf32_size_dynamic_sections (bfd *output_bfd ATTRIBUTE_UNUSED, Link Here
6003
	      s->reloc_count = 0;
6003
	      s->reloc_count = 0;
6004
	    }
6004
	    }
6005
	}
6005
	}
6006
      else if (s == htab->root.sgot
6006
      else if (s == htab->root.sgotplt)
6007
	       || s == htab->root.sgotplt)
6008
	{
6007
	{
6009
	  if (s->size != 0)
6008
	  if (s->size != 0)
6010
	    got = TRUE;
6009
	    got = TRUE;
6011
	}
6010
	}
6012
      else if (s != htab->root.sdynbss
6011
      else if (s != htab->root.sgot
6012
	       && s != htab->root.sdynbss
6013
	       && s != htab->root.sdynrelro)
6013
	       && s != htab->root.sdynrelro)
6014
	/* It's not one of our sections, so don't allocate space.  */
6014
	/* It's not one of our sections, so don't allocate space.  */
6015
	continue;
6015
	continue;

Return to bug 20995