binutils/objcopy.c (setup_section): missing extract_symbol part
authorHans-Peter Nilsson <hp@bitrange.com>
Thu, 22 Oct 2015 14:12:35 +0000 (16:12 +0200)
committerHans-Peter Nilsson <hp@bitrange.com>
Thu, 22 Oct 2015 14:12:35 +0000 (16:12 +0200)
* objcopy.c (setup_section): Don't omit bfd_copy_private_bfd_data
call when extract_symbol.

binutils/ChangeLog
binutils/objcopy.c

index f8fa8b6b82b45badd955c1e6f189957bb3f91813..5cf05cc1bc2f4663b25cf5e2acf498c62359f116 100644 (file)
@@ -1,3 +1,8 @@
+2015-10-22  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * objcopy.c (setup_section): Don't omit bfd_copy_private_bfd_data
+       call when extract_symbol.
+
 2015-10-21  Ronald Hoogenboom  <rhoogenboom@irdeto.com>
 
        PR binutils/19104
index 6f0f62a0f9f21152750b8c8e7b981508358d388b..0ff85251e59da6045d870ca01981008c8e333bb8 100644 (file)
@@ -3089,11 +3089,6 @@ setup_section (bfd *ibfd, sec_ptr isection, void *obfdarg)
   isection->output_section = osection;
   isection->output_offset = 0;
 
-  /* Do not copy backend data if --extract-symbol is passed; anything
-     that needs to look at the section contents will fail.  */
-  if (extract_symbol)
-    return;
-
   if ((isection->flags & SEC_GROUP) != 0)
     {
       asymbol *gsym = group_signature (isection);
This page took 0.027772 seconds and 4 git commands to generate.