2010-01-28  Nathan Sidwell  <nathan@codesourcery.com>

	* objcopy (copy_object): Set SEC_LINKER_CREATED when adding
	sections.

Index: objcopy.c
===================================================================
RCS file: /cvs/src/src/binutils/objcopy.c,v
retrieving revision 1.141
diff -c -3 -p -r1.141 objcopy.c
*** objcopy.c	20 Jan 2010 00:09:13 -0000	1.141
--- objcopy.c	28 Jan 2010 16:59:13 -0000
*************** copy_object (bfd *ibfd, bfd *obfd, const
*** 1608,1614 ****
  	    }
  	  else
  	    {
! 	      padd->section = bfd_make_section_with_flags (obfd, padd->name, flags);
  	      if (padd->section == NULL)
  		{
  		  bfd_nonfatal_message (NULL, obfd, NULL,
--- 1608,1615 ----
  	    }
  	  else
  	    {
! 	      padd->section = bfd_make_section_with_flags
! 		(obfd, padd->name, flags | SEC_LINKER_CREATED);
  	      if (padd->section == NULL)
  		{
  		  bfd_nonfatal_message (NULL, obfd, NULL,
