|| discard_locals == locals_all))
|| discard_locals == locals_all || convert_debugging))
copy_section (ibfd, isection, obfdarg)     bfd *ibfd;     sec_ptr isection;     PTR obfdarg;{  bfd *obfd = (bfd *) obfdarg;  struct section_list *p;  arelent **relpp;  long relcount;  sec_ptr osection;  bfd_size_type size;  if ((bfd_get_section_flags (ibfd, isection) & SEC_DEBUGGING) != 0      && (strip_symbols == strip_debug	  || strip_symbols == strip_unneeded	  || strip_symbols == strip_all	  || discard_locals == locals_all))    {      return;    }  p = find_section_list (bfd_section_name (ibfd, isection), false);  if (p != NULL && p->remove)    return;  osection = isection->output_section;  size = bfd_get_section_size_before_reloc (isection);  if (size == 0 || osection == 0)    return;  if (strip_symbols == strip_all)    bfd_set_reloc (obfd, osection, (arelent **) NULL, 0);  else    {      long relsize;      relsize = bfd_get_reloc_upper_bound (ibfd, isection);      if (relsize < 0)	{	  nonfatal (bfd_get_filename (ibfd));	}      if (relsize == 0)	bfd_set_reloc (obfd, osection, (arelent **) NULL, 0);      else	{	  relpp = (arelent **) xmalloc (relsize);	  relcount = bfd_canonicalize_reloc (ibfd, isection, relpp, isympp);	  if (relcount < 0)	    {	      nonfatal (bfd_get_filename (ibfd));	    }	  bfd_set_reloc (obfd, osection, relpp, relcount);	}    }  isection->_cooked_size = isection->_raw_size;  isection->reloc_done = true;  if (bfd_get_section_flags (ibfd, isection) & SEC_HAS_CONTENTS)    {      PTR memhunk = (PTR) xmalloc ((unsigned) size);      if (!bfd_get_section_contents (ibfd, isection, memhunk, (file_ptr) 0,				     size))	{	  nonfatal (bfd_get_filename (ibfd));	}      if (copy_byte >= 0)         {	  filter_bytes (memhunk, &size);              /* The section has gotten smaller. */          if (!bfd_set_section_size (obfd, osection, size))            nonfatal (bfd_get_filename (obfd));        }      if (!bfd_set_section_contents (obfd, osection, memhunk, (file_ptr) 0,				     size))	{	  nonfatal (bfd_get_filename (obfd));	}      free (memhunk);    }}