aboutsummaryrefslogtreecommitdiff
path: root/binutils/objcopy.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-10-12 08:55:55 +0000
committerNick Clifton <nickc@redhat.com>2005-10-12 08:55:55 +0000
commit3ed30f54fcf7b4a58b2874b56e10cb945ca4d299 (patch)
treeae169f5d17c6e4f6f0bc3db2ee1dc986c6043610 /binutils/objcopy.c
parent60d11e55933d976901b573db7d8cf27d713049a0 (diff)
downloadfsf-binutils-gdb-3ed30f54fcf7b4a58b2874b56e10cb945ca4d299.zip
fsf-binutils-gdb-3ed30f54fcf7b4a58b2874b56e10cb945ca4d299.tar.gz
fsf-binutils-gdb-3ed30f54fcf7b4a58b2874b56e10cb945ca4d299.tar.bz2
Remove spurious checking of a potential, but untested patch.
Diffstat (limited to 'binutils/objcopy.c')
-rw-r--r--binutils/objcopy.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/binutils/objcopy.c b/binutils/objcopy.c
index de0746b..d46d093 100644
--- a/binutils/objcopy.c
+++ b/binutils/objcopy.c
@@ -1349,13 +1349,6 @@ copy_object (bfd *ibfd, bfd *obfd)
bfd_nonfatal (gnu_debuglink_filename);
return FALSE;
}
-
- if (bfd_get_flavour (obfd) == bfd_target_coff_flavour)
- /* Try to set the VMA of the section to some non-zero value so
- that it will work for PE format files. (We have no way to
- distinguish between COFF and PE flavours). If this does not
- work, just ignore the failure. */
- bfd_set_section_vma (obfd, gnu_debuglink_section, 0xf0000000);
}
if (bfd_count_sections (obfd) == 0)