aboutsummaryrefslogtreecommitdiff
path: root/binutils/objcopy.c
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/objcopy.c')
-rw-r--r--binutils/objcopy.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/binutils/objcopy.c b/binutils/objcopy.c
index eff90c5..70d118e 100644
--- a/binutils/objcopy.c
+++ b/binutils/objcopy.c
@@ -316,15 +316,7 @@ copy_object (ibfd, obfd)
if (set_start_set)
start = set_start;
else
- {
- /* As a special hack make it easier to generate a raw binary
- file, we default the starting address to zero for the binary
- output format. */
- if (strcmp (bfd_get_target (obfd), "binary") == 0)
- start = 0;
- else
- start = bfd_get_start_address (ibfd);
- }
+ start = bfd_get_start_address (ibfd);
start += adjust_start;
if (!bfd_set_start_address (obfd, start)