diff options
author | Ian Lance Taylor <ian@airs.com> | 1994-10-19 18:11:10 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1994-10-19 18:11:10 +0000 |
commit | a6afc0907186cf94ec6054d8c210727a3b4733af (patch) | |
tree | 12aad07a8e0d994e27879eaa915353598b6a1f70 /binutils/objcopy.c | |
parent | 8b65c39307d9bb1253026402430389761ea09302 (diff) | |
download | gdb-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.c | 10 |
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) |