aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/objcopy.c5
2 files changed, 5 insertions, 5 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index ce3ac62..9433f3d 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@
+2015-10-15 Alan Modra <amodra@gmail.com>
+
+ * objcopy.c (copy_object): Don't omit bfd_copy_private_bfd_data
+ call when extract_symbol.
+
2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
* od-elf32_avr.c (elf32_avr_dump_avr_prop): Fix printing of align
diff --git a/binutils/objcopy.c b/binutils/objcopy.c
index 2cd55fd..324456a 100644
--- a/binutils/objcopy.c
+++ b/binutils/objcopy.c
@@ -2305,11 +2305,6 @@ copy_object (bfd *ibfd, bfd *obfd, const bfd_arch_info_type *input_arch)
}
}
- /* 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 TRUE;
-
/* Allow the BFD backend to copy any private data it understands
from the input BFD to the output BFD. This is done last to
permit the routine to look at the filtered symbol table, which is