aboutsummaryrefslogtreecommitdiff
path: root/binutils/objcopy.c
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@bitrange.com>2015-10-22 16:12:35 +0200
committerHans-Peter Nilsson <hp@bitrange.com>2015-10-22 16:12:35 +0200
commit64e59d8e11a3b7a99a786c768a2817dc2c636af0 (patch)
treec4e760adda158b8ab5511ac93379a6195409ea79 /binutils/objcopy.c
parent60905b1e2a5fbd734bfd026cd77b9641cc5f3e66 (diff)
downloadgdb-64e59d8e11a3b7a99a786c768a2817dc2c636af0.zip
gdb-64e59d8e11a3b7a99a786c768a2817dc2c636af0.tar.gz
gdb-64e59d8e11a3b7a99a786c768a2817dc2c636af0.tar.bz2
binutils/objcopy.c (setup_section): missing extract_symbol part
* objcopy.c (setup_section): Don't omit bfd_copy_private_bfd_data call when extract_symbol.
Diffstat (limited to 'binutils/objcopy.c')
-rw-r--r--binutils/objcopy.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/binutils/objcopy.c b/binutils/objcopy.c
index 6f0f62a..0ff8525 100644
--- a/binutils/objcopy.c
+++ b/binutils/objcopy.c
@@ -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);