aboutsummaryrefslogtreecommitdiff
path: root/binutils/objcopy.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-10-19 18:11:10 +0000
committerIan Lance Taylor <ian@airs.com>1994-10-19 18:11:10 +0000
commita6afc0907186cf94ec6054d8c210727a3b4733af (patch)
tree12aad07a8e0d994e27879eaa915353598b6a1f70 /binutils/objcopy.c
parent8b65c39307d9bb1253026402430389761ea09302 (diff)
downloadgdb-a6afc0907186cf94ec6054d8c210727a3b4733af.zip
gdb-a6afc0907186cf94ec6054d8c210727a3b4733af.tar.gz
gdb-a6afc0907186cf94ec6054d8c210727a3b4733af.tar.bz2
* objcopy.c (copy_object): Revert yesterday's change.
* binutils.texi, objcopy.1: Remove special mention of --set-start and `binary' output format.
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)