# DP: Fix objcopy --only-keep-debug, taken from the trunk (
7c4643efe7b)
# DP: Fix objcopy --only-keep-debug, taken from the trunk (
7c4643efe7b)
Gbp-Pq: Name
7c4643efe7b.diff
goto loser;
}
- if (make_nobits)
- elf_section_type (osection) = SHT_NOBITS;
-
size = bfd_section_size (isection);
size = bfd_convert_section_size (ibfd, isection, obfd, size);
if (copy_byte >= 0)
goto loser;
}
+ if (make_nobits)
+ elf_section_type (osection) = SHT_NOBITS;
+
/* All went well. */
return;